/generate/remove-background

[DEPRECATED] This API is deprecated.

Advanced remove-background of an image.

Note: Please use POST /generate/custom/{modelId} endpoint instead. You can retrieve the model inputs from the GET /models/{modelId} endpoint. Please use model_bria-remove-background modelId for example. See https://docs.scenario.com/docs/tools-parameters-reference for more details.

Query Params
string

If set to true, returns the original asset without transformation

string
Body Params
string
required

The asset ID (example: "asset_GTrL3mq4SXWyMxkOHRxlpw"). If provided, image and name will be ignored.

string

The background color as an hexadecimal code (ex: "#FFFFFF"), an html color (ex: "red") or "transparent" if "format" is "png"

string
enum
Defaults to 'png'

The output format. Default is 'png'

Allowed:
Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json