Skip to content

Make images with Nano Banana

2:26 · 6 chapters ·

In lpm, Claude Code and Codex can make images with Nano Banana: ask in plain words, add your Google Gemini key from the card lpm shows, open the image in lpm with the model, cost and prompt it was made with, ask Codex for Nano Banana Pro and allow a whole project, and set keys, approval and a daily limit in Settings.

Transcript

The narration, chapter by chapter. Pick a time to play from there.

What it does

Generate images in Claude Code and Codex with Nano Banana. In lpm, you ask your agent for a picture in plain words, and it lands in your project as a file.

Ask Claude Code

Here's a Claude tab in a sample project. Type what you want, and say nano banana, Google's image model. Click Send. Claude writes a full description of the image, then asks lpm to make it.

Add your key

The first time, lpm needs a Google Gemini key, one with billing turned on. This card asks for it right here, so you never leave the tab. It also shows what Claude asked for: the full prompt, which you can still edit, then the model, the size, about five cents, and where the file goes. Now paste your key, and click Save and continue. The key stays on this computer, and Claude only gets the file back.

See the image

lpm makes the image and saves it to a generated folder in your project, kept out of Git. A real one takes twenty or thirty seconds, shortened here. Claude replies with the file's path. Click the path, and the image opens right here in lpm. Under it, lpm notes how it was made: the model, the cost, which agent asked, and the whole prompt, with a button to copy it.

Ask Codex

Codex works the same way. Close the image, and click Codex. This time, ask for nano banana pro, the best image model Google has, and then click Send. lpm has the key now, so it only asks you to allow it. Just this once would ask again next time. Click Allow in saas-app, and this project's later requests run straight away. Codex replies with its path. Click it, and there's the infographic, made with Nano Banana Pro, with its cost right under it.

Settings

Now close it. Then open Settings, and pick Images and speech. Your keys are here: Google's for Nano Banana, and OpenAI's for GPT Image and for speech. Approval sets when lpm asks: each time, once per project, or Always allow. And once you pass the daily limit, every request asks again. Further down, pick the image model lpm uses when you don't name one, and see what agents made this month. So ask Claude Code or Codex for an image in plain words, allow it once, and it's in your project.

More in AI coding agents and Git

All lessons