Code-driven AI illustrations beat dedicated image models for many tasks
Simon Willison (author); Google (Gemini 4 Neon)
Simon Willison reports that recent frontier LLMs are strong at visual reasoning and design, producing SVG and other code-defined images that can be edited without the drift of image-output models. He tested Gemini 4 Neon on a poster prompt.
Source: simonwillison.net ↗ · By CapyLaunch
Quick facts
| Author | Simon Willison |
|---|---|
| Published | 28 November 2026 |
| Model tested | Gemini 4 Neon in AI Studio |
| Test prompt | SVG poster for the Kakapo recovery project, 1970s graphic design |
| Sponsor | Greptile (code review tool) |
What is it
Simon Willison reports that recent frontier LLMs are strong at visual reasoning and design. They can produce 2D images defined as code, such as SVG, instead of bitmaps. He tested Gemini 4 Neon by asking it to create an SVG poster promoting the Kakapo recovery project.
How it works
The model writes code such as SVG, HTML, Canvas, Blender scripts or WebGPU shaders. A model with a coding agent environment can run that code to produce image files. Further edits are made by changing the code, not by re-prompting a bitmap generator.
Why it matters
Code-defined images stay editable. You can change text directly in the SVG or open it in tools like Inkscape or Adobe Illustrator. Raw image models drift when iterated and can glitch or lack layer control, so code output suits diagrams, UI components, posters and game assets better.
For builders: For UI, poster or diagram generation, asking an LLM to output code like SVG gives you editable, reproducible results that are easier to iterate on than raw image generation.
Who + how to try
For: Developers, designers and founders who build UI, posters, diagrams or game assets with LLMs.
Try:
https://simonwillison.net/2026/Nov/28/code-driven-ai-illustrations/
FAQ
Why use code instead of an image model?
Code-defined images are editable and reproducible. Text is set from a real font system and elements can be changed individually, while bitmap output from image models can glitch and is flat.
Which tools can edit the SVG output?
The article names Inkscape, Adobe Illustrator and Boxy SVG for visual editing. The SVG text can also be edited directly.
Are dedicated image models still useful?
Yes. The article says they still have their place for photorealistic images, but code-driven images look like a better bet for explanatory diagrams, editable posters, UI components, visualizations and game assets.
Did AI Studio render the SVG during the test?
No. AI Studio does not render SVGs, so the models cannot spot visual mistakes without help, which made the test take some iteration.
Also new this week in Developer tools
All 13 Developer tools stories →datasette-charts 0.4a0 adds a plugin hook for custom chart types
Simon Willison released datasette-charts 0.4a0, which reworks the plugin hook that lets other plugins define new chart types. He also launched a site with a plugin author tutorial and a gallery of core charts linked to live demos.
datasette-mcp 0.4 fixes compatibility with Datasette 1.0a44
Simon Willison released datasette-mcp 0.4, which fixes compatibility with Datasette 1.0a44. The plugin connects Datasette to the Model Context Protocol.
Hugging Face: Generating videos with LTX-2.5 on AWS Trainium3
Hugging Face published a post on running the LTX-2.5 video generation model on AWS Trainium3 chips. The source text provided is only the title, so specifics are not confirmed here.
AI made self-hosting fun again
A blog post argues that AI tools have made running your own services at home enjoyable again. The story drew 261 points on Hacker News.
Spotted a mistake? Email hello@capylaunch.com and we will correct it. How we make CapyLaunch TLDR News.
