POST

Authorization

string
required
Bearer token. Bearer API_key, can be found in Settings > API Keys.

Request Body

string
required
URL of the source portrait image. Provide either image_url or file_id.
string
File ID of a previously uploaded image.
string
Optional style guidance. If omitted, trending styles are applied automatically.
enum
default:"magma"
Model to use. Default: magma.