Example inputPOST /api/v1/x402/caption-image
{
"image_base64": "<base64 PNG/JPEG/WebP up to 256 KiB decoded>"
}
Portable intent card · image
Caption one bounded PNG, JPEG, or WebP for $0.005 with one-sentence text and a SHA-256 delivery receipt.
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/caption-image -m POST -H 'x-delx-source: intent-card-image-caption-api' --max-amount 0.005 -b '{"image_base64":"<base64 PNG/JPEG/WebP up to 256 KiB decoded>"}'
{
"image_base64": "<base64 PNG/JPEG/WebP up to 256 KiB decoded>"
}
{
"intent": "caption a still image for alt text",
"tool_name": "caption_image",
"price_usdc": "0.005",
"machine_url": "https://commerce.delx.ai/intents/image-caption-api.json"
}
Portable and inspectable