DELXCOMMERCE Live contract

AI media generation · image

Background Removal for Agents

Remove an image background for $0.002 USDC. Send one bounded base64 PNG, JPEG, or WebP; get a durable transparent PNG and SHA-256 receipt. No API key, subscription, URL fetch, or retained input.

x402background-removalremove-backgroundtransparent-pngimage-cutoutproduct-photoavatar

One-command purchase

Run it from an agent.

No account or API key. AgentCash reads the 402 challenge, pays no more than the declared cap, retries the request and returns the result.

npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/remove-background -m POST -H 'x-delx-source: product-page' --max-amount 0.002 -b '{"image_base64":"<base64 PNG/JPEG/WebP up to 256 KiB decoded>"}'
InputPOST /api/v1/x402/remove-background
{
  "image_base64": "<base64 PNG/JPEG/WebP up to 256 KiB decoded>"
}
Delivered resultapplication/json
{
  "generation_id": "4f7302e27fef42fc9164a3af6c3f5661",
  "image_url": "https://api.delx.ai/api/v1/generated-background-removals/4f7302e27fef42fc9164a3af6c3f5661.png",
  "provider": "replicate",
  "model": "851-labs/background-remover",
  "provider_prediction_id": "bg-example-prediction",
  "media_type": "image/png",
  "width": 1024,
  "height": 1024,
  "has_transparency": true,
  "bytes": 182421,
  "sha256": "2d6c7c2b3f3c8e1e7b0d3a5b6e7f8a9b1234567890abcdef1234567890abcdef",
  "input_sha256": "34a8815e9c57e321194d50f2ea8b64394019fb8038c9aefd7a9a306a5030fc31",
  "upstream_cost_usd": 0.00051,
  "sale_price_usdc": 0.002,
  "gross_margin_usd": 0.00149
}

Machine-readable evidence

Inspect before paying.