Fast photorealistic image generation and English-Chinese text rendering in 8 steps
Flux.2 [klein] TL5
Fast text-to-image generation and multi-reference editing with a compact 4B model
Pricing
Prices for this trust level. Prices are per MPx.
| Trust Level | Region | Context | Max output | Input / MPx | Output / MPx | §203 |
|---|---|---|---|---|---|---|
| TL5 | DE | 128K | — | - - | 0.005 € 0.006 $ | §203 |
USD prices are converted from EUR at the ECB reference rate of 1 EUR = 1.1014 USD (2026-11-16). EUR prices are authoritative.
Prices as of 16.11.2026.
About this model
FLUX.2 [klein] is Black Forest Labs' open-weight family of image generation and editing models. Its 4B rectified-flow transformers combine text-to-image generation, edits to existing images, and multi-reference image composition in a single architecture. The distilled models generate images in four inference steps and target low-latency interactive experiences; Black Forest Labs reports sub-second processing on high-end GPUs, with speed depending on hardware. Applications include rapid visual prototyping, design iteration, creative content production, style transfer, and reference-guided edits. The 4B variant prioritizes speed and consumer-GPU accessibility and is licensed under Apache 2.0.
API
flux2-klein
OpenAI compatibleAnthropic compatible
Base URL https://api.aki.io/v1
from openai import OpenAI
client = OpenAI(
api_key="YOUR_AKI_API_KEY",
base_url="https://api.aki.io/v1",
)
response = client.images.generate(
model="flux2-klein",
prompt="A lighthouse on the German coast",
size="1024x1024",
)
print(response.data[0].url)
import OpenAI from "openai";
const client = new OpenAI({
apiKey: "YOUR_AKI_API_KEY",
baseURL: "https://api.aki.io/v1",
});
const response = await client.images.generate({
model: "flux2-klein",
prompt: "A lighthouse on the German coast",
size: "1024x1024",
});
console.log(response.data[0].url);
curl https://api.aki.io/v1/images/generations \
-H "Authorization: Bearer $AKI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "flux2-klein",
"prompt": "A lighthouse on the German coast",
"size": "1024x1024"
}'