Try FLUX.1 [dev] in the Workbench
Run this model interactively, tune parameters, and compare outputs.
flux-1-dev
black-forest-labs/FLUX.1-dev is a 12 billion parameter image generation model (rectified flow transformer, guidance-distilled) designed for non-commercial, research, and personal use.
It excels in generating high-quality, diverse images from text prompts, with strong prompt adherence and competitive performance on challenging details such as hands and faces. Its open weights and efficiency make it particularly valuable for researchers and developers who need transparency, adaptability, and the ability to fine-tune for specialized domains.
Some other noteworthy features of black-forest-labs/FLUX.1-dev include advanced control tools—such as inpainting, outpainting, structural guidance (depth and edge conditioning), and image remixing—enabling precise editing and re-creation of both real and generated images for research and creative workflows.
| Metric | Value |
|---|---|
| Parameter Count | 12 billion |
| Mixture of Experts | No |
| Context Length | Unknown |
| Multilingual | No |
| Quantized* | No |
Example request
- Sync
- Async
- Async with SSE
See the image generation reference for more details.
- Minimal
- All parameters
Fetch model details
The models endpoint returns the full model object, including itsjson_request_schema.
Request parameters
Required parameters
| Field | Type | Default | Description |
|---|---|---|---|
prompt | string | "A beautiful landscape painting of a serene lake with mountains in the background" | Prompt for generated image |
Optional parameters
| Field | Type | Default | Description |
|---|---|---|---|
negative_prompt | string | " " | Negative prompt for generated image |
aspect_ratio | string | "16:9" | Aspect ratio for the generated image One of: 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3. |
image_size | string | "optimize_for_quality" | Image size for the generated image One of: optimize_for_quality, optimize_for_speed. |
num_inference_steps | integer | 30 | Number of denoising steps. Recommended range is 28-50, and lower number of steps produce lower quality outputs, faster. Range: 1 – 50. |
guidance | number | 3 | Guidance for generated image. Lower values can give more realistic images. Good values to try are 2, 2.5, 3 and 3.5 Range: 0 – 10. |
seed | integer | — | Random seed. Set for reproducible generation |
output_format | string | "webp" | Format of the output images One of: webp, jpg, png. |
output_quality | integer | 80 | Quality when saving the output images, from 0 to 100. 100 is best quality, 0 is lowest quality. Not relevant for .png outputs Range: 0 – 100. |
disable_safety_checker | boolean | false | Disable safety checker for generated images. |