flux/dev
Last updated
Was this helpful?
Last updated
Was this helpful?
A state-of-the-art image generation model that utilizes a 12 billion parameter rectified flow transformer architecture. It is designed to generate high-quality images from textual descriptions, making it a powerful tool for developers and creatives.
flux/dev
Format: PNG Min size: 512x512 Max size: 1536x1536 Default size: 1024x768 For both height and width, the value must be a multiple of 32.
If you don’t have an API key for the AI/ML API yet, feel free to use our .
Let's generate an image using a simple prompt.
We obtained the following 1024x768 image by running this code example:
landscape_4_3
The size of the generated image.
The CFG (Classifier Free Guidance) scale is a measure of how close you want the model to stick to your prompt when looking for a related image to show you.
The number of inference steps to perform.
If set to True, the safety checker will be enabled.
true
The text prompt describing the content, style, or composition of the image to be generated.
The number of images to generate.
1
The same seed and the same prompt given to the same version of the model will output the same image every time.
No content
'A T-Rex relaxing on a beach, lying on a sun lounger and wearing sunglasses.'