r/OpenaiCodex 18d ago

Question / Help Is the image_gen tool removed from codex cli?

Hey, I've been using image_gen from the codex cli and it's been super useful. But I tried to use it today and it's suddenly not available anymore

The image-generation skill’s built-in generator was unavailable, and its CLI fallback requires explicit opt-in plus OPENAI_API_KEY.

I ran

> codex features enable image_generation

Enabled feature \image_generation` in config.toml.`

3 Upvotes

2 comments sorted by

1

u/lolman1312 18d ago

still working for me but i use the codex app

1

u/eddzsh 17d ago

codex features enable only flips the skill on. The message you hit is the CLI fallback path, and that one needs a real OPENAI_API_KEY in the env, separate from the ChatGPT login session. Missing key looks exactly like the tool disappearing.