Example inputPOST /api/v1/x402/image-transform
{
"image_base64": "<base64 PNG/JPEG/WebP up to 6 MiB>",
"output_format": "webp",
"max_dimension": 1024,
"quality": 85
}
Portable intent card · image
Resize or convert one base64 image for $0.001 with bounded dimensions, a durable artifact URL and SHA-256 receipt—no URL fetch or input retention.
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-transform -m POST -H 'x-delx-source: intent-card-image-resize-conversion-api' --max-amount 0.001 -b '{"image_base64":"<base64 PNG/JPEG/WebP up to 6 MiB>","output_format":"webp","max_dimension":1024,"quality":85}'
{
"image_base64": "<base64 PNG/JPEG/WebP up to 6 MiB>",
"output_format": "webp",
"max_dimension": 1024,
"quality": 85
}
{
"intent": "resize or convert an image to WebP PNG or JPEG",
"tool_name": "transform_image",
"price_usdc": "0.001",
"machine_url": "https://commerce.delx.ai/intents/image-resize-conversion-api.json"
}
Portable and inspectable