Image
Image Generation
Creates an image response for the given prompt.
POST
/
image
/
generations
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
model
string
default: black-forest-labs/FLUX.1-schnellrequiredprompt
string
default: an island near sea, with seagulls, moon shining over the sea, light house, boats int he background, fish flying over the searequiredimage_size
enum<string>
default: 1024x1024requiredAvailable options:
1024x1024
, 1536x1536
, 768x512
, 768x1024
, 1024x576
, 576x1024
seed
integer
Response
200 - application/json
images
object[]
timings
object
seed
integer