
How to Call the image_gen Tool Syntax, Availability, and Where the Files Go
image_gen is a built-in Codex tool with no public argument schema — you steer it with a structured prompt, not JSON parameters. What it accepts, how to tell whether it is available, where generated files land, and when the scripts/image_gen.py CLI fallback is the right call instead.
Read the guide · 14 min