Blog · AI Agent News · Coding agents VIEN

AI code-driven SVG posters let you edit text in 4 prompts

Simon Willison built an editable 1970s Kakapo SVG poster with Gemini 4 Neon in 4 prompts, showing why code beats flat bitmap models for text.

AI code-driven SVG posters let you edit text in 4 prompts
Images: Paul Downey from Berkhamsted, UK / Wikimedia Commons (CC BY 2.0)
In this article
  1. Four prompts produced an SVG poster with directly editable layers
  2. Code-driven graphics win on sharp text, though photorealism still needs image models
  3. Beyond SVG posters, code-generated assets are moving into slides and video production

You ask an AI image generator for a product poster or a title card for a video edit, and the lighting looks sharp while the main headline turns into garbled symbols. When you ask the model to fix that single word, the rest of the layout shifts or the subject beside it warps. In a 28 November 2026 analysis, developer Simon Willison laid out a practical way around that loop: let frontier text models write graphics code instead of painting pixels.

1970s-style Kakapo conservation SVG poster generated by Gemini 4 Neon
1970s-style Kakapo conservation SVG poster generated by Gemini 4 Neon in 4 prompts with crisp, editable lettering.Image: Simon Willison

Four prompts produced an SVG poster with directly editable layers

Gemini 4 Neon needed only 4 prompts in Google AI Studio to finish a Kakapo conservation poster with sharp lettering and verified facts. To test how late-2026 text models handle design tasks, Willison asked the model to write code for a 1970s-style SVG poster and research accurate details before drawing.

On the first prompt, AI Studio ran Google searches to pull real conservation figures and even added red rimu berries on the branch, which are vital during the bird's breeding season. A second prompt refined the parrot's face using image search references, and prompts three and four fed screenshots back so the model could adjust layout code where badge text spilled outside its pill.

The difference comes down to how the file is stored. A bitmap image from a standard generator behaves like paint locked onto a flat sheet of paper: text shapes and illustrations fuse together, so zooming in exposes artifacts and fixing one label often means regenerating the frame. By contrast, an SVG file (graphics built from computer instructions) stores every letter and shape on its own separate layer, allowing you to edit the text in code or open the file directly in Inkscape, Adobe Illustrator, or Boxy SVG to swap fonts and move elements independently.

flowchart LR
    A["Turn 1: Code + web search"]:::data --> B["Turn 2: Fix bird face"]
    B --> C["Turns 3–4: Screenshot fixes"]:::human
    C --> D["Edit SVG layers directly"]:::key
  classDef key fill:#1d1a10,stroke:#ffd23f,color:#ffd23f,stroke-width:1.6px
  classDef human fill:#181817,stroke:#e8e6df,color:#e8e6df,stroke-dasharray:5 3
  classDef data fill:#1c1c1b,stroke:#8d8b85,color:#cfcdc6
  classDef muted fill:#181817,stroke:#3d3d3a,color:#8d8b85
Four-prompt loop in Google AI Studio where Gemini 4 Neon searched real stats and fixed overflowing labels before layer editing.

Code-driven graphics win on sharp text, though photorealism still needs image models

Recent image generators still bake words into flat pixels, leaving users unable to grab and adjust individual elements directly. Over the past ~15 months, LLM-guided models such as Google's Nano Banana and OpenAI's ChatGPT Images have improved multi-turn editing and detail retention.

Even so, Willison noted that these models still draw text shapes directly into pixels rather than using a real font engine, leaving subtle glitches visible when you zoom in. Because the output remains flat, you can describe changes or sketch annotations, yet you still cannot grab an individual object or text layer with your cursor and nudge it into place.

CriterionBitmap image modelsCode-driven graphics
Text sharpnessCan glitch or warp when zoomed inUses real font systems, crisp at any scale
Layer editingRequires new prompts on a flat imageEdit individual words and layers directly
PhotorealismBest choice for realistic scenes and facesCannot replace camera-style photography

Still, code generation is not a blanket replacement for dedicated image models. Photorealistic scenes and lifelike textures remain the clear territory of specialized image generators, while newer tools like Ideogram 4.0 are also testing bounding-box layout control through structured JSON prompts. Code workflows have their own friction too: because Google AI Studio does not render SVG previews inline, Gemini 4 Neon could not spot its own overflowing pill labels until Willison pasted screenshots back into the chat.

Also readTPU and Trainium beat Nvidia GPUs up to 2.5x on InferenceX

Beyond SVG posters, code-generated assets are moving into slides and video production

Once a text model is wired into a coding agent environment, SVG is only the starting point. Willison pointed out that models such as Claude Opus 5.5, GPT-6 Astra, and Gemini 4 Neon can execute code to build HTML and CSS layouts, 2D HTML Canvas visuals, Blender scripts for 3D models, WebGPU shaders, and game sprites. Because every piece lives as editable script or markup on disk, tweaking or remixing an asset for the next scene simply means updating a few lines of code.

Four code-driven graphic formats AI generates with editable layers
Four code-driven graphic formats AI produces with editable layers, from SVG posters to Blender scripts and Claude Design.

That shift also reshapes the competitive picture across major AI labs. Willison admitted he once thought Anthropic faced a product gap while Google paired image models with Veo and Omni for video and OpenAI offered ChatGPT Images even after sunsetting Sora. Instead, Claude now produces polished presentations and websites, and Anthropic built its entire Claude Design platform around code-driven visuals—echoing broader industry tension over creative control seen in tools like Canva.

For anyone editing videos or assembling slide decks, the division of labor is straightforward. Keep dedicated image models for realistic scenes and photography, and ask a coding-capable text model for SVG posters, explainer diagrams, title cards, or Blender scripts whenever you need accurate numbers and direct layer control.

Sources

  1. Code-driven AI illustrations are more useful than images from dedicated image models Simon Willison’s Weblog

Coding agentsAI imagesGoogle Gemini

Was this useful?

More on this topic