View as Markdown (.md)
Black Forest LabsImageflux-klein-2

flux-klein-2 API

Black Forest Labs FLUX.2 [klein] (Jan 2026), the fastest tier of the FLUX family, generating and editing images in under a second. It comes in 4B and 9B sizes, with the 4B released under Apache 2.0 and the 9B under a non-commercial licence.

Give this to your agent·Claude Code·Codex·Cursor·OpenClaw / Hermes

Read https://wanapi.ai/SKILL.md and https://wanapi.ai/model/flux-klein-2.md, then configure WanAPIs for flux-klein-2

Per Call
$0.120/call
¥0.12 ≈ $0.017 USD
Provider
Black Forest Labs
Unified billing
API Endpoint
/v1/images/tasks
Async polling
Billing Rate
¥1 = $1 quota
~86% off USD parity

Live Cost Estimator

¥1 = $1 quota

Adjust parameters to preview live WanAPIs quota, RMB real cost, and approx. USD (~86% off USD parity).

1
1 image × $0.12
¥0.12
≈ $0.017 USD
($0.12 quota)
curl https://api.wanapis.com/v1/images/tasks \
  -H "Authorization: Bearer $WANAPIS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "flux-klein-2",
  "prompt": "Minimalist studio product photography on a soft neutral backdrop, 85mm lens",
  "size": "1:1",
  "n": 1
}'

# Poll data.task_id every 3s until SUCCESS
curl https://api.wanapis.com/v1/images/tasks/<task_id> \
  -H "Authorization: Bearer $WANAPIS_API_KEY"
Async image endpoint · save temporary URLs on SUCCESShttps://api.wanapis.com/v1

About flux-klein-2

Black Forest Labs FLUX.2 [klein] (Jan 2026), the fastest tier of the FLUX family, generating and editing images in under a second. It comes in 4B and 9B sizes, with the 4B released under Apache 2.0 and the 9B under a non-commercial licence.

Capabilities

  • Text-to-image
  • Reference image

Compare Related Models (Live Pricing)

Synced live from /api/pricing · ¥1 = $1 quota (~86% off USD parity at $1 ≈ ¥7).

ModelLive Price (Quota)Est. Real Cost (¥ / ~USD)Action
$0.120 / call¥0.12/call (~$0.017 USD/call)—
$75.00 / 1M tokens¥75 / ¥75 (~$10.71 / $10.71 USD)View
$0.207 / call¥0.207/call (~$0.03 USD/call)View
$0.291 / call¥0.291/call (~$0.042 USD/call)View

flux-klein-2 FAQ

How do I call flux-klein-2 via WanAPIs?

Send an authenticated request with Authorization: Bearer <WANAPIS_API_KEY> to https://api.wanapis.com using POST /v1/images/tasks and model "flux-klein-2".

How much does flux-klein-2 cost on WanAPIs?

Current live rate: $0.120 / call. WanAPIs uses RMB-anchored quota (¥1 = $1 quota, roughly 1/7 or ~86% off USD-denominated list pricing) with zero monthly subscription.

Can AI coding agents (Claude Code, Codex, Cursor) discover and use this model?

Yes. Point your agent to https://wanapi.ai/SKILL.md or install npx -y @wanapis/mcp. A machine-readable Markdown spec is also available at /model/flux-klein-2.md.

More Black Forest Labs models

Integrate flux-klein-2 in minutes

Sign up for starter credit — change one base_url line or hand SKILL.md to your AI agent.