x402
utility

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.

post/api/v1/x402/remove-background

Request

  • Base URL: https://api.delx.ai
  • URL: https://api.delx.ai/api/v1/x402/remove-background
  • Auth: none declared

Request body

image_base64string required

One base64-encoded PNG, JPEG, or WebP image up to 256 KiB decoded; image/* data-URI prefixes are accepted. URLs and file paths are rejected.

Response

Paid utility result. Downstream tool errors are returned as structured result payloads with HTTP 200 after payment succeeds.

generation_idstring required
image_urlstring uri required
provider'replicate' required
model'851-labs/background-remover' required
provider_prediction_idstring nullable
media_type'image/png' required
widthinteger required
heightinteger required
has_transparencytrue required
bytesinteger required
sha256string required
input_sha256string
upstream_cost_usdnumber required
sale_price_usdc0.002 required
gross_margin_usdnumber required

Changes

No recorded changes to this operation across all 1 revision of this API.