Skip to main content

Try FLUX.1 [dev] in the Workbench

Run this model interactively, tune parameters, and compare outputs.
Model ID: 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.
MetricValue
Parameter Count12 billion
Mixture of ExpertsNo
Context LengthUnknown
MultilingualNo
Quantized*No
*Quantization is specific to the inference provider and the model may be offered with different quantization levels by other providers.

Example request

Use the Workbench as a request builder: configure parameters for this model in the UI, then open the API tab to copy the exact cURL or Python call.
See the image generation reference for more details.
curl -X POST https://hub.oxen.ai/api/ai/images/generate \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $OXEN_API_KEY" \
  -d '{
  "model": "flux-1-dev",
  "prompt": "A beautiful landscape painting of a serene lake with mountains in the background"
}'

Fetch model details

The models endpoint returns the full model object, including its json_request_schema.
curl -H "Authorization: Bearer $OXEN_API_KEY" https://hub.oxen.ai/api/ai/models/flux-1-dev

Request parameters

Required parameters

FieldTypeDefaultDescription
promptstring"A beautiful landscape painting of a serene lake with mountains in the background"Prompt for generated image

Optional parameters

FieldTypeDefaultDescription
negative_promptstring" "Negative prompt for generated image
aspect_ratiostring"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_sizestring"optimize_for_quality"Image size for the generated image One of: optimize_for_quality, optimize_for_speed.
num_inference_stepsinteger30Number of denoising steps. Recommended range is 28-50, and lower number of steps produce lower quality outputs, faster. Range: 1 – 50.
guidancenumber3Guidance 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.
seedintegerRandom seed. Set for reproducible generation
output_formatstring"webp"Format of the output images One of: webp, jpg, png.
output_qualityinteger80Quality 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_checkerbooleanfalseDisable safety checker for generated images.