Describe an image
What a picture shows and the text on it, with alt text.
Send an image and your agent gets a short description of it. It also gets all the text on the image and alt text for a web page. You can ask a question about the image too, like when a shop on a poster is open.
Paste this into your AI agent
Set up Chab for me: fetch https://www.chab.ai/agent-setup.md?v=497c0f and follow it. Then use Chab to look at this photo and write alt text for my website: https://upload.wikimedia.org/wikipedia/commons/4/45/A_small_cup_of_coffee.JPG
Your agent connects Chab and then runs it. Price: About 1 credit per image. The free credits cover a first try. How it works in each app
- Returns
- JSON result
- REST endpoint
POST /v1/images/describe- Over MCP
- Call
chab_operation_startwith"images.describe"
What you get
Example request
{ "image": { "type": "url", "url": "https://upload.wikimedia.org/wikipedia/commons/4/45/A_small_cup_of_coffee.JPG" }}Example result
{ "data": { "result": { "source": { "type": "url", "url": "https://upload.wikimedia.org/wikipedia/commons/4/45/A_small_cup_of_coffee.JPG", "filename": "A_small_cup_of_coffee.JPG", "format": "jpeg", "byte_size": 401623 }, "width": 1600, "height": 1200, "language": "en", "description": "A white ceramic cup filled with dark coffee sits on a matching saucer. A silver spoon rests on the saucer to the left of the cup. The setting appears to be a dark, possibly wooden table. The overall image is simple and focuses on the coffee and its accompaniments.", "alt_text": "A white cup of black coffee with a spoon on a saucer, set on a dark surface.", "text": "", "objects": ["cup", "coffee", "saucer", "spoon", "table"], "answer": null, "usage": { "input_tokens": 452, "output_tokens": 138 } }, "artifacts": [], "warnings": [], "result_expires_at": "2026-11-19T14:39:32+00:00" }, "meta": { "request_id": "req_123" }}Inputs
| Field | Type | Details |
|---|---|---|
imagerequired | object | The image to describe: an uploaded file (file_id), a reusable artifact (artifact_id) or a public https URL (url). PNG, JPEG, WebP or HEIC. |
image.typerequired | string | One of file_id, artifact_id, url |
image.id | string | The fil_ or art_ id, with type file_id or artifact_id.Up to 64 characters |
image.url | string | A public https URL of the image, with type url. Chab downloads it (up to your plan's upload size) and checks it for viruses like an upload.Up to 2048 characters |
prompt | string | Optional question about the image or what to look at, such as "When is the shop open?". The answer is in answer.Up to 2000 characters |
language | string | The language of the description, the alt text and the answer (ISO 639-1, such as en or de). Text in the image is always given as written.Default "en" |
How to call it
AI apps use it through hosted MCP. Coding agents can also use the CLI, and your own code can call the API. Each call starts a job, and your agent picks up the result when it is ready.
curl -X POST https://www.chab.ai/v1/images/describe \ -H "Authorization: Bearer CHAB_API_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: images-describe-001" \ -d '{"image":{"type":"url","url":"https://upload.wikimedia.org/wikipedia/commons/4/45/A_small_cup_of_coffee.JPG"}}'Describe an image result
{ "data": { "result": { "source": { "type": "url", "url": "https://upload.wikimedia.org/wikipedia/commons/4/45/A_small_cup_of_coffee.JPG", "filename": "A_small_cup_of_coffee.JPG", "format": "jpeg", "byte_size": 401623 }, "width": 1600, "height": 1200, "language": "en", "description": "A white ceramic cup filled with dark coffee sits on a matching saucer. A silver spoon rests on the saucer to the left of the cup. The setting appears to be a dark, possibly wooden table. The overall image is simple and focuses on the coffee and its accompaniments.", "alt_text": "A white cup of black coffee with a spoon on a saucer, set on a dark surface.", "text": "", "objects": ["cup", "coffee", "saucer", "spoon", "table"], "answer": null, "usage": { "input_tokens": 452, "output_tokens": 138 } }, "artifacts": [], "warnings": [], "result_expires_at": "2026-11-19T14:39:32+00:00" }, "meta": { "request_id": "req_123" }}Price: About 1 credit per image. See all prices
Want to try Chab with your agent?
Copy the prompt and paste it into your AI. Your agent starts with free credits and doesn't need an account.