ai_vision_analyze
Inspects an image via multimodal vision AI to perform OCR, chart/table extraction, UI inspection, or visual Q&A from either a public image_url or base64 image_base64. Use for understanding existing images; use gpu_flux_image to generate new images from text or gpu_audio_transcribe for audio files. Read-only, stateless; costs $0.040 Base USDC via x402 (unpaid calls return a v2 quote challenge without charging; invalid inputs return 400 uncharged).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "ai_vision_analyze"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | No | Specific OCR, extraction, or visual analysis instruction (defaults to a comprehensive structured description). | |
| image_url | No | Public HTTP/HTTPS URL of the image to analyze. Provide either 'image_url' or 'image_base64'. | |
| mime_type | No | MIME type of 'image_base64' when not supplied as a data URI (e.g. 'image/png', 'image/jpeg', 'image/webp'). | image/png |
| max_tokens | No | Maximum response tokens (32-1200, default 700). | |
| image_base64 | No | Raw base64-encoded image bytes or data URI. Provide either 'image_base64' or 'image_url'. |