Code Models · [ 3 min read ]
Code-generated images are beating dedicated AI image models
Simon Willison's Gemini 4 Neon poster test shows code-driven images beating dedicated models for design: editable SVG, verified stats, and a bitter-lesson read on Anthropic's non-gap.
Key findings
- Gemini 4 Neon generated a Kākāpō conservation poster as editable SVG in Google AI Studio, with verified 2026 stats (325 birds, up from 51 in 1995; 90 chicks in a single season)
- AI Studio doesn't render SVGs, so visual fixes required manually pasting screenshots back into the session
- Code-driven image targets include SVG, HTML/CSS, Canvas, Blender scripts, WebGPU shaders and PDFs
- Claude Opus 5.5, GPT-6 Astra and Gemini 4 Neon generate game assets entirely through code
- Ideogram 4.0 claims bounding-box layout control via structured JSON prompting

Gemini 4 Neon can design a finished, fact-checked conservation poster as a single SVG file — and every element in it stays editable in Inkscape, Illustrator or Boxy SVG. That, in a sentence, is Simon Willison's argument that code-driven image generation has overtaken dedicated image models for design work.
The proof is a 1970s-style poster for the Kākāpō recovery programme, generated in Google AI Studio from a one-line prompt. Neon ran web searches to fill in the stats, Willison verified them, and they held up: 325 birds alive in 2026, up from 51 in 1995, plus a 90-chick single-season record tied to the 2026 rimu mast. The model even drew red rimu berries on the branch, unprompted — the fruit that drives kākāpō breeding seasons.
Iteration took several turns, partly because AI Studio doesn't render SVGs, so the model couldn't spot its own visual mistakes without pasted screenshots. Fixing overflowed text on the poster's pill-shaped banner required the user manually feeding images back into the chat.
What does this change for design workflows?
The core claim isn't aesthetic quality — it's that code-defined images are mutable. You can edit the SVG text directly, tweak it visually in a vector editor, or ask the model to write more code to remix it. Bitmap models like Stable Diffusion, DALL-E and Midjourney never offered that, and even the newer LLM-driven editors — Google's Nano Banana, OpenAI's ChatGPT Images, competent at multi-turn iteration over the past 15 months — remain, in Willison's framing, flat.
His three charges against image models:
- Weird glitches that appear when you zoom into details
- Text rendered as model-drawn shapes, with no guaranteed font-based consistency
- No layer or element control — you can describe or annotate changes, but can't directly manipulate a component
He grants one caveat in the update: Ideogram 4.0 claims "bounding-box layout control" through structured JSON prompting, so the gap isn't entirely static. And photorealism still belongs to the dedicated models. Code wins, he argues, for explanatory diagrams, poster designs, UI components, visualizations and game assets.
Is SVG the whole story?
No. A model wired into a coding agent can target any image mechanism that lands on disk or exits a script: HTML and CSS, 2D Canvas, Blender scripts, WebGPU shaders, PDFs, plain image files.
This, Willison says, is why vibe game development has exploded — Claude Opus 5.5, GPT-6 Astra and Gemini 4 Neon now produce "good-enough quality" 3D models, textures and sprites purely by writing code, and tweaking or remixing them is just more code.
What happened to Anthropic's supposed gap?
When Nano Banana and ChatGPT Images shipped, Willison assumed Anthropic had a serious product hole — OpenAI and Google both bundled strong image generation, plus generative video (Google with Veo and now Omni; OpenAI has since sunset Sora). Enterprises still run on PowerPoint, so a great image model looked table-stakes for the contract business.
That gap never materialized the way he expected. Claude now churns out visually compelling presentations and website designs, and Claude Design ships a full design-system platform — all built on code-driven images.
He reads it as another instance of the bitter lesson: he was convinced customers needed a specialist image model, and the text-output LLMs simply kept getting more capable until they handled visual design by writing code instead.
Skeptics will note the evidence here is one poster, one transcript, and a blogger's taste. But the editing argument is structural, not aesthetic. Bitmaps don't diff. Code does.
tools.simonwillison.net (Original)
More from Priya Raman
Show full bio
Staff writer covering technology and product news in AI-coding movement at Vibe Coder.
26 articles