Route A: Built-in Image Gen Skill (Recommended for Beginners)
Generate images directly with natural language, no API Key required:
生成一張 16:9 的國中數學簡報封面圖,風格專業明亮,不要文字。
Images are stored at:~/.codex/generated_images/
Route B: API Route (Advanced)
When you need OPENAI_API_KEY , first refer to Route B in this repo's 08-用Image Gen Skill在Codex生圖.md ; do not directly apply OpenCode's ~/.config/opencode/skills/ path.
Prompt Format
用用途:...
尺寸比例:...
主題:...
風格:...
色彩:...
限制:...
⚠️ Important Chinese text is recommended to be added in post-production; do not write the API Key into the repo.