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

OpenAI

GPT Image 2

পরীক্ষামূলক · অংশীদার মডেল · প্রিমিয়াম। বর্ণনা থেকে ছবি তৈরি করুন। ছবি তৈরির আগে মডেলটি নির্দেশনা নিয়ে যুক্তিভিত্তিক বিশ্লেষণ করে। একাধিক পরস্পরনির্ভর শর্তের প্রম্পটে উন্নতি সবচেয়ে স্পষ্ট, যেমন উপাদানের অবস্থান নির্দিষ্ট করে দেওয়া লেআউট, নির্দিষ্ট সংখ্যক বস্তুসহ দৃশ্য বা লেখার নির্দিষ্ট একটি লাইন রাখতে হবে এমন ডিজাইন। আউটপুটের আকার 512 থেকে 2048 px পর্যন্ত।

প্রকাশিত API মূল্য
~$0.0845 / 1024×1024
সব মূল্যস্তর দেখুন
1024×1024~$0.0845
1536×1024~$0.0974
1024×1536~$0.0974
API মডেল আইডি
ছবি API ইন্টারফেসgpt-image-2
এন্ডপয়েন্ট
POST /api/v2/run
ইনপুট
Text prompt · Reference images
আউটপুট
Image (PNG / WebP)
দর
~$0.0845 / 1024×1024
নমুনা প্রম্পট

“A detailed technical cutaway illustration of a mechanical wristwatch movement, precise line-and-wash rendering on cream paper, the mainspring barrel, escapement, balance wheel and gear train all visible and individually …”

যে কাজে উপযোগী

API রেফারেন্স

API মডেল আইডি
gpt-image-2
মডেল নির্মাতা
OpenAI
মডেলের ধরন
ছবি তৈরি ও সম্পাদনা
ইনপুট
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
অবকাঠামো
অংশীদার ক্লাউডের ক্ষমতা

অনুরোধের প্যারামিটার

  • modelstring · আবশ্যক

    Exact Runstage model slug (gpt-image-2).

  • promptstring · আবশ্যক

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

  • width / heightinteger · ঐচ্ছিক

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

অতিরিক্ত প্যারামিটার

  • quality
  • seed
  • enhance_prompt

দ্রুত শুরু

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

স্টুডিও খুলুন
# 1. Free pre-run retail quote
curl -X POST 'https://runstage.dev/api/v2/quote' \
  -H "Content-Type: application/json" \
  -d '{"model":"gpt-image-2","width":1024,"height":1024}'

# 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": "gpt-image-2",   "prompt": "A detailed technical cutaway illustration of a mechanical wristwatch movement, precise line-and-wash rendering on cream paper, the mainspring barrel, escapement, balance wheel and gear train all visible and individually labelled with fine leader lines, an ornate title block at the lower right reading \"CALIBRE 7 - EXPLODED VIEW\", draughtsman precision, muted sepia and slate palette",   "width": 1024,   "height": 1024,   "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=gpt-image-2' --form-string 'prompt=A detailed technical cutaway illustration of a mechanical wristwatch movement, precise line-and-wash rendering on cream paper, the mainspring barrel, escapement, balance wheel and gear train all visible and individually labelled with fine leader lines, an ornate title block at the lower right reading "CALIBRE 7 - EXPLODED VIEW", draughtsman precision, muted sepia and slate palette' -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)
Standard · 1024×1024Production square artwork (estimated)~$0.0845
Widescreen · 1536×1024Hero & banner aspect ratio (estimated)~$0.0974
Portrait · 1024×1536Vertical editorial & mobile layout (estimated)~$0.0974

বিলিং সংক্রান্ত তথ্য

  • Partner external model (Premium plan required). Quote via /api/v2/quote returns an estimate (is_estimated: true); settled on completion.
  • প্রিপেইড ক্রেডিট ব্যয়ের আগে POST /api/v2/quote দিয়ে বিনা মূল্যে খরচের অনুমান পাওয়া যায়।
  • কাজ শেষ বা ব্যর্থ হলে সংরক্ষিত অর্থ চূড়ান্ত খরচের সঙ্গে স্বয়ংক্রিয়ভাবে সমন্বয় করা হয় এবং অব্যবহৃত ক্রেডিট ফেরত দেওয়া হয়।
  • অংশীদারের বাহ্যিক সক্ষমতায় মডেলটি চলে। রিপোর্ট করা নির্বাহের পরিসংখ্যান অনুযায়ী চূড়ান্ত খরচ সমন্বয় করা হয়।

Runstage-এর বর্তমান ক্যাটালগ দর। প্রতিটি কির ব্যয়সীমাসহ প্রিপেইড USD ক্রেডিট।

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