{"uid":"cap_jMd3GKzQ7yiHIaLuzH-Vv","slug":"delx-commerce-remove-background-26c9ff9c","name":"Delx Commerce — Remove Background","description":"Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.","url":"https://commerce.delx.ai/api/v1/x402/remove-background?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"image_base64":{"type":"string","maxLength":349550,"minLength":1,"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."}}},"responseSchema":{"type":"json","example":{"bytes":182421,"model":"851-labs/background-remover","width":1024,"height":1024,"sha256":"2d6c7c2b3f3c8e1e7b0d3a5b6e7f8a9b1234567890abcdef1234567890abcdef","provider":"replicate","image_url":"https://api.delx.ai/api/v1/generated-background-removals/4f7302e27fef42fc9164a3af6c3f5661.png","media_type":"image/png","input_sha256":"34a8815e9c57e321194d50f2ea8b64394019fb8038c9aefd7a9a306a5030fc31","generation_id":"4f7302e27fef42fc9164a3af6c3f5661","sale_price_usdc":0.002,"gross_margin_usd":0.00149,"has_transparency":true,"upstream_cost_usd":0.00051,"provider_prediction_id":"bg-example-prediction"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_lCNxs2uc420bsMLMBD04N","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Removes the background from an image, returning a transparent PNG with verifiable delivery, paid per-result in USDC via x402.","exampleAgentPrompt":"Can you remove the background from this product photo and give me a transparent PNG? Here's the image in base64: [base64 string].","exampleUseCases":[{"title":"E-commerce product photo cleanup","prompt":"I have a product photo I need to use on my Shopify store — can you remove the background and give me back a transparent PNG so I can put it on a white or colored background?"},{"title":"Portrait cutout for headshot","prompt":"Take this headshot of mine and remove the background so I just have myself on a transparent background — I want to drop it into a presentation slide."},{"title":"Automated batch creative asset prep","prompt":"I'm building a pipeline that processes user-uploaded clothing images — can you strip the background from this shirt photo so I have a clean cutout for the catalog?"}],"resultDescription":"A JSON object containing the URL of the processed transparent PNG, its SHA-256 hash for verification, image dimensions (width/height), byte size, the model used (851-labs/background-remover via Replicate), generation ID, input SHA-256, media type (image/png), whether transparency is present, the sale price in USDC, and upstream cost details.","failureModes":["Image exceeds 256 KiB decoded size — rejected with validation error","Invalid base64 encoding or unsupported format (not PNG/JPEG/WebP) — rejected","Image URL or file path submitted instead of base64 — explicitly rejected","Payment failure via x402 — transaction not completed, no result returned","Upstream Replicate provider timeout or error — delivery fails"],"whenToPreferThis":"Choose this endpoint when you need pay-per-result background removal with no signup, verifiable delivery (SHA-256 hash), and crypto micropayment settlement (USDC on Base or Solana via x402). Ideal for AI agent pipelines that require trustless, per-call billing and cryptographic proof of delivery rather than subscription-based image APIs.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T01:11:03.080Z","isFirstParty":false,"canonicalSlug":"delx-commerce-remove-background-26c9ff9c"}