Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
Request body for image generation
The model to use for image generation.
"black-forest-labs/FLUX.1-schnell"
A text description of the desired image(s). The maximum length is 1000 characters.
"A cute baby sea otter floating on its back"
The number of images to generate. Defaults to 1.
x >= 0
1
The quality of the image that will be generated.
hd
creates images with finer details and greater consistency across the image.
"hd"
The format in which the generated images are returned.
"url"
The size of the generated images.
"1024x1024"
The style of the generated images.
"vivid"
A unique identifier representing your end-user, which can help OpenAI to monitor and detect abuse.
"user-1234"