Background Removal
Changed onRemove the background from any image, at the image's own size or a smaller one you choose. Returns a transparent PNG. Returns the cut-out as base64 and as a hosted URL, with its format, width and height: a PNG with a transparent background, or WebP (transparent) or JPG (set on white) when you ask for them. Use to isolate the subject of an existing image. To create a new image use images. Cost: 2 credits, charged only when a call succeeds.
Request
- Base URLhttps://suprsonic.ai
- AuthHTTP bearer
Request body
Response
The call's envelope: success, data (the capability's result), metadata, and credits_used (0 when the call did not succeed).
Changes
- breaking
request property
was restricted to a list of enum values - breaking
request property
was restricted to a list of enum values - info
added the new
autoenum value to the request property - info
added the new
hdenum value to the request property - info
added the new
jpgenum value to the request property - info
added the new
pngenum value to the request property - info
added the new
smallenum value to the request property - info
added the new
webpenum value to the request property - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status
- breaking
- info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- info