OpenAI
GPT Image 2
পরীক্ষামূলক · অংশীদার মডেল · প্রিমিয়াম। বর্ণনা থেকে ছবি তৈরি করুন। ছবি তৈরির আগে মডেলটি নির্দেশনা নিয়ে যুক্তিভিত্তিক বিশ্লেষণ করে। একাধিক পরস্পরনির্ভর শর্তের প্রম্পটে উন্নতি সবচেয়ে স্পষ্ট, যেমন উপাদানের অবস্থান নির্দিষ্ট করে দেওয়া লেআউট, নির্দিষ্ট সংখ্যক বস্তুসহ দৃশ্য বা লেখার নির্দিষ্ট একটি লাইন রাখতে হবে এমন ডিজাইন। আউটপুটের আকার 512 থেকে 2048 px পর্যন্ত।
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 কি দিয়ে POST /api/v2/run ব্যবহার করে লেখা থেকে ছবি তৈরি ও মাল্টিপার্ট ছবি সম্পাদনা করুন
- ক্রেডিট ব্যয়ের আগে POST /api/v2/quote দিয়ে বিনা মূল্যে খরচের অনুমান নিন
- একটি 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).
অতিরিক্ত প্যারামিটার
qualityseedenhance_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 ক্রেডিট।
পূর্ণ ক্যাটালগে তুলনা করুন