दो मॉडल, एक ही इंटीग्रेशन
Flare रोज़मर्रा के काम का तेज़ मॉडल है और Sunburst सटीकता वाला। दोनों का एंडपॉइंट, रिक्वेस्ट ढाँचा और दर-सूची एक ही है, इसलिए स्विच करना एक शब्द बदलने जितना आसान है।
GPT Image 2.5 API / Flare और Sunburst, एक ही टोकन-आधारित API पर
Flare और Sunburst से चित्र बनाएं और संपादित करें। PiAPI पर दोनों मॉडल की टोकन दरें समान हैं।
दरें प्रति 10 लाख टोकन अमेरिकी डॉलर में हैं। Flare और Sunburst पर समान दरें लागू होती हैं।
| मॉडल | टेक्स्ट इनपुट | चित्र इनपुट | चित्र आउटपुट |
|---|---|---|---|
gpt-image-2.5-flareसबसे तेज़रोज़मर्रा के उपयोग के लिए उच्च गुणवत्ता वाले चित्र बनाना। | $3.75 | $6.00 | $22.50 |
gpt-image-2.5-sunburstसबसे शक्तिशालीसटीक चित्र निर्माण और संपादन। | $3.75 | $6.00 | $22.50 |
GPT Image 2.5 के साथ बनाना शुरू करें?
PiAPI टास्क API से GPT Image 2.5 कॉल करने पर आपको ये सुविधाएँ मिलती हैं।
Flare रोज़मर्रा के काम का तेज़ मॉडल है और Sunburst सटीकता वाला। दोनों का एंडपॉइंट, रिक्वेस्ट ढाँचा और दर-सूची एक ही है, इसलिए स्विच करना एक शब्द बदलने जितना आसान है।
quality पैरामीटर auto, low, medium और high स्वीकार करता है, इसलिए रेंडर समय और डिटेल का संतुलन आप हर रिक्वेस्ट पर तय करते हैं, इंटीग्रेशन में एक बार नहीं।
टेक्स्ट से इमेज बनाने के लिए प्रॉम्प्ट भेजें, या मौजूदा तस्वीर बदलने के लिए रेफ़रेंस इमेज जोड़ें। दोनों काम एक ही एसिंक्रोनस टास्क API से होते हैं।
टेक्स्ट इनपुट, इमेज इनपुट और इमेज आउटपुट, तीनों पर टोकन के हिसाब से भुगतान। न सीट शुल्क, न सब्सक्रिप्शन — प्रकाशित दरें ऊपर की तालिका में हैं।
टास्क भेजें, task id पाएँ, फिर टास्क एंडपॉइंट पोल करें या webhook का इंतज़ार करें। लंबी जनरेशन आपकी रिक्वेस्ट थ्रेड को कभी नहीं रोकती।
Flare और Sunburst, PiAPI API पर उपलब्ध हैं। एंडपॉइंट, प्रमाणीकरण और अनुरोध पैरामीटर के लिए API दस्तावेज़ देखें।
Sign up and grab an API key from the PiAPI workspace — free credits are included on sign-up.
Add credits on the billing page when you are ready to scale beyond the free tier.
POST your first task following the API docs, then poll the task until the result is ready.
Prototype prompts and settings in the the playground above before wiring them into your product.
curl -X POST 'https://api.piapi.ai/api/v1/images/generations/async' \
-H 'X-API-Key: YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"model": "gpt-image-2.5-flare",
"prompt": "YOUR_PROMPT",
"size": "1024x1024",
"quality": "low"
}'curl 'https://api.piapi.ai/api/v1/task/{task_id}' \
-H 'X-API-Key: YOUR_API_KEY'image_urls / image_url / data
curl -X POST 'https://api.piapi.ai/api/v1/images/edits/async' \
-H 'X-API-Key: YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"model": "gpt-image-2.5-flare",
"prompt": "YOUR_PROMPT",
"size": "1024x1024",
"quality": "low",
"image": [
"YOUR_IMAGE_URL"
]
}'curl 'https://api.piapi.ai/api/v1/task/{task_id}' \
-H 'X-API-Key: YOUR_API_KEY'image_urls / image_url / data
curl -X POST 'https://api.piapi.ai/api/v1/images/generations/async' \
-H 'X-API-Key: YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"model": "gpt-image-2.5-sunburst",
"prompt": "YOUR_PROMPT",
"size": "1024x1024",
"quality": "low"
}'curl 'https://api.piapi.ai/api/v1/task/{task_id}' \
-H 'X-API-Key: YOUR_API_KEY'image_urls / image_url / data
curl -X POST 'https://api.piapi.ai/api/v1/images/edits/async' \
-H 'X-API-Key: YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"model": "gpt-image-2.5-sunburst",
"prompt": "YOUR_PROMPT",
"size": "1024x1024",
"quality": "low",
"image": [
"YOUR_IMAGE_URL"
]
}'curl 'https://api.piapi.ai/api/v1/task/{task_id}' \
-H 'X-API-Key: YOUR_API_KEY'image_urls / image_url / data
API चित्र बनाने और संपादित करने के लिए gpt-image-2.5-flare और gpt-image-2.5-sunburst का समर्थन करता है।
दरें प्रति 10 लाख टोकन अमेरिकी डॉलर में हैं। Flare और Sunburst पर समान दरें लागू होती हैं।
quality पैरामीटर auto, low, medium और high स्वीकार करता है। xhigh, max और standard देने पर API, HTTP 400 लौटाता है।
More questions? See the API docs.
PiAPI ब्लॉग पर GPT Image परिवार से जुड़ी गाइड और तुलनाएँ।