{
  "format": "delx/intent-card/v1",
  "id": "remove-background-api",
  "intent": "Background Removal for Agents for an agent workflow",
  "title": "Background Removal for Agents API for agents",
  "description": "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.",
  "keywords": [
    "Background Removal for Agents API",
    "Background Removal for Agents for agents",
    "pay per result API",
    "x402 API",
    "no API key"
  ],
  "updated_at": "2026-08-23",
  "canonical_url": "https://commerce.delx.ai/intents/remove-background-api",
  "machine_url": "https://commerce.delx.ai/intents/remove-background-api.json",
  "recommendation": {
    "tool_name": "remove_background",
    "service_name": "Background Removal for Agents",
    "method": "POST",
    "resource": "https://api.delx.ai/api/v1/x402/remove-background",
    "price_usdc": "0.002",
    "payment_protocols": [
      "x402",
      "mpp"
    ],
    "input_schema": {
      "type": "object",
      "properties": {
        "image_base64": {
          "type": "string",
          "minLength": 1,
          "maxLength": 349550,
          "description": "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."
        }
      },
      "required": [
        "image_base64"
      ],
      "additionalProperties": false
    },
    "example_input": {
      "image_base64": "\u003cbase64 PNG/JPEG/WebP up to 256 KiB decoded>"
    },
    "example_output": {
      "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
    },
    "agentcash": {
      "buy": "npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/remove-background -m POST -H 'x-delx-source: intent-card-remove-background-api' --max-amount 0.002 -b '{\"image_base64\":\"\u003cbase64 PNG/JPEG/WebP up to 256 KiB decoded>\"}'",
      "max_amount_usdc": "0.002"
    }
  },
  "attribution": {
    "header": "x-delx-source",
    "value": "intent-card-remove-background-api"
  },
  "evidence": {
    "paid_openapi": "https://api.delx.ai/openapi.x402.json",
    "governed_portfolio": "https://api.delx.ai/x402-portfolio.json",
    "live_contract": "https://api.delx.ai/api/v1/x402/remove-background"
  }
}
