Example inputPOST /api/v1/x402/replace-background
{
"image_base64": "<base64 still>",
"fill": "#112233"
}
Portable intent card · image
Replace one bounded image background with studio gray or #RRGGBB for $0.003 and receive an opaque PNG plus 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/replace-background -m POST -H 'x-delx-source: intent-card-background-replacement-api' --max-amount 0.003 -b '{"image_base64":"<base64 still>","fill":"#112233"}'
{
"image_base64": "<base64 still>",
"fill": "#112233"
}
{
"intent": "replace a product image background with studio gray or a solid color",
"tool_name": "replace_background",
"price_usdc": "0.003",
"machine_url": "https://commerce.delx.ai/intents/background-replacement-api.json"
}
Portable and inspectable