describe_image
Generate a text description of an image by providing a local file path or HTTP URL. Cloudflare Workers AI analyzes the image and returns a textual summary.
Instructions
Generate a text description of an image using a Cloudflare Workers AI image-to-text model.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"image": "<image>"
},
"name": "describe_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image | Yes | Local file path or HTTP(S) URL of the image to describe | |
| model | No | Model alias or full @cf/... id | |
| prompt | No | Instruction, e.g. "How many cats are in this image?" | |
| max_tokens | No | Response length cap | |
| temperature | No | Sampling temperature |