No description
- Python 59.1%
- Go Template 35.6%
- Dockerfile 5.3%
|
|
||
|---|---|---|
| .forgejo/workflows | ||
| text2img | ||
| .gitignore | ||
| Dockerfile | ||
| main.py | ||
| Readme.md | ||
| renovate.json | ||
| requirements.txt | ||
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
}