Langsung ke konten
Runstage

Black Forest Labs

FLUX.2 Klein 4B BF16

Resolusi 256–1024 px dengan kelipatan pengaturan 16 px. Pengaturan bawaan 1024×1024 dan 4 langkah. Nilai panduan tetap di 1,0. Satu model untuk membuat gambar dan mengeditnya dengan beberapa referensi. Inferensi dalam waktu kurang dari satu detik.

Harga API yang dipublikasikan
$0.00243 / 512×512 (4 steps)
Lihat semua tingkatan
512×512$0.00243
1024×1024~$0.00499
1536×1024~$0.00616
ID model API
Fotografi studio sepatu bersiluet pahatanFoto studio sepatu lari rajut krem dan biru kobalt melayang di atas alas kuning safron, dengan cahaya softbox dan lensa makro 85 mm

Fotografi studio sepatu bersiluet pahatan

Cocok untuk

Referensi API

ID model API
Flux_2_Klein_4B_BF16
Pengembang model
Black Forest Labs
Modalitas
Pembuatan dan penyuntingan gambar
Masukan
Text prompt · Reference images
Keluaran
Image (PNG / WebP)
Endpoint
POST /api/v2/quotePOST /api/v2/runGET /api/v2/jobs/{request_id}GET /api/v2/jobs/{request_id}/outputMCP runstage_generate_media
Infrastruktur
Armada GPU langsung
min_px
256
max_px
1536
step_px
16
max_input_images
3

Parameter permintaan

  • modelstring · wajib

    Exact Runstage model slug (Flux_2_Klein_4B_BF16).

  • promptstring · wajib

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

  • width / heightinteger · opsional

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

  • stepsinteger · opsional

    Number of denoising steps controlling fidelity and cost.

Parameter tambahan

  • negative_prompt
  • guidance
  • seed
  • loras
  • enhance_prompt

Mulai cepat

Salin permintaan siap pakai dengan ID model Flux_2_Klein_4B_BF16. Periksa estimasi gratis terlebih dahulu (biaya akhir ditetapkan setelah selesai), lalu jalankan dengan kunci API Runstage Anda.

Buka Studio
# 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>'

Harga

Satuan tagihan dan opsiTarif (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

Catatan penagihan

  • Supports up to 3 input images for editing; 256–1536px in steps of 16.
  • Dapatkan estimasi biaya gratis melalui POST /api/v2/quote sebelum menggunakan kredit prabayar.
  • Saat tugas selesai atau gagal, dana yang dicadangkan otomatis disesuaikan dengan biaya eksekusi akhir dan kredit yang tidak terpakai dikembalikan.

Tarif katalog terkini di Runstage. Kredit prabayar USD dengan batas belanja per kunci.

Bandingkan di katalog lengkap