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 মডেল আইডি
যে কাজে উপযোগী
- একটি API কি দিয়ে POST /api/v2/run ব্যবহার করে লেখা থেকে ছবি তৈরি ও মাল্টিপার্ট ছবি সম্পাদনা করুন
- ক্রেডিট ব্যয়ের আগে POST /api/v2/quote দিয়ে বিনা মূল্যে খরচের অনুমান নিন
- সরাসরি GPU-তে এক সেন্টের কম দরে প্রক্রিয়াকরণ, প্রতি আসনে মাসিক ফি নেই
আরও উদাহরণ
- API মডেল আইডি
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
দ্রুত শুরু
মডেল আইডি 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 ক্রেডিট।
পূর্ণ ক্যাটালগে তুলনা করুন