Code-driven AI illustrations beat dedicated image models for editable design
Code-driven AI illustrations are more useful than images from image models
Frontier LLMs released in late 2026 are far better at visual design, and Simon Willison argues their code-generated images—SVG, HTML/CSS, Canvas, Blender scripts—are more useful than bitmap output from tools like Midjourney or Nano Banana. He tested Gemini 4 Neon on a kākāpō conservation poster: it searched for accurate stats and produced an SVG he could edit directly in Inkscape or Illustrator. Code-driven images stay editable layer by layer, unlike flat bitmap models.
It turns out the text-output LLMs just kept getting more capable until they could handle visual design by writing code.
- jillesvangurp
I took some photos over the weekend that I made ChatGPT edit by taking control over Darktable. I watched it do a lot of sane edits, create masks, configure different filters, etc. It's not just randomly pushing buttons but you can see it reason about the composition and what it needs and you can guide it or have it criticize your own edits. Pretty impressive. People worry about AI generated photos. But AI can now drive photoshop directly, whether it has AI features or not.
Likewise, I've been doing building maps recently based on public data. We have a product where we need building maps overlayed on top of an outdoor map (long story). Creating those used to be a lot of manual work. Now it's easy. It's able to do visually complex things like taking scanned floor plan bitmaps, scaling and rotating them to match the outdoor map, and then drawing polygons for walls and rooms, classifying the rooms correctly, labeling them correctly. We actually are able to add custom 3D models as well. All via ChatGPT. It will generate the models, figure out how to render them, figure out building dimensions, room polygons, and all the rest. So, I can go from having nothing to a pretty slick building map in just a few prompts.
This is all fairly recent. Until GPT 6, most of this was science fiction. It would half work and but it would be all wrong. Now it's nailing it.
- jjcm
Disclaimer: I left Figma to build a UI design tool based on image models. I'm so biased here it hurts, but I've also spent 10 hours a day for the last year in this domain.
Where Simon is correct is that yes, the end result is editable.
Where I'd argue that he's incorrect is whether the end result is good. Would you want that parrot on a tshirt?
LLMs are fantastic at implementing, but if they don't have something to work towards that's verifiable, they tend to fall flat. This is true of both web design as well as illustration. They are improving in both categories, but I think it's telling that for all the influencer vids you see out there making games, all of them have a common piece of advice: use an image model to define the style and have the LLM work towards that.
IMO this is the better approach. Where Simon is wrong is you don't have to choose one or the other. You can use image models to guide the LLM to create something that's editable and creatively robust.
Take a look at this: https://html.non.io/kakapo/
This is the result of using an image model to guide the visuals[1], and then building that image using a LLM. It isn't a binary decision. You can use the best parts of both models.
[1] Original file: https://linen.ai/app/canvas/0ef09ba7-e244-4918-97c0-9da1b3bc...
- simonw
The key point I was trying to make here may risk being lost:
I think it's fascinating that Anthropic chose not to provide a text-to-image model at all - despite OpenAI's success with ChatGPT Images and Gemini's success with Nano Banana - and it's not hurting them, because regular Claude is good enough at producing visual design assets from code of the kind that business customers need.
- bambax
> The end result is pretty solid
I think the result looks exactly like an LLM image, the kind we now see on so many restaurants' menus.
That said, yes, many things can be expressed in code, and in particular, 3D designs. It's extremely satisfying to have an LLM produce Python code for Blender or FreeCAD and edit those, or have it include parameters that can be immediately tweaked even without a strong understanding of what the code actually does.
- EdwardDiego
I greatly like that Neon added the macrons to kākāpō that the original prompt lacked - the macron in Māori indicates the vowel is long and stressed. a = "ah",
- kākā = parrot, pō = night, e.g., night parrot.
- kaka = dress/clothing, po = nothing, it's not a word.
For another example of why macrons matter when trying to write Māori correctly (and I'm not casting aspersions on the author for not being familiar with Māori, many Kiwis struggle to get this right or don't even try)
- papa = buttock
- papā = to explode
- pāpā = father
So, it's nice to see that they trained their model on a (licenced... ...right?) Māori grammar guide / dictionary.
- vkvkakal
Whether a drawing is good is subjective. Set verification standards and check whether you've drawn it well, as you want.
For example, if you're drawing a character, you should create a character sheet or describe the character in detail with text. Then check whether each requirement is met.
- Joeri
These days Claude can quite happily churn out visually compelling presentations and website designs, and Claude Design provides a full design system platform. All built around code-driven images!
My wife is studying graphic design in evening school, and they actually suggest claude for many parts of the design process, brainstorming design ideas, researching typography, making moodboards, and eventually judging designs. Not even claude design, just regular old claude chat, even the free version.
They don’t let it do the actual designing, but it’s apparently a great sparring partner for a designer.
- bartread
I’ve found Opus 5.5 to be pretty competent when it comes to creating and working with SVGs.
LLMisms still creep into text labels, but they’re quickly fixed in Inkscape or by editing the files directly. It’s even pretty good at following the visual standards established by the broader project or other images generated so far.
It’s saved me a huge amount of time messing around (usually unhappily and with unsatisfactory results) hand-drawing illustrations.