Generate image using OpenAI Images API
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The model to use for image generation.
"black-forest-labs/FLUX-1-schnell"
A text description of desired image(s).
"A photo of an astronaut riding a horse on Mars."
The number of images to generate.
1 <= x <= 4The format in which the generated images are returned. Currently only b64_json is supported.
b64_json The size of the generated images. Available sizes depend on the model.
A unique identifier representing your end-user, which can help to monitor and detect abuse.
The quality of the image that will be generated.
The style of the generated images.