{"uid":"cap_Ew4eM80NwmyYPFxqkVp7J","slug":"forgemesh-background-removal-api-c741b9fb","name":"ForgeMesh Background Removal API","description":"Background removal API: send an image URL, get back a transparent PNG with the subject cleanly cut out (segmentation runs on our own hardware). For product photos, avatars, thumbnails, and design pipelines. Nothing stored.","url":"https://x402.forgemesh.io/background-removal","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"image_url":{"type":"string","description":"Public URL of the image (jpg/png/webp, max 8MB)"}}},"responseSchema":{"type":"json","example":{"file_base64":"iVBORw0KGgoAAA...","content_type":"image/png"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_xtZXQYwcLaLiX4fJhm--E","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","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 URL and returns a transparent PNG with the subject cleanly segmented out","exampleAgentPrompt":"Can you remove the background from this product photo and give me a transparent PNG? The image is at https://example.com/product-shirt.jpg","exampleUseCases":null,"resultDescription":"A transparent PNG image with the background cleanly removed, leaving only the foreground subject (person, product, or object) with alpha-channel transparency. Nothing is stored server-side after processing.","failureModes":["Image URL not publicly accessible — returns error indicating image could not be fetched","Image exceeds 8MB file size limit — returns size limit error","Unsupported image format (e.g. GIF, BMP) — returns format error","Ambiguous subject / complex scene where segmentation confidence is low — may return imperfect cutout","Network timeout fetching remote image URL — returns fetch error","Payment not received or insufficient — returns 402 Payment Required"],"whenToPreferThis":"Choose this endpoint when you need server-side background removal with no data retention, billed per-call at a flat $0.02 USDC. Ideal for pipelines that process product photos, avatars, or thumbnails at moderate scale without sending images to a major cloud provider. Prefer this over client-side solutions when quality of edge segmentation matters and over batch cloud services when you need immediate results per image.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T19:02:08.354Z","isFirstParty":false}