Skip to main content
Generate a subject mask from an image. Returns a processed image directly in the response body.

Result

Image
Image

Headers

string
required
Your API token.

Body

file
required
The image file to process. Send as multipart form data.
string
Optional processing model. Allowed values: falcon, aurora, ghost. Default is falcon.Supported only for /v2/rembg/ and /v2/rembg/mask/.

Code Samples

Responses