Learn how to use the image generation endpoint
Generate high-quality images using our AI models.
Generate an image from a text prompt
Must be set to application/json
Your API key
The text description of the image you want to generate
The model to use for generation. Defaults to black-forest-labs/FLUX.1-schnell
Additional generation options
Retrieve a generated image
In development mode, you’ll receive additional error details:
Learn how to use the image generation endpoint
Generate high-quality images using our AI models.
Generate an image from a text prompt
Must be set to application/json
Your API key
The text description of the image you want to generate
The model to use for generation. Defaults to black-forest-labs/FLUX.1-schnell
Additional generation options
Retrieve a generated image
In development mode, you’ll receive additional error details: