codex-gateway-imagegen
Installation
SKILL.md
Codex Gateway Imagegen
Use this skill to turn a prompt into an image file through the gateway defined in ~/.codex/config.toml.
It supports both:
- text-to-image generation
- image editing with one or more reference images
Quick Start
- Confirm whether the user wants generation or editing, then confirm the output path.
- Choose a size that matches the target:
- Square image:
1024x1024 - Portrait / phone screenshot:
1024x1536 - Landscape:
1536x1024
- Square image:
- Run
scripts/generate_gateway_image.py. - If the request fails inside the sandbox with TLS, schannel, or read-timeout errors, rerun the same command with escalated host-network access.
- Report the saved file path.