FLUX.1 [schnell] Text to Image
Generate images from text prompts using FLUX.1 [schnell].
Pricing: $0.003 * (Width * Height * Steps) / (1024*1024*4)
Request Headers
Enum: application/json
Bearer authentication format, for example: Bearer {{API Key}}.
Request Body
The returned image type. Default is png.
Enum: png
webp
jpeg
Text input required to guide the image generation, divided by ,
. Range [1, 1024].
A seed is a number from which Stable Diffusion generates noise, which, makes generation deterministic. Using the same seed and set of parameters will produce identical image each time. Range [0, 4294967295].
The number of denoising steps. More steps usually can produce higher quality images, but take more time to generate, Range [1, 100].
Width of image. Range [64, 2048].
Height of image. Range [64, 2048].
Images numbers generated in one single generation. Range [1, 8].
Response
Task information.
Contains information about images associated with image-type tasks. This parameter provides detailed data on each image processed or generated during the task, such as file paths, metadata, or any image-specific attributes. It is returned only for tasks that involve image operations, facilitating enhanced tracking and management of image data.
Example
request
response