text2image
# text2image API that takes a string and converts it to an image of the text like in an ebook. Returns image as an array buffer. **NOTE: This API does not create AI art.** It simply puts text on the image with the style you specify. ## Routes - ```/api/get-pages```: returns the total number of pages given the data sent in the request. - ```/api/converter```: returns a JSON object with the…
text2image endpoints
| Method | Endpoint | Description |
|---|---|---|
| GET |
Convert Text to Image /api/converter |
## Required Queries - fileType: "png" or "jpeg" - textType: "plainText" or "lz-string" - If necessary, you can use lz encoding (ex. `lz-string` npm library) to encode text to… |
| GET |
Calculate Number of Images /api/page-count |
Returns an object containing information about the number of pages with the supplied image properties. Also returns total lines per page and an array with the text split into… |
text2image pricing
| Plan | Price | Rate limit | Quotas |
|---|---|---|---|
| BASIC | Free | 6 / minute |
|
| PRO | $10 / month | 6 / minute |
|
| ULTRA | $20 / month | 10 / minute |
|
| MEGA | $90 / month | 15 / minute |
|