flux-pro
This documentation is valid for the following list of our models:
flux-pro
flux-pro/v1.1
Model Overview
Both versions, v.1 and v1.1, generate images of unmatched quality, outperforming popular models like Midjourney v6.0, DALL·E 3 (HD), and SD3-Ultra.
flux-pro/v1.1
is a new image generation model with inference speed increased sixfold compared to the previous flux-pro
. It also features enhanced generation quality and greater accuracy in following prompts.
Both versions accept the same set of parameters, generate JPEGs, and have identical minimum, maximum, and default image sizes.
flux-pro
Format: JPG Min size: 256x256 Max size: 1440x1440 Default size: 1024x768 For both height and width, the value must be a multiple of 32.
flux-pro/v1.1
Format: JPG Min size: 256x256 Max size: 1440x1440 Default size: 1024x768 For both height and width, the value must be a multiple of 32.
Setup your API Key
If you don’t have an API key for the AI/ML API yet, feel free to use our Quickstart guide.
Submit a request
API Schema
Quick Example
Let's generate an image of the specified size using a simple prompt.
The maximum value for both width and height is 1440
, and the minimum is 256
.
The value must be a multiple of 32.
We obtained the following nice 1024x320 image by running this code example:
Last updated
Was this helpful?