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
Bounded resize/convert of one base64 image for $0.001—durable artifact + SHA-256; no URL fetch or 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