Skip to main content
POST
Cut out an object with MultiMatte

Authorizations

Authorization
string
header
required

A workspace API key (fn_...).

Body

application/json
image_base64
string
required

JPEG, PNG, WebP or HEIC, base64-encoded. Up to 5 MB before encoding; sides over 2048 px are downscaled.

model
string

multimatte. Optional while MultiMatte is the only cutout model.

Example:

"multimatte"

prompt
string

The object to keep. Defaults to the main foreground subject.

Example:

"the dog"

Response

An RGBA PNG at the input size (after any downscale).

The response is of type file.