POST

Authorization

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

Request Body

string
required
Text description of the desired transformation.
string
required
URL of the source image to transform. Provide either image_url or file_id.
string
File ID of a previously uploaded image.
enum
default:"magma"
Model to use. Default: magma.