image

Remove background

post/v1/images/removeBackground

Request

Request body

image_format'webp' | 'png'
response_format'url' | 'b64_json' | 'multipart'
upscale'upscale4mp' | 'upscale16mp'
zdrboolean

Zero data retention: the prompt and the input and output image bytes are neither stored nor logged; only an output requested as a URL is uploaded so it can be served.

image_urlstring

URL or data URL of the input image. JSON counterpart of the image file.

Response

OK

createdinteger required
creditsinteger required

Changes

No recorded changes to this operation across all 1 revision of this API.