No description
  • Python 59.1%
  • Go Template 35.6%
  • Dockerfile 5.3%
Find a file
Jonas Leder 0cad2fb77c
All checks were successful
CI / docker (push) Successful in 0s
CI / helm (push) Successful in 0s
CI / build (push) Successful in 32s
Port CI to Forgejo Actions
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-18 10:43:54 +01:00
.forgejo/workflows Port CI to Forgejo Actions 2026-11-18 10:43:54 +01:00
text2img fiy renovate bot scanning 2023-06-18 12:03:03 +02:00
.gitignore Ignore pycache 2023-06-17 19:16:28 +02:00
Dockerfile Update python Docker tag to v3.15.1 2026-10-22 22:21:52 +00:00
main.py add option to pass arguments in get request 2023-06-17 22:05:05 +02:00
Readme.md Add Readme 2023-06-17 19:22:47 +02:00
renovate.json Add renovate.json 2023-06-17 18:01:09 +00:00
requirements.txt initial commit 2023-06-17 19:15:55 +02:00

Text 2 Image

This is a simple API endpoint for generating Images from the provided text. It's special optimized to work with OpenEPaperLink.

Example POST Body

{
    "text": [
        {
            "text": "Hello World",
            "color": 1 // 0 = white, 1 = black, 2 = red
        },
        {
            "text": "Hello World",
            "color": 2 // 0 = white, 1 = black, 2 = red
        }
    ],
    "fontSize": 12,
    "width": 296,
    "height": 128
}