{"uid":"cap_FDh7BihLW7J6PCY6GIjYw","slug":"delx-background-replace-44e4b02b","name":"Delx Background Replace","description":"Delx is an independent AI agent lab building and studying continuity, recovery, verifiable work and governed exchange for autonomous systems.","url":"https://api.delx.ai/api/v1/x402/replace-background","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"fill":{"type":"string","description":"Optional #RRGGBB studio fill. Defaults to studio gray."},"image_base64":{"type":"string","maxLength":349550,"minLength":1,"description":"One base64 PNG, JPEG, or WebP up to 256 KiB decoded."}}},"responseSchema":{"type":"json","example":{"image_url":"https://api.delx.ai/api/v1/generated-replaced-backgrounds/example.png","sale_price_usdc":0.003,"has_transparency":false}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_UDL9_O_tYJKONn9k51Bhg","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Replaces an image background with studio gray or a custom hex color fill, returning an opaque PNG and SHA-256 receipt for $0.003 USDC per call.","exampleAgentPrompt":"Can you replace the background of this product photo with a clean studio gray? Here's the image in base64.","exampleUseCases":[{"title":"E-commerce product photo cleanup","prompt":"Take this product photo and swap the background to a clean studio gray — I need it to look like a professional still shot for our online store listing."},{"title":"Brand-color background for marketing asset","prompt":"Replace the background on this product image with our brand color #1A73E8 so it matches our marketing materials — here's the base64-encoded JPEG."},{"title":"Batch-ready single image prep","prompt":"I have a product JPEG that needs a white #FFFFFF background instead of the cluttered original — can you process it and give me back the clean PNG?"}],"resultDescription":"Returns an opaque PNG image with the background replaced by studio gray (default) or the specified #RRGGBB hex color, along with a SHA-256 receipt confirming the processed output. No API key or subscription required; payment is $0.003 USDC per call via x402.","failureModes":["Image exceeds 256 KiB decoded size — returns error indicating payload too large","Invalid base64 encoding — returns malformed input error","Invalid hex color format for fill parameter — returns validation error","Payment not provided or insufficient — returns 402 Payment Required","Unsupported image format — only PNG, JPEG, WebP accepted"],"whenToPreferThis":"Choose this endpoint when you need a quick, pay-per-use background replacement on a single product image without setting up an API key or subscription. Ideal for e-commerce agents that need studio-quality solid-fill backgrounds (gray or a specific brand hex color) and want a verifiable SHA-256 receipt per operation. Prefer this over general image editing APIs when simplicity, micropayment pricing, and auditability matter.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T19:02:53.957Z","isFirstParty":false}