Example inputPOST /api/v1/x402/image-ocr
{
"image_base64": "<base64 PNG up to 6 MiB decoded>",
"max_chars": 200000,
"psm": 6
}
Portable intent card · image
Extract English machine-printed text from one caller-supplied PNG, JPEG, or WebP for $0.01 with confidence and SHA-256 receipt—no URL fetch, storage or paid vision provider.
Intent to transaction
The source header follows this discovery route through challenge, payment and delivery without exposing the buyer or request body.
npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/image-ocr -m POST -H 'x-delx-source: intent-card-image-ocr-api' --max-amount 0.01 -b '{"image_base64":"<base64 PNG up to 6 MiB decoded>","max_chars":200000,"psm":6}'
{
"image_base64": "<base64 PNG up to 6 MiB decoded>",
"max_chars": 200000,
"psm": 6
}
{
"intent": "extract text from an image for an agent",
"tool_name": "extract_image_text",
"price_usdc": "0.01",
"machine_url": "https://commerce.delx.ai/intents/image-ocr-api.json"
}
Portable and inspectable