POST

Authorization

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

Request Body

string
required
URL of the body/target image. The face in this image will be replaced.
string
required
URL of the face/source image. This face will be placed onto the body.
string
Optional guidance for the swap. Default: "Swap the face onto the body image".
enum
default:"magma"
Model to use. Default: magma.