Black Forest Labs
FLUX.2 Klein 4B BF16
ریزولوشن 256 سے 1024 px تک ہے، جسے 16 px کے وقفوں میں بدلا جا سکتا ہے۔ ڈیفالٹ 1024×1024 اور 4 مراحل ہیں۔ گائیڈنس کی قدر 1.0 پر مقرر ہے۔ ایک ہی ماڈل سے تصاویر بنائیں اور متعدد حوالہ جاتی تصاویر سے ان میں ترمیم کریں۔ انفرنس ایک سیکنڈ سے کم وقت میں ہوتا ہے۔
API کی شائع شدہ قیمتیں
تمام درجے دیکھیں$0.00243 / 512×512 (4 steps)
512×512$0.00243
1024×1024~$0.00499
1536×1024~$0.00616
API ماڈل ID
موزوں استعمال
- ایک API کلید کے ساتھ POST /api/v2/run پر متن سے تصاویر بنائیں اور ملٹی پارٹ اپ لوڈ سے تصاویر کی تدوین کریں
- کریڈٹ خرچ کرنے سے پہلے POST /api/v2/quote سے مفت تخمینہ لیں
- براہ راست GPU پر ایک سینٹ سے بھی کم قیمت میں عمل کاری، فی نشست ماہانہ فیس کے بغیر
مزید مثالیں
- API ماڈل ID
Flux_2_Klein_4B_BF16- ماڈل کا ڈویلپر
- Black Forest Labs
- ماڈل کی قسم
- تصاویر کی تیاری اور تدوین
- ان پٹ
- Text prompt · Reference images
- آؤٹ پٹ
- Image (PNG / WebP)
- اینڈ پوائنٹس
POST /api/v2/quotePOST /api/v2/runGET /api/v2/jobs/{request_id}GET /api/v2/jobs/{request_id}/outputMCP runstage_generate_media- انفراسٹرکچر
- براہ راست GPU کا مجموعہ
- min_px
- 256
- max_px
- 1536
- step_px
- 16
- max_input_images
- 3
درخواست کے پیرامیٹر
modelstring · لازمیExact Runstage model slug (Flux_2_Klein_4B_BF16).
promptstring · لازمیVisual description of subject, composition, lighting, and medium.
width / heightinteger · اختیاریOutput pixel dimensions (e.g. 1024×1024 or 1536×1024).
stepsinteger · اختیاریNumber of denoising steps controlling fidelity and cost.
اضافی پیرامیٹر
negative_promptguidanceseedlorasenhance_prompt
فوری آغاز
ماڈل ID Flux_2_Klein_4B_BF16 والی تیار درخواست کاپی کریں۔ پہلے مفت تخمینہ دیکھیں (حتمی لاگت کام مکمل ہونے پر طے ہوتی ہے)، پھر اپنی Runstage API کلید سے چلائیں۔
اسٹوڈیو کھولیںFLUX.2 Klein 4B BF16 کی curl مثال کاپی کریں
# 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>'قیمتیں
| بلنگ کی اکائی اور اختیارات | شرح (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 |
بلنگ کی تفصیلات
- Supports up to 3 input images for editing; 256–1536px in steps of 16.
- پری پیڈ کریڈٹ خرچ کرنے سے پہلے POST /api/v2/quote کے ذریعے مفت تخمینہ دستیاب ہے۔
- کام مکمل یا ناکام ہونے پر محفوظ کی گئی رقم خودکار طور پر حتمی لاگت سے ملائی جاتی ہے اور غیر استعمال شدہ کریڈٹ واپس مل جاتا ہے۔
Runstage کے کیٹلاگ کی موجودہ شرحیں۔ ہر کلید کی خرچ کی حد کے ساتھ پری پیڈ USD کریڈٹ۔
مکمل کیٹلاگ میں موازنہ کریں