Skip to content
AI.info

The Pulse

Simon Willison says code-based AI illustrations offer easier editing

Simon Willison tested Gemini 4 Neon on an editable conservation poster and argues that newer language models are becoming useful design tools. He says code-generated images give users more control over individual elements than conventional image generators.

Simon Willison says code-based AI illustrations offer easier editing

Newer language models can produce illustrations as editable code rather than flat images, giving users another way to revise a design, writer Simon Willison argues. In a November 28 post, he described testing that approach with a conservation poster and said recent models have become better at visual reasoning and design than their predecessors.

His assessment rests in part on a trial with Google’s Gemini 4 Neon. Rather than asking an image generator for a finished picture, he asked the text-output model to write an SVG poster, a format whose text and graphic elements can be edited afterward.

A poster built through prompts

The initial request specified a poster promoting the kakapo recovery project, with research into its details and a 1970s graphic-design style. Willison used the model in AI Studio and followed the first prompt with requests to make the bird more realistic, particularly its face, and to fix text that did not fit within parts of the design.

Willison said the work took iteration partly because AI Studio does not render SVG files, so the model could not identify visual mistakes there without help. He supplied images to point out the text-fitting problems and exported the full session as Markdown.

The resulting poster is editable as an SVG: its text can be changed directly, or the design can be opened in visual editing software including Inkscape, Adobe Illustrator and Boxy SVG. Willison said AI Studio searched Google for the poster’s figures and that he checked them.

From SVG to other formats

Writing code also gives a model connected to a coding-agent environment access to other ways of producing images, Willison wrote. His examples include generated image files, HTML and CSS, HTML Canvas, Blender scripts, WebGPU shaders and PDF.

In Willison’s assessment, models including Claude Opus 5.5, GPT-6 Astra and Gemini 4 Neon can write code for good-enough quality game assets such as textures, sprites and 3D models. Further code can then be used to adjust, reuse or remix those assets.

Trade-offs with image models

Willison contrasts that workflow with image-generation models that directly output bitmap graphics. He credits newer systems, including Nano Banana and ChatGPT Images, with becoming capable of editing existing images and preserving details over multiple conversational turns.

He says those systems can still produce glitches visible on close inspection and generate text shapes without the consistency of a font-based typography system. In his account, their flat output also limits direct manipulation of individual elements or layers, although users can request changes in text or annotate an image.

In an update to the post, Willison noted an example he had not considered initially: Ideogram 4.0 claims to offer bounding-box layout control through structured JSON prompting. The writer still sees a place for dedicated image models in photorealism, while preferring code-driven images for uses such as diagrams, editable posters, interface components, visualizations and game assets.

Sources

  1. Original source Simon Willison’s Weblog “Code-driven AI illustrations are more useful than images from dedicated image models” simonwillison.net

In the tracker

Related stories

Explore

More articles