Read text out of an image, or write alt text and captions for it.
describe_image
aiAI
Vision models are the priciest option here — roughly 100+ neurons per image.
A vision model with four presets:
Pair it with screenshot to let an agent "look at" a page it cannot parse, or with
task: "ocr" to pull text out of scans and diagrams.
| Parameter | Type | Default | Description |
|---|---|---|---|
| url | string | — | Image URL (PNG, JPEG, WebP or GIF). |
| imageBase64 | string | — | Base64-encoded image bytes (data: URLs accepted). |
| task | `describe` | `ocr` | `alt-text` | `caption` | "describe" |
What to produce. |
| prompt | string | — | Custom instruction. Overrides task. |
| maxTokens | integer | 512 |
Response length cap. |
The model's text output.
| Parameter | Type | Default | Description |
|---|---|---|---|
| text | string | — | Result. |
| task | string | — | Task that was run. |
| model | string | — | Model used. |