← All news

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

AuthorSimon Willison
Published28 November 2026
Model testedGemini 4 Neon in AI Studio
Test promptSVG poster for the Kakapo recovery project, 1970s graphic design
SponsorGreptile (code review tool)

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.

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.

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.

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/

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.

All 13 Developer tools stories →

Spotted a mistake? Email hello@capylaunch.com and we will correct it. How we make CapyLaunch TLDR News.

Get CapyLaunch Weekly

New indie launches and the week in AI tools and models, every Monday. Free, and you can unsubscribe anytime.

We send a confirm link first. Privacy