I reacted to the discovery with, “Huh, you really can.”
My image-generation experiments also include custom sprites made through Codex, connecting these tools to code driven illustration workflows.
I found I could “tell Codex to make you a custom one,” and it generated a custom robot.
Codex generates the robot's sprites using gpt-image-2.
I use image-generation tools for practical experiments as well as image manipulation. These examples range from trying OpenAI’s gpt-image-1-mini through a Python CLI to seeing how an agent skill can add image generation with Nano Banana Pro.
The tools I use most often are the ones that help with image manipulation.
I shared 3 links to image-manipulation tools: https://t.co/KJjbecHrRp, https://t.co/uagsvhvvop, and https://t.co/4J1z9guo32.
OpenAI released an image-generation model called gpt-image-1-mini, which it described as 80% less expensive than the large model.
I vibe-coded a Python CLI tool to try gpt-image-1-mini.
My example prompt was “racoon eating cheese wearing a top hat, realistic photo,” and I reported that the image cost ~0.2 cents.
export OPENAI_API_KEY="$(llm keys get openai)"
uv run http''s://tools.simonwillison.net/python/openai_image.py "A pelican riding a bicycle"
I shared more here, including my CLI tool, the transcript I used to create it and a pelican riding a bicycle for good luck.
I called an example of an agent skill for image generation a “Great example of a skill.”
The example adds image generation using Nano Banana Pro through a skill markdown file and a few Python scripts. This illustrates a way to extend an agent’s workspace with an image-generation capability, alongside the CLI-based experiments above.
The skill example adds image-generation capability using Nano Banana Pro via a skill markdown file and a few Python scripts.
Related: code driven illustration workflows, creative ai image uses, image model releases and demos