image-creator
Use when generating or editing images or animated GIFs from the terminal with OpenAI GPT Image, including requests that name Flare, Sunburst, a quality level, or the API.
- License 许可
- MIT
- 最近更新
- 2026-11-15
- Stars
- ★ 0
- Forks
- 1
01 前言 Front Matter
- kind
- general
- name
- image-creator
- api-key
- openrouter
- description
- Use when generating or editing images or animated GIFs from the terminal with OpenAI GPT Image, including requests that name Flare, Sunburst, a quality level, or the API.
- model-version
- 2.6
02 资源文件 11
- 参考文档references/guide.md11.6 KB
- 参考文档references/research-2026-09-28/astra-test-prompt.md10.7 KB
- 参考文档references/research-2026-09-28/astra-test-results.md22.9 KB
- 参考文档references/research-2026-09-28/README.md4.6 KB
- 参考文档references/research-2026-09-28/sol-research-prompt.md4.8 KB
- 参考文档references/research-2026-09-28/sol-research-report.md31.6 KB
- 参考文档references/research-2026-09-28/verification.md18.6 KB
- 参考文档references/research-2026-11-11/README.md2.8 KB
- 脚本scripts/image_creator.py46.1 KB
- 脚本scripts/tests/conftest.py203 B
- 脚本scripts/tests/test_image_creator.py28.4 KB
03 SKILL.md 正文
Image Creator
Use <skill_dir>/scripts/image_creator.py. Read settings when choosing flags, prompting when composing a brief.
Steps
-
Pick the route from the request, without asking the user:
Request Route an image, even one that names Flare, Sunburst, a quality, or speed Codex plan: no --modelan image that names the API or OpenRouter --model sunburst, or--model flarewhen it names speed or Flarea GIF or an animation that names the API or OpenRouter --out <name>.gifon the API route abovea GIF or an animation without the API stop: the plan has no GIF yet; the API has it The plan is the user's Codex subscription: Images 2.6, with the model chosen by OpenAI's server and a fixed quality and size. Flare, Sunburst, quality levels, and GIF exist only through the API, which bills OpenRouter. A request that names the API is the consent to pay: pass the quality it names with
--quality(low,medium,high,xhigh, ormax, which "maximum" means), or keep the defaulthigh -
Set
--aspect W:Hfor composition or--size WxHfor exact delivery pixels. Add--transparentwith.pngor.webpfor cutouts. Ask about unresolved requirements that have no documented default -
Name the deliverable, composition, visible details, quoted text, and exclusions. For edits, state the change and what must remain unchanged. For a GIF, state the motion and how the loop closes
-
Run the CLI; use
--prompt-filefor long briefs and--dry-runto inspect settings. It answers in one JSON lineuv run <skill_dir>/scripts/image_creator.py generate --aspect 16:9 --out out/hero.png --prompt "..." uv run <skill_dir>/scripts/image_creator.py generate --model sunburst --size 1536x864 --out out/best.png --prompt "..." -
View every file under
files, apply the checks, and resolve each of the answer'serrors. A written image that needs attention fails the run and still lists itsfiles."ok":truealone does not establish visual quality -
Retry one variable at a time on the same route. On the plan, change the prompt or the shape flags;
--qualityand--modelapply only on OpenRouter -
Deliver the chosen file, its route, model, and quality, and unresolved defects. On the plan, that is the Codex plan, Images 2.6, quality fixed by OpenAI; when the request named Flare, Sunburst, or a quality, add in one line that this choice needs the API
Run doctor for backend readiness or generate --help for flags. There is no paid fallback when the plan is unavailable. Resizing adds pixels, not native detail
04 同仓库更多 Skills
writing-great-skills
Use when creating, modifying, evaluating a skill.
writing-for-agents
Use when creating, editing, or reviewing a skill, AGENTS.md, CLAUDE.md, or another document agents read.
why
Use for questions about design rationale, the history of regressions or incidents, or the evidence behind thresholds and tradeoffs. Use `how` for runtime behavior. Do not use for plain commit or date lookups.
verify-video-archive
Use when validating the macOS or Linux archive workflow reached by `just convert-video`, including real media, prerequisites, terminal progress, source safety, locking, and recovery.
verify-transcript
Use when validating transcript CLI behavior, locating its verification features, or running the paid YouTube end-to-end check.
verify-skills
Use when verifying `just compile-skills`, `just remote-skills`, `just install-skills`, or `just skills-discover` in the skills repository, such as after changing their scripts or adding, renaming, or moving a skill.