Models / Black Forest Labs
Image

FLUX.2 [dev]

State-of-the-art image generation and editing with multi-reference capabilities

About model

FLUX.2 [dev] has 32B parameters and a 32K characters-token context window. On Together AI it costs $0.0154 per image.

FLUX.2 [dev] is a state-of-the-art image generation and editing model that combines powerful text-to-image capabilities with advanced single and multi-reference editing without requiring finetuning. Built on a 32 billion parameter rectified flow transformer architecture, it enables character, object, and style reference in a unified model. Trained using guidance distillation for enhanced efficiency, FLUX.2 [dev] delivers professional-quality outputs for personal, scientific, and commercial purposes under the FLUX [dev] Non-Commercial License.

  • API usage

    • cURL
    • Python
    • Typescript

    Endpoint:

    black-forest-labs/FLUX.2-dev

    curl -X POST "https://api.together.ai/v1/images/generations" \
      -H "Authorization: Bearer $TOGETHER_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{
        "model": "black-forest-labs/FLUX.2-dev",
        "prompt": "A serene mountain landscape at sunset with a lake reflection"
      }'
    from together import Together
    
    client = Together()
    
    response = client.images.generate(
        model="black-forest-labs/FLUX.2-dev",
        prompt="A serene mountain landscape at sunset with a lake reflection",
    )
    
    print(response.data[0].url)
    import Together from 'together-ai';
    
    const together = new Together();
    
    const response = await together.images.generate({
      model: "black-forest-labs/FLUX.2-dev",
      prompt: "A serene mountain landscape at sunset with a lake reflection",
    });
    
    console.log(response.data[0].url);
  • Model card

    Architecture Overview:
    • Guidance-distilled from FLUX.2 [pro]
    • Enhanced inference efficiency
    • Up to 4MP output resolution
    • Non-commercial license

    Model Characteristics:
    • Comparable quality to FLUX.2 [pro]
    • Maintained prompt adherence
    • Optimized for resource efficiency
    • Photorealistic detail preservation

    Performance Benefits:
    • Faster inference than standard models of equivalent size
    • Reduced computational requirements
    • Multi-reference support inherited from [pro]

    ‍

  • Model provider
    Black Forest Labs
  • Type
    Image
  • Main use cases
    Image-to-Image
  • Deployment
  • Parameters
    32B
  • Context length
    32K characters
  • Price

    $0.0154 / image

  • Input modalities
    Image
  • Output modalities
    Image