মূল বিষয়বস্তুতে যান
Runstage

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 রেফারেন্স

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_prompt
  • guidance
  • seed
  • loras
  • enhance_prompt

দ্রুত শুরু

মডেল আইডি Flux_2_Klein_4B_BF16 ব্যবহার করে একটি কার্যকর অনুরোধ কপি করুন। আগে বিনা মূল্যে খরচের অনুমান দেখুন (কাজ শেষে চূড়ান্ত খরচ নির্ধারিত হয়), তারপর আপনার Runstage API কি দিয়ে চালান।

স্টুডিও খুলুন
# 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 ক্রেডিট।

পূর্ণ ক্যাটালগে তুলনা করুন