ComfyUI में GPT Image 2: Official Partner Node Setup और Troubleshooting
GPT Image 2 ComfyUI canvas में official OpenAI Partner Node से आ सकता है, लेकिन यह local GPU पर डाउनलोड किया गया checkpoint नहीं है। ComfyUI graph और post-processing संभालता है; generation और editing remote OpenAI API call रहती है। Graph के भीतर image चाहिए तो Partner Node, app/script में एक image चाहिए तो Image API, और assistant या agent flow में image एक step हो तो Responses API चुनें।
सबसे पहले Official Route
न्यूनतम क्रम रखें: ComfyUI या Comfy Cloud को वर्तमान version पर लाएं, OpenAI GPT Image node खोजें, model को gpt-image-2 सेट करें, API key, organization verification, billing और account status जाँचें, फिर एक सरल text-to-image request चलाएं। पहले masks, reference images, batch jobs, upscaling और random custom nodes न जोड़ें।
| आवश्यकता | आरंभिक route | सफलता का checkpoint |
|---|---|---|
| ComfyUI graph में GPT Image 2 | Official OpenAI Partner Node | node दिखे, model selectable हो और एक request सफल हो |
| App या script में image | OpenAI Image API | file save करके size, format और errors जाँचें |
| Multi-step assistant | Responses API image tool | tool call, context और returned file traceable हों |
| Third-party node | पहले audit, फिर छोटा test | endpoint, key, data path, limits और maintainer स्पष्ट हों |
तीन Layers में Debug करें
पहली layer ComfyUI environment है: version, template, node import और workflow JSON। दूसरी OpenAI route है: key, organization verification, billing, model availability और network। तीसरी custom node/provider है: endpoint, key storage, data path, limits और maintenance। Missing node आमतौर पर version या import समस्या है; auth error account route की समस्या है; 4K या background failure parameter-support सीमा हो सकती है।
Account को पहले साबित करें
पाँच बातें पहले जाँचें: node key पढ़ पा रहा है या नहीं, organization GPT Image models के लिए eligible है या नहीं, billing/usage state अनुमति देती है या नहीं, network remote API तक पहुँचता है या नहीं, और node आपके इच्छित size/background/edit विकल्प expose करता है या नहीं। ComfyUI के बाहर उसी account से एक minimal direct Image API request चलाएं। Direct भी fail हो तो account ठीक करें; direct सफल और ComfyUI fail हो तो node, template, environment variables और wiring देखें।
Minimal Text-to-Image और Edit
पहला prompt सरल और low-risk रखें। सफलता के बाद जाँचें कि वास्तव में gpt-image-2 call हुआ, output अपेक्षित path पर save हुआ और workflow reopen करने पर reproduce हुआ। फिर एक input image के साथ केवल एक छोटा edit करें। Complex graph बाद में जोड़ें। ComfyUI local preparation कर सकता है, लेकिन GPT Image 2 generation/editing remote रहता है; privacy, latency, retries और cost tracking में यह सीमा लिखें।
Custom Nodes का Audit
GitHub या third-party custom node को official न मानें। Maintainer, license, commit history, issue status, endpoint, base_url, model mapping, key locations, logs, retry boundary और data terms देखें। Key workflow JSON, URL, console या shared graph में नहीं आनी चाहिए। यदि provider, retention, limits या failure reason स्पष्ट नहीं हैं तो real material न भेजें।
Common Failures
- node नहीं दिखता: version, Cloud/Desktop release या import जाँचें।
- node है पर
gpt-image-2नहीं: node update, restart और official template जाँचें। - auth/permission error: key, organization, billing, eligibility और network जाँचें।
- text-to-image चलता है पर edit fail: छोटी image, सरल mask और बिना downstream nodes के test करें।
- custom node चलता है पर official fail: दोनों routes को अलग evidence के रूप में देखें।
- 4K/background fail: API docs और pixel-level verification देखें; node support मानकर न चलें।
FAQ
क्या GPT Image 2 local ComfyUI model है?
नहीं। Official route में ComfyUI orchestration करता है और model execution OpenAI remote route पर होती है।
कौन-सा node पहले उपयोग करें?
Official OpenAI GPT Image Partner Node, model gpt-image-2 के साथ। Missing होने पर पहले update और logs देखें।
ComfyUI या direct API?
Graph ownership चाहिए तो ComfyUI, app/script के लिए Image API, और multi-step assistant के लिए Responses API चुनें।
Further Reading
संबंधित गाइड
Agent Image Studio