Example inputPOST /api/v1/x402/colorize-photo
{
"image_base64": "<opaque base64 PNG/JPEG/WebP>"
}
Portable intent card · image
Colorize one opaque grayscale still for $0.01 and receive a bounded PNG plus 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/colorize-photo -m POST -H 'x-delx-source: intent-card-photo-colorization-api' --max-amount 0.01 -b '{"image_base64":"<opaque base64 PNG/JPEG/WebP>"}'
{
"image_base64": "<opaque base64 PNG/JPEG/WebP>"
}
{
"intent": "colorize a black and white photo",
"tool_name": "colorize_photo",
"price_usdc": "0.01",
"machine_url": "https://commerce.delx.ai/intents/photo-colorization-api.json"
}
Portable and inspectable