Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

gpt-image

БесплатноБез исполняемых скриптовНе проверен

Generate or edit images through the packaged CLI and Reference Gallery, defaulting to GPT Image 2.6 Flare. Use for posters, typography, reference edits…

wuyoscarот wuyoscar★ 6 237 звёзд на GitHub

Об этом скилле

gpt-image

Agent runbook for GPT Image 2 / 2.5 / 2.6 generation/editing. Use the prompt library + packaged CLI. Do not reimplement image API code.

Operating loop

  1. Classify request and resolve model: generate, edit, inpaint, or multi-reference; identify asset type, exact text, aspect ratio, references, safety constraints, and budget/quality. Apply the model-choice rules below before any API call.
  2. Choose the reference path: Image 2 keeps the gallery-first workflow below. For 2.5/2.6, a precise brief needs no reference loading; otherwise choose one short task slice.
  3. 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/2.6.
  4. 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.
  5. 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.
  6. 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.
  7. Execute via CLI only: call gpt-image or scripts/generate.py with an explicit --model. Do not create a new generate.py, SDK wrapper, or ad-hoc script for normal image requests.
  8. Report: output file path(s), key flags, and one concise refinement suggestion if useful.

Fast path: default 2.6 Flare or an explicit 2.5/2.6 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
2.6 Flare (default) gpt-image-2.6-flare Fast generation and editing
2.6 Sunburst gpt-image-2.6-sunburst Detailed visual work and precise editing
2.5 Flare gpt-image-2.5-flare Fast general generation and drafts
2.5 Sunburst gpt-image-2.5-sunburst Precise reference edits and detailed control
Image 2 gpt-image-2 Existing Image 2 workflows and compatibility
  • With no model specified, or a request for “latest” / “Image 2.6”, use gpt-image-2.6-flare directly without model confirmation. Unqualified “Flare” / “Sunburst” means the 2.6 variant unless an earlier version was already selected for this task.
  • Preserve an exact model ID or a previously confirmed choice. If an explicit older family is ambiguous (for example “GPT 2.5”), ask which variant; for a misspelled model, clarify rather than silently replacing it. Bare gpt-image-2.5 and gpt-image-2.6 are not API IDs.
  • Always pass the resolved ID through --model, including the default. The standalone CLI also defaults to gpt-image-2.6-flare. Users can pin --model gpt-image-2 or a 2.5 model to retain earlier behavior.
  • 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.md when 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]

scripts/generate.py is a launcher: repo-local src/gpt_image_cli → installed gpt-image → PATH gpt-image → transient uvx/uv fallback.

Image to animation or website

Match the deliverable, not just the first image:

  • Native GIF: use --format gif, optional --frames (2-16) and --frame-duration (20-2000 ms). Size defaults to auto for GIF. In
Полный SKILL.md на GitHub

Установить gpt-image в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

agents/openai.yamlreferences/craft.mdreferences/gallery-anime-and-manga.mdreferences/gallery-architecture-and-interior.mdreferences/gallery-beauty-and-lifestyle.mdreferences/gallery-brand-systems-and-identity.mdreferences/gallery-character-design.mdreferences/gallery-cinematic-and-animation.mdreferences/gallery-cinematic-film-references.mdreferences/gallery-data-visualization.mdreferences/gallery-edit-endpoint-showcase.mdreferences/gallery-events-and-experience.mdreferences/gallery-fashion-editorial.mdreferences/gallery-fine-art-painting.mdreferences/gallery-gaming.mdreferences/gallery-illustration.mdreferences/gallery-infographics-and-field-guides.mdreferences/gallery-ink-and-chinese.mdreferences/gallery-isometric.mdreferences/gallery-more-illustration-styles.mdreferences/gallery-official-openai-cookbook-examples.mdreferences/gallery-photography.mdreferences/gallery-pixel-art.mdreferences/gallery-product-and-food.mdreferences/gallery-research-paper-figures.mdreferences/gallery-retro-and-cyberpunk.mdreferences/gallery-scientific-and-educational.mdreferences/gallery-screen-photography.mdreferences/gallery-tattoo-design.mdreferences/gallery-technical-illustration.mdreferences/gallery-typography-and-posters.mdreferences/gallery-ui-ux-mockups.mdreferences/gallery-watercolor.mdreferences/gallery.mdreferences/models.mdreferences/openai-cookbook.mdreferences/openai-image-2.5-editing.mdreferences/openai-image-2.5-generation.mdreferences/openai-image-2.5-layout-and-text.mdreferences/openai-image-2.5-migration.md

FAQ

Что делает скилл gpt-image?

Generate or edit images through the packaged CLI and Reference Gallery, defaulting to GPT Image 2.6 Flare. Use for posters, typography, reference edits, inpainting, native GIFs, sprite animation, image-led websites, and explicit Image 2/2.5/2.6 requests.

Как установить скилл gpt-image?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл gpt-image запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить gpt-image с