The Practice Room / Codex / Episode 2

Codex

Can Codex in the terminal generate images?

Last time we installed Codex. Today it makes something different.

By MstimajPublished 15 October 20263 min read2 readsLevel Start HereTool Codex

Sign in to save your place and mark this done. Free, no card.

It makes a different kind of thing

Claude Code wrote you a document. Codex makes something you can print.

The walk to get there is identical, which is the useful part. Once you know how to stand in a folder and open an assistant, you know it for both tools.

Do it yourself

  1. Open the Command Prompt.
  2. Type cd on its own. It prints the folder you are standing in.
  3. Type cd education-center, the folder you built yourself.
  4. Type codex and press enter.
  5. It asks whether you trust the folder. You made it, so yes.
  6. Ask for something with a picture in it: Make a folder called Codex, and generate a flyer for a free Saturday coding class for beginners at the local library, ten in the morning.
  7. It tells you where it saved the file. Open the folder and look.

What it is good at, and the one place it still fails

Where it still goes wrong

  • Words inside a picture
  • A sign, a label, a title in the image
  • Check every letter before you use it

What it does well

  • Makes the picture rather than finding one
  • Leaves real files in your folder
  • Edits the same file when you ask again

It is not searching a library of stock images. Nothing it gives you existed before you asked.

It does not find a picture, it makes one

Codex does not go searching for an image that already exists. It generates one, and it rewrites your sentence into a fuller description before it does.

That rewriting step is why a short request can come back with more than you asked for. It is filling in the details you left out, which is helpful when it guesses well and the reason to be specific when it does not.

Words inside pictures still go wrong

The time on the flyer, the name of the library, the day of the week. Text inside a generated image is the part that fails most often, and it fails quietly. The flyer looks finished and the time says eleven.

Read every word on the image before you print anything. When it is wrong, you ask again rather than trying to patch it.

Check yourself

Where does the picture come from?

Codex generates it. It does not search for an existing image.

Why does the result have detail you never asked for?

It rewrites your sentence into a fuller description first and fills in what you left out.

What is the one thing to check before printing?

Every word on the image. Text inside generated pictures goes wrong often, and it looks finished when it does.

The time on the flyer is wrong. What do you do?

Ask again. Patching text inside a generated image is not the move.

When it goes wrong

No such file or directory. The folder you named is not inside the folder you are standing in. Type cd on its own to see where you are.

It wrote a description instead of making a picture. Ask for the flyer itself rather than for a plan for one.

You cannot find the file. Codex prints the path when it saves. Read that line, and open that folder.

Words used here

Codex, Claude Code and Cursor compared • AI agent • Why it makes things up

Go deeper

The Codex CLI documentation lists what the tool can reach and what it refuses, which is worth knowing before you point it at a folder that matters.

What she says in the film

Last time we installed Codex. Today it makes something different.

Open the Command Prompt. Same walk as before.

Type c d on its own. It prints the folder you are standing in.

Then c d into education dash center, the folder you built yourself.

Type codex, press enter.

It asks if you trust the folder. You made it, so yes.

It opens its own screen, with its name, the model it is running, and the folder you are in.

Now ask. Watch the box grow as the sentence gets longer.

Make a folder called Codex, and generate a flyer for a free Saturday coding class for beginners at the local library, ten in the morning.

It does not go and find a picture. It generates one, and it rewrites your sentence first.

Then it tells you where it saved the file.

Open the folder. There it is, and the words on it came out right.

Text inside a generated image still goes wrong often. When it does, you ask again.

Claude Code wrote a document. Codex made something you can print.

That is your Codex tip for today.

No permission required.

Reference card: can Codex in the terminal generate images. The four steps from cd to asking in one sentence, the real Command Prompt output including the trust prompt, and the flyer Codex generated from that sentence.
The whole lesson on one card.
Next walkthroughWhat goes in an AGENTS.md file?
On your machineWant this set up on your own computer, with your own files?

Book a session and we do it together on a call.

Book an hour

Ask 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.

Comments are read before they appear.

The newsletter

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.