A thumbnail service — we deliver fast, edge-cached preview images for stock-photo sites and render images on the fly from text.
The docs below cover the /bytext route, which renders an image from arbitrary text.
/bytext?text=<your text>&w=600&h=400&bg=cccccc&fg=333333&size=48
| Parameter | Default | Description |
|---|---|---|
text | (required) | Text content. URL-encoded. Use %0A for line breaks. |
w | 600 | Width in pixels (1–4000). |
h | 400 | Height in pixels (1–4000). |
bg | cccccc | Background color — hex 3/6/8 chars, with or without #. |
fg | 333333 | Text color — hex. |
size | auto | Font size in px. Leave blank to auto-fit to the canvas. |
/bytext?text=Hello%20World?text=Custom%20size&w=400&h=200&bg=222&fg=fff&size=56?text=Line%201%0ALine%202%0ALine%203 (multi-line)image/svg+xml — works with <img>, background-image, etc.system-ui — rendered with the viewer's system font.