Black Forest Labs/flux-2-dev/Released Nov 2025

FLUX.2 [dev]

Open text-to-image with multi-reference

Fine-tunable
Image

About FLUX.2 [dev]

FLUX.2 [dev] is a 32-billion parameter image generation model that excels in generating highly detailed, photorealistic images and performing precise image editing, including multi-reference editing with strong consistency across subjects, products, and styles. It is best at rendering complex typography, infographics, and UI mockups with legible fine text, and supports flexible input/output ratios up to 4 megapixels.

Some other noteworthy features of FLUX.2 [dev] include native support for LoRA fine-tuning workflows, making it suitable for rapid prototyping and custom training, and efficient resource usage for high-volume generation tasks.

MetricValue
Parameter Count32 billion
Mixture of ExpertsNo
MultilingualYes
Quantized*No

*Quantization is specific to the inference provider and the model may be offered with different quantization levels by other providers.

Ready to build with FLUX.2 [dev]?

Try FLUX.2 [dev] in the Workbench to prompt it, compare outputs, and iterate on prompts without writing any code. When you're ready to ship, call the same model from our API and build your own apps on top of it.

curl -sSf -X POST https://hub.oxen.ai/api/ai/images/edit \
    -H "Content-Type: application/json" \
    -H "Authorization: Bearer $OXEN_API_KEY" \
    -d '{
  "model": "flux-2-dev",
  "prompt": "Bloxy, the cartoon ox in @Image1, as a superhero. The overall style should be kept the same as @Image1. Bloxy should be wearing a blue suit with whitish-grey sleeves and leggings. On Bloxy'\''s shoulders rest a yellow shoulder mantle and yellow capelet with a collar clasp. A red jewel lies in the center of the collar clasp.",
  "input_image": [
    "https://hub.oxen.ai/api/repos/elau/assets/file/main/bloxy/bloxy_cropped_1024x1024.png"
  ],
  "aspect_ratio": "16:9",
  "resolution": "1 MP",
  "num_inference_steps": 30,
  "guidance": 2,
  "output_format": "webp",
  "output_quality": 80,
  "disable_safety_checker": false
}'

Request parameters

Every field FLUX.2 [dev] accepts in the request body. See the API reference for response formats.

POSThttps://hub.oxen.ai/api/ai/images/edit
FieldTypeRequiredDefaultDescription
promptstringYes
Prompt for generated image. Use @Image1, @Image2, etc. to reference the input images.
input_imagearray<string>
nullable
No
Input images to transform or use as reference. Reference them in the prompt as @Image1, @Image2, etc.
aspect_ratiostringNo"16:9"
1:116:99:164:33:43:22:3match_input_image
resolutionstringNo"1 MP"
1 MP2 MP0.5 MP
num_inference_stepsintegerNo30Number of denoising steps. Recommended range is 28-50, and lower number of steps produce lower quality outputs, faster.
Range: 150
guidancenumberNo2Guidance for generated image. Lower values can give more realistic images. Good values to try are 2, 2.5, 3 and 3.5
Range: 010
seedinteger
nullable
No
Random seed. Set for reproducible generation
output_formatstringNo"webp"Format of the output images
webpjpgpng
output_qualityintegerNo80Quality when saving the output images, from 0 to 100. 100 is best quality, 0 is lowest quality. Not relevant for .png outputs
Range: 0100
disable_safety_checkerbooleanNofalseDisable safety checker for generated images.