← Files NovelistARCHIVED FILE

skills/create-visual-asset/references/codex-image-generation.md

606 Bytes · Oct 4, 2026 · 12:29 UTC

↓ Download file

# Codex Image Generation

Use Codex's built-in `image_gen` capability when it is present in the current
task.

1. Build the complete style-locked prompt in the shared skill.
2. Invoke the image generator with that prompt.
3. Inspect the raster result before accepting it.
4. Save the selected output under `assets/cover/` or
   `assets/illustrations/`.
5. Register only the saved workspace-relative path.

Do not assume every Codex environment exposes image generation. If the
capability is absent, follow `external-image-provider.md` or return the final
prompt without claiming that an image was created.

SHA-256: be331794eab40eb26a1dcb8a5ad37977e0298b5804961ebdb8f34517b4d1c8ce