gpt-image
यह क्या करती है
यह स्किल एक command line टूल के ज़रिए GPT Image मॉडल से नई तस्वीरें बनाती है या मौजूदा तस्वीरें संपादित करती है। यह उन लोगों के लिए है जिन्हें posters, चिह्नित संपादन या टेक्स्ट वाली तस्वीरें चाहिए।
कब इस्तेमाल करें
- ✓जब आप GPT Image मॉडल से नई तस्वीर या poster बनवाना चाहें।
- ✓जब आप किसी संदर्भ तस्वीर को संपादित करना या उसका कोई हिस्सा भरना चाहें।
- ✓जब आपकी तस्वीर में सटीक टेक्स्ट, एक तय साइज़ या गुणवत्ता का स्तर चाहिए।
Skill का लिंक
https://github.com/wuyoscar/GPT-Image2-Skill/blob/main/skills/gpt-image/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मेरे लिए GPT Image मॉडल से एक poster बनाइए, जिसमें Summer Sale शब्द मोटे अक्षरों में लिखा हो।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
एजेंट सही मॉडल और तरीका चुनता है, जाँचता है कि टूल उपलब्ध है, फिर आपके ब्रीफ़ के साथ image कमांड चलाता है। महंगे या अस्पष्ट अनुरोधों के लिए यह पहले कुछ दिशाएँ पूछ सकता है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
gpt-image
Agent runbook for GPT Image 2 / 2.5 generation/editing. Use the prompt library + packaged CLI. Do not reimplement image API code.
Operating loop
- Classify request and resolve model:
generate,edit,inpaint, ormulti-reference; identify asset type, exact text, aspect ratio, references, safety constraints, and budget/quality. Apply the model-choice rules below before any API call. - Choose the reference path: Image 2 keeps the gallery-first workflow below. For 2.5, a precise brief needs no reference loading; otherwise choose one short task slice.
- Refine only as needed: preserve the brief. Add a specific gallery case, craft section or template only to fill a concrete gap; do not load them as a bundle for 2.5.
- Confer when useful: before costly/ambiguous/high-polish calls, present 1–3 matched directions plus planned size/quality; ask at most one concise question at a time. Skip long discussion for precise “generate now” requests with a resolved model.
- Preflight, no side effects: use existing CLI/skill if present. Check command availability (
command -v gpt-image), installed tool lists when the tool manager exists, or the runtime’s own skill registry when available. Do not assume a local home path in cloud/hosted runtimes. - No blind setup: do not reinstall, overwrite skill folders, create/modify
.env, or write API keys unless the user explicitly requested setup. Global/shared installs are opt-in only. - Execute via CLI only: call
gpt-imageorscripts/generate.pywith an explicit--model. Do not create a newgenerate.py, SDK wrapper, or ad-hoc script for normal image requests. - Report: output file path(s), key flags, and one concise refinement suggestion if useful.
Fast path: confirmed 2.5 model + precise prompt + “generate now” → preflight and CLI, without a mandatory reference/craft pass. Do not reconfirm an exact valid model.
Model choice and prompt adaptation
| Choice | API model ID | Suggested use |
|---|---|---|
| Flare | gpt-image-2.5-flare |
Fast general generation and drafts |
| Sunburst | gpt-image-2.5-sunburst |
Precise reference edits and detailed control |
| Image 2 | gpt-image-2 |
Existing Image 2 workflows and compatibility |
- If the model is absent, ambiguous (such as “GPT 2.5”), or misspelled, ask one clear question offering Flare, Sunburst, and Image 2 with these trade-offs, then wait. For a typo, suggest the likely intended choice without silently correcting it. Do not treat
gpt-image-2.5as an API model ID. - Use an exact supported model ID, an unambiguous choice from this menu, or the user's already confirmed choice for the current task without asking again. If the user explicitly says “you choose,” explain the pick briefly and proceed; consider their task and budget rather than always selecting the most expensive settings.
- Always pass the chosen ID through
--model. The CLI retainsgpt-image-2as its backward-compatible default, but that default is not a substitute for the agent resolving the user's choice. - Keep model confirmation, cost discussion, and API flags separate from the final image prompt. Use the model-specific reference path below only when it helps the task. Preserve the user's exact text, intended content, reference identity, and edit invariants; obtain confirmation before material prompt changes.
- Generate one image unless the user requested more. Do not silently switch models, change material prompt content, or run multiple model/prompt variants or comparisons. Ask before additional paid variants. For an authorized same-prompt comparison, keep the prompt, size, and quality identical unless the user asks to vary them.
- Consult
references/models.mdwhen parameter support or validation status needs checking. On an invalid-model, access/403, quota, or policy failure, report the failure and stop; do not switch models or rewrite the prompt to retry automatically.
CLI resolution
Preferred call order:
# Existing CLI on PATH
gpt-image --model MODEL_ID -p "PROMPT" [-f OUT] [-i REF...] [-m MASK] [options]
# Installed skill folder; use runtime-provided skill path when available
uv run "$SKILL_DIR/scripts/generate.py" --model MODEL_ID -p "PROMPT" [-f OUT] [-i REF...] [-m MASK] [options]
# Direct transient CLI when the user requested setup/one-off CLI execution
uvx --from git+https://github.com/wuyoscar/gpt_image_2_skill gpt-image --model MODEL_ID -p "PROMPT" [options]
अक्सर पूछे जाने वाले सवाल
क्या इसके लिए API key चाहिए?
हाँ। image कॉल के लिए image सेवा की API key सेट होनी चाहिए, और एजेंट आपके लिए फ़ाइलों में keys नहीं लिखता।
क्या यह तस्वीर का कोई हिस्सा भर सकती है?
हाँ। यह inpainting को सपोर्ट करती है, जो तस्वीर के चुने हुए क्षेत्र को संपादित करता है।
क्या यह कॉल करने से पहले पूछती है?
महंगे, अस्पष्ट या बहुत परिष्कृत अनुरोधों के लिए यह कुछ दिशाएँ पहले सुझा सकती है।
जानकारी
लेखक का मूल विवरण
Generate or edit images with GPT Image 2 or 2.5 through the packaged CLI and Reference Gallery. Use for image requests including imprecise 'GPT 2.5' model names, posters, typography, reference edits, and inpainting; resolve the model choice before generation.
लोकप्रियता
- GitHub स्टार
- 6.0k
- रैंकिंग में स्थान
- #14470
- लाइसेंस
- MIT
- अपडेट की गई
- 30/9/2026
कमेंट
- …
इस repository की और skills
मिलती-जुलती skills
gifgrep
394kयह आपके एजेंट को GIF लाइब्रेरी में खोजने, नतीजों का पूर्वावलोकन करने, GIF डाउनलोड करने, और उससे एक फ़्रेम या फ़्रेम्स की शीट निकालने देती है।
meme-maker
394kयह आपके एजेंट को मीम टेम्पलेट चुनने, अपने कैप्शन जोड़ने और मीम को SVG या PNG इमेज के रूप में बनाने देती है।
ios-icon-gen
280kआपके एजेंट को iOS ऐप्स के लिए icons बनाने देता है। यह Apple symbols या दूसरे स्रोतों के आइकन इस्तेमाल करके सही files बनाता है।