# Code-driven AI illustrations are more useful than images from dedicated image models

DevFeed: [Code-driven AI illustrations are more useful than images from dedicated image models](<https://devfeed.tech/articles/code-driven-ai-illustrations-are-more-useful-than-images-from-dedicated-image-models-158836.md>)

Original publisher: [Read original article](<https://simonwillison.net/2026/Nov/28/code-driven-ai-illustrations/>)

Author: Simon Willison

Published: 2026-11-28T17:45:40Z

Content type: article

Language: en

Sources: [Simon Willison](<https://devfeed.tech/sources/simon-willison.md>), [Simon Willison's Weblog](<https://devfeed.tech/sources/simon-willison-s-weblog.md>)

Topics: [Image](<https://devfeed.tech/topics/image.md>), [ai-image-generator](<https://devfeed.tech/topics/ai-image-generator.md>), [Frontier AI](<https://devfeed.tech/topics/frontier-ai.md>), [web graphics](<https://devfeed.tech/topics/web-graphics.md>), [3D](<https://devfeed.tech/topics/3d.md>), [Tool](<https://devfeed.tech/topics/tool.md>), [Visual Studio Code](<https://devfeed.tech/topics/visual-studio-code.md>)

Tags: [2026](<https://devfeed.tech/tags/2026.md>), [2d](<https://devfeed.tech/tags/2d.md>), [3d](<https://devfeed.tech/tags/3d.md>), [3d-model](<https://devfeed.tech/tags/3d-model.md>), [adobe](<https://devfeed.tech/tags/adobe.md>), [adobe-illustrator](<https://devfeed.tech/tags/adobe-illustrator.md>), [agent](<https://devfeed.tech/tags/agent.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ai-2-342](<https://devfeed.tech/tags/ai-2-342.md>), [ai-studio](<https://devfeed.tech/tags/ai-studio.md>), [anthropic](<https://devfeed.tech/tags/anthropic.md>), [anthropic-359](<https://devfeed.tech/tags/anthropic-359.md>), [claude](<https://devfeed.tech/tags/claude.md>), [claude-331](<https://devfeed.tech/tags/claude-331.md>), [code](<https://devfeed.tech/tags/code.md>), [coding](<https://devfeed.tech/tags/coding.md>), [coding-agent](<https://devfeed.tech/tags/coding-agent.md>), [coding-agents](<https://devfeed.tech/tags/coding-agents.md>), [coding-agents-272](<https://devfeed.tech/tags/coding-agents-272.md>), [creative](<https://devfeed.tech/tags/creative.md>), [design](<https://devfeed.tech/tags/design.md>), [design-84](<https://devfeed.tech/tags/design-84.md>), [design-skills](<https://devfeed.tech/tags/design-skills.md>), [edits](<https://devfeed.tech/tags/edits.md>), [gemini](<https://devfeed.tech/tags/gemini.md>), [gemini-206](<https://devfeed.tech/tags/gemini-206.md>), [generative-ai](<https://devfeed.tech/tags/generative-ai.md>), [generative-ai-2-080](<https://devfeed.tech/tags/generative-ai-2-080.md>), [image](<https://devfeed.tech/tags/image.md>), [images](<https://devfeed.tech/tags/images.md>), [llms](<https://devfeed.tech/tags/llms.md>), [llms-2-044](<https://devfeed.tech/tags/llms-2-044.md>), [models](<https://devfeed.tech/tags/models.md>), [openai](<https://devfeed.tech/tags/openai.md>), [openai-482](<https://devfeed.tech/tags/openai-482.md>), [svg](<https://devfeed.tech/tags/svg.md>), [svg-57](<https://devfeed.tech/tags/svg-57.md>), [text-to-image](<https://devfeed.tech/tags/text-to-image.md>), [text-to-image-48](<https://devfeed.tech/tags/text-to-image-48.md>), [useful](<https://devfeed.tech/tags/useful.md>)

## AI overview

Code-generated illustrations can be easier to refine and reuse than images from dedicated image models because their elements are defined in editable code. The article illustrates this with a Gemini 4 Neon SVG poster for a kākāpō recovery project: AI Studio required iterative corrections and could not render the SVG to catch visual mistakes, but the finished text and artwork could be edited in code or visual SVG tools. Code-based workflows can also target formats such as HTML/CSS, Canvas, Blender scripts, shaders, and PDFs. The article contrasts this with bitmap image models, which can iterate on existing images but may show detail glitches, lack consistent font-based typography, and do not allow direct manipulation of individual elements or layers. It says dedicated image models still have a place for photorealistic images; for diagrams, posters, UI, visualizations, and game assets, the author prefers code-driven output.

## Source excerpt

An interesting trend in frontier LLMs released in the second half of 2026 is that they tend to be much better at visual reasoning and creative "design" than their predecessors. If you ask these text-output models to create a 2D image (or a 3D model, as discussed here previously), you're very likely to get a useful result, and you may even get one that's aesthetically impressive. Most importantly, because these images are defined using code you (or the model) can make further edits to them without any of the weirdness that comes from iterating with a text-input, image-output model. Poster design with Gemini 4 Neon Gemini 4 Neon is getting some buzz for its 2D design skills, so I decided to try it out in AI Studio starting with the prompt: Create an SVG poster promoting the Kakapo recovery project, research details first, make the poster look really cool and give it a 1970s graphic design It took some iteration, partly because AI Studio doesn't render SVGs, so the models there can't spot visual mistakes without assistance. Make the kakapo a bit more realistic, especially the face (image search for references) Then: [IMAGE] The text here doesn't fit the pill, fix it And: [IMAGE 2], [IMAGE 3] Also these Here's the full transcript, exported from AI Studio as Markdown because I couldn't find a way to share a session that didn't require a Google login to view. The end result is pretty solid: AI Studio ran Google searches to find those numbers - I've checked and they are all correct. I like that it included red rimu tree fruit on the branch, since those are essential for the breeding season. Whether or not you like the poster, the key thing about it is that everything is editable. You can directly edit the text in the SVG, or you can open it in Inkscape or Adobe Illustrator or Boxy SVG and edit it visually. It's not just SVG I have a well documented fondness for SVG generation, but it's not the only game in town. A model hooked up to a coding agent environment can execute c