FLUX.2 Image Generation in under 1 second. Read More →

FLUX.2 [klein] 9B Fast logo

FLUX.2 [klein] 9B Fast

FLUX.2 [klein] 9B is a 9 billion parameter rectified flow transformer capable of generating images from text descriptions and supports multi-reference editing capabilities.

Example Usage

Input
Python

  from openai import OpenAI
  
  client = OpenAI(
      base_url="https://api.modular.com",
      api_key="<your_api_token>",
  )
  
  response = client.images.generate(
      model="black-forest-labs/FLUX.2-klein-9B",
      prompt="Adorable cartoon fox wearing a tiny backpack,
        bright forest background, playful style, vivid colors, 8K",
      n=1,
      size="1024x1024",
  )
  
  print(response.data[0].url)
Image Output
Cute orange cartoon fox with a small brown backpack sitting on grass in a bright, colorful forest.
Model Details
  • Developed by
    Black Forest Labs
  • Model family
    black-forest-labs/FLUX.2-klein-9B
  • Modality
    Image,
  • Total Params
    9B
  • Precision
    BF16
  • Deployment options
    Shared, Dedicated, Self-hosted

Why choose FLUX.2 [klein] 9B Fast on Modular?

  • High performance, out of the box

    Run leading open models with strong default performance and the ability to optimize down to the kernel — extracting more from every GPU.

  • Lower Infrastructure Costs

    Deploy efficiently across NVIDIA and AMD hardware to reduce GPU count, increase throughput, and avoid expensive closed-model licensing.

  • Easy Integration

    Integrate through an OpenAI-compatible endpoint, swap models freely, and scale across clouds or hardware without redesigning your application stack.

FLUX.2 [klein] 9B Fast
Want to self-host this model with our open source infrastructure?
Read How

🔥 Trending models

Similar models

Get started with Modular

  • Request a demo

    Schedule a demo of Modular and explore a custom end-to-end deployment built around your models, hardware, and performance goals.

    • Distributed, large-scale online inference endpoints

    • Highest-performance to maximize ROI and latency

    • Deploy in Modular cloud or your cloud

    • View all features with a custom demo

    Book a demo

    Talk with our sales lead Jay!

    30min demo.  Evaluate with your workloads.  Ask us anything.

  • Talk to us!

    Book a demo for a personalized walkthrough of Modular in your environment. Learn how teams use it to simplify systems and tune performance at scale.

    • Custom 30 min walkthrough of our platform

    • Cover specific model or deployment needs

    • Flexible pricing to fit your specific needs

    Book a demo

    Talk with our sales lead Jay!

  • Start using MAX

    ( FREE )

    Run any open source model in 5 minutes, then benchmark it. Scale it to millions yourself (for free!).

  • Start using Mojo

    ( FREE )

    Install Mojo and get up and running in minutes. A simple install, familiar tooling, and clear docs make it easy to start writing code immediately.