Black Forest Labs

FLUX.2 [klein] 9B

Base URL
Model ID
Per image
€0.009
Modalities
Input: Text, Image. Output: Image.
See pricing

Overview

Black Forest Labs FLUX.2 [klein] 9B is a balanced image generation model offering excellent quality-to-speed ratio. With 9 billion parameters, it provides better detail and composition than the 4B variant while remaining faster than full-size models. Ideal for production workloads requiring a balance between quality, speed, and cost. Supports both text-to-image and image-to-image generation.

Code samples

curl -X POST "https://api.melious.ai/v1/images/generations" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $MELIOUS_API_KEY" \
  -d '{
    "model": "flux-2-klein-9b",
    "prompt": "A lighthouse on a rocky coast at dawn",
    "size": "1024x1024"
  }'

Capabilities

Input
Text, Image
Output
Image

Where it runs

Hosted in Renewable power 100% Power efficiency Water efficiency
All models

Start with FLUX.2 [klein] 9B

Estimate monthly cost

FLUX.2 [klein] 9B

Estimated cost per month €9.00