Imagegen Codex Skill
Generate and edit project images with Codex's native image tool.
What it adds
The official sample skill covers generation, editing and transparent images. It prefers the built-in image tool and treats the API-backed CLI as a separate, explicitly selected fallback.
imagesnativeediting
Get set up
- Check whether your Codex host already exposes the image generation skill or tool.
- Ask for the image or edit, providing references and output requirements.
- Use the built-in tool path when available; it does not require an OpenAI API key.
- If you explicitly choose the fallback CLI/API path, follow the sample's separate environment and setup instructions.
Before you install
- A Codex host with the built-in image_gen tool
- Reference image for edits when relevant
- Separate API credentials/runtime only if choosing the fallback
Compatibility & limitations
Native Codex capability where available
Cursor: Copying this skill does not provide Codex's tool in Cursor. Cursor has its own native image generation.
- A source sample does not guarantee feature availability for every account or host.
- The no-API-key statement applies to the built-in path, not the fallback.
This listing is based on source documentation. We have not installed or runtime-tested this asset.
How it fits together
Native alternative to an external provider for ordinary image generation and editing.
Agent Tools · SkillAccess image, video, language and utility apps through belt.Sources & provenance
Reviewed 2026-09-10. Source revision: main (mutable; commit not pinned).
View recorded revision- Original sourcehttps://github.com/openai/codex/blob/main/codex-rs/skills/src/assets/samples/imagegen/SKILL.md
- Installation documentationhttps://developers.openai.com/codex/skills
- License evidencehttps://github.com/openai/codex/blob/main/LICENSE
- Codex skill discoveryhttps://developers.openai.com/codex/skills
- Cursor skill discoveryhttps://cursor.com/docs/skills
- Cursor native image generationhttps://cursor.com/changelog/2-4
- Repository history checked 2026-09-10https://github.com/openai/codex/commits/main/