Skip to content
clusters: prooflayer · edgemarket · edgefinance · synthforge · mediakit · wordmint · webprobe · locale · comppoint
$ man remove-bg

/remove-bg(1)

agentutility / synthforge / remove-bg
PRICE / CALL
$0.08
USDC · base mainnet · scheme: exact
METHOD
POST
CLUSTER
synthforge
CATEGORY
ai
STATUS
live
NAME
remove-bg ai background remover / background eraser / cutout tool
SYNOPSIS
POST https://x402.org/v1/remove-bg
     Content-Type: application/json
     X-PAYMENT:    <signed-transferWithAuthorization>

     { ... }
↳ first call → 402 Payment Required. Sign USDCtransferWithAuthorization, retry with theX-PAYMENT header.
DESCRIPTION

AI background remover / background eraser / cutout tool. Returns transparent PNG. Optional crop_to_bbox. fal.ai imageutils/rembg.

INPUTrequest schema
propertytypedescriptionreq?
image_urlstringSource image URL to remove the background from; returns a transparent PNG cutout of the foreground subject.required
crop_to_bboxbooleanDefault false.optional
OUTPUTresponse shape
fieldtypedescription
image_urlstringURL of the resulting transparent PNG with the background removed.
widthnumberWidth of the output PNG in pixels.
heightnumberHeight of the output PNG in pixels.
file_size_bytesnumberSize of the returned PNG file in bytes.
content_typestringMIME type of the returned image, typically image/png.
crop_to_bboxbooleanWhether the output was cropped to the subject's bounding box rather than keeping original canvas dimensions.
source_urlstringEcho of the input image_url that was processed.
EXAMPLEStwo ways to call
EXAMPLE 1 · curl
curl -X POST https://x402.org/v1/remove-bg \
  -H 'Content-Type: application/json' \
  -d '{ }'
first response = 402 Payment Required with payment requirements; sign + retry with X-PAYMENT.
EXAMPLE 2 · mcp
# install once
claude mcp add x402 --command "npx x402-deployer-mcp"

# then ask Claude Code:
# "use the remove-bg tool to ..."
MCP server handles payment automatically — your coding agent just calls the tool by name.
METADATA
tags
backgroundrembgimageremovetransparent
env
FAL_KEY
methods
POST
cluster
synthforge
price
$0.08 USDC per call
ADJACENTother endpoints in synthforge
endpointdescriptionprice
image-generate-proImage generate (pro) / premium text-to-image / Flux 2 Pro / Recraft / Seedream / Qwen Image 2 Pro / xAI Grok Imagine.$0.10
music-generateMusic generation / text-to-music / AI music / generative song / instrumental and vocal music.$0.05
text-to-speechText to speech / TTS / voice generator.$0.05
voiceText-to-speech / TTS / voice synthesis.$0.05
image-editImage edit / instruction-based image edit / text-driven photo edit / nano-banana image editor / GPT-image-2 edit.$0.02
image-inpaintImage inpainting / mask-based image edit / fill in masked region / object replacement / face swap (mask-driven) / generative fill.$0.02
image-expandAI image outpainting / image expansion.$0.15
image-generateImage generate (fast/cheap) / text-to-image / AI art.$0.01
SEE ALSO
agentutility(7) · synthforge(7) · x402(7) · mcp(7) · llms.txt · registry.json · bazaar.x402.org