The Practice Room / Codex / Episode 4
Codex makes a set of pictures, from the terminal
Ask once, name the style first, and Codex writes every picture into the folder as its own file. They match because the style was said once.
One ask, not three
Ask a chat window for an icon, then ask it for a second one, then a third. You get three pictures that do not belong together: different weight, different colours, a different idea of what an icon is.
The terminal changes the shape of the request. Because the output is files in a folder rather than pictures in a conversation, you can ask for the whole set in one sentence, and one sentence is what makes them match.
Style first, then the things
The order matters. Name the style before you name the subjects, so the style applies to all of them rather than to whichever one you happened to mention first.
The sentence that made the three icons on this page
Three asks, three styles
- make me a calendar icon
- now a phone icon
- now a map pin
One ask, one style
- flat, two colours, thick lines:
- a calendar, a phone, a map pin
- three files, one set
The style words do the work. Everything after the colon is just the list.
Do it yourself
- Make a folder for the set and open Command Prompt inside it.
- Type codex and press enter. Codex opens in the same window.
- Write one sentence: the style, a colon, then the things you want, separated by commas.
- Let it run. It writes each picture into the folder as its own file and prints the names.
- Open the folder and look at them side by side. That is the test.
If one of them is wrong, ask for that one again by name. The others are already files on disk and nothing you do to one touches the other two.
A test you can run
Do it twice with the same subjects and change only one thing.
First, ask for three pictures one at a time, in three separate messages. Then start again and ask for all three in one sentence with the style named first. Put the two sets side by side.
The difference is not subtle, and once you have seen it you will not go back to asking one at a time.
Check yourself
Answer each before you open it.
Why does asking once make them match?
Because the style is described a single time and applies to everything in the request. Three separate asks give the model three separate chances to interpret the style differently.
What do you actually get back?
Separate image files in the folder you started Codex in, plus the names printed in the terminal. They are ordinary files you can open, move and use.
One of the three is wrong. Do you have to redo the set?
No. Ask for that one again by name. The other two are already saved and are not touched.
Words used here
Who owns an AI generated image • Claude Code vs Cursor vs Codex for a non coder • What is a terminal and why do AI tools use it
Go deeper
OpenAI's Codex CLI documentation covers what else the terminal version can take as input, including handing it a picture to work from.
What she says in the film
Codex can make you several pictures at once, and it runs in the terminal.
Open Command Prompt in the folder you want them in, and type codex.
Press enter, and Codex opens right there in the window.
Now ask for all of them in one sentence, and name the style before you name the things.
Flat, two colours, thick lines.
Then the three you want. A calendar. A phone. A map pin.
It makes all three and writes them into the folder as separate files.
And they match, because you described the style once, for all of them.
Ask one at a time and you get three different styles. Asking once is the whole trick.
Want one of them changed? Ask for that one again. The other two do not move.
Subscribe.
No permission required.
Book a session and we do it together on a call.
Book an hourAsk what did not make sense
Comments go through our own form and are read before they appear. Links are not allowed; describe it in words.
More from Codex.

Codex, installed in one line
Codex is OpenAI's assistant. It does the same kind of work Claude Code does.

Can Codex in the terminal generate images?
Last time we installed Codex. Today it makes something different.

What goes in an AGENTS.md file?
Codex forgets everything about your project the moment you close the window.
Get the next walkthrough.
One email when something goes up. The argument, the film and the term, nothing else. One click to leave.
Have a question now? Ask Mstimaj, she knows the archive.