Skip to content
Runstage

Black Forest Labs

FLUX.2 Klein 4B BF16

256–1024px resolution (16px steps). Default: 1024×1024, 4 steps. Guidance: 1.0 (fixed). Unified model for generation and multi-reference editing. Sub-second inference.

Published API pricing
$0.00243 / 512×512 (4 steps)
See all tiers
512×512$0.00243
1024×1024~$0.00499
1536×1024~$0.00616
API model ID
Sculpted studio footwear photographyCommercial studio product photograph of a sculpted cream and cobalt knit running sneaker floating on a warm saffron yellow plinth, sharp softbox lighting, 85mm macro

Sculpted studio footwear photography

Best for

API reference

API model ID
Flux_2_Klein_4B_BF16
Model developer
Black Forest Labs
Modality
Image Generation & Editing
Input
Text prompt · Reference images
Output
Image (PNG / WebP)
Endpoints
POST /api/v2/quotePOST /api/v2/runGET /api/v2/jobs/{request_id}GET /api/v2/jobs/{request_id}/outputMCP runstage_generate_media
Infrastructure
Direct GPU fleet
min_px
256
max_px
1536
step_px
16
max_input_images
3

Request parameters

  • modelstring · required

    Exact Runstage model slug (Flux_2_Klein_4B_BF16).

  • promptstring · required

    Visual description of subject, composition, lighting, and medium.

  • width / heightinteger · optional

    Output pixel dimensions (e.g. 1024×1024 or 1536×1024).

  • stepsinteger · optional

    Number of denoising steps controlling fidelity and cost.

Additional parameters

  • negative_prompt
  • guidance
  • seed
  • loras
  • enhance_prompt

Quickstart

Copy a working request using model ID Flux_2_Klein_4B_BF16. Check a free pre-run quote first (final cost settles on completion), then run with your Runstage API key.

Open interactive Playground
# 1. Free pre-run retail quote
curl -X POST 'https://runstage.dev/api/v2/quote' \
  -H "Content-Type: application/json" \
  -d '{"model":"Flux_2_Klein_4B_BF16","width":1024,"height":1024,"steps":4}'

# 2. Submit metered job
curl -X POST 'https://runstage.dev/api/v2/run' \
  -H "Authorization: Bearer $RUNSTAGE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{   "model": "Flux_2_Klein_4B_BF16",   "prompt": "A cinematic, hyper-realistic eye-level shot through a rainy coffee shop window at night. Condensation on the glass is partially wiped away to reveal the handwritten text '\''KLEIN 4B'\'' clearly written in the moisture. Through the clear glass, a warm, cozy interior is visible with soft bokeh lights. Outside, reflections of blue and pink neon city lights dance on the wet glass droplets. Incredible texture detail on the water drops and glass surface. 8k resolution, shot on 35mm lens, f/1.4, street photography style.",   "width": 1024,   "height": 1024,   "steps": 4,   "seed": 42 }'

# Optional: switch to image editing (img2img) by uploading multipart -F "image=@input.png"
# curl -X POST 'https://runstage.dev/api/v2/run' -H "Authorization: Bearer $RUNSTAGE_API_KEY" --form-string 'model=Flux_2_Klein_4B_BF16' --form-string 'prompt=A cinematic, hyper-realistic eye-level shot through a rainy coffee shop window at night. Condensation on the glass is partially wiped away to reveal the handwritten text '\''KLEIN 4B'\'' clearly written in the moisture. Through the clear glass, a warm, cozy interior is visible with soft bokeh lights. Outside, reflections of blue and pink neon city lights dance on the wet glass droplets. Incredible texture detail on the water drops and glass surface. 8k resolution, shot on 35mm lens, f/1.4, street photography style.' -F "image=@input.png"

# 3. Poll owner-scoped job result until status is "done" or "failed"
curl -H "Authorization: Bearer $RUNSTAGE_API_KEY" \
  'https://runstage.dev/api/v2/jobs/<request_id>'

Pricing

Billable unit and optionsRate (USD)
Draft · 512×512 (4 steps)Fast exploration & thumbnails$0.00243
Standard · 1024×1024 (4 steps)Production square artwork (estimated)~$0.00499
Widescreen · 1536×1024 (4 steps)Hero & banner aspect ratio (estimated)~$0.00616

Billing notes

  • Supports up to 3 input images for editing; 256–1536px in steps of 16.
  • Free pre-run cost estimates are available via POST /api/v2/quote before committing prepaid credits.
  • Upfront reservations automatically reconcile against settled execution cost on completion or failure, refunding any unused reserved credits.

Live catalog rates on Runstage. Prepaid USD credits with per-key spend caps.

Compare in full catalog