Skip to departures
Hpjadul
MAC END

Code-Generated AI Graphics Offer Editable Designs Beyond Image Models

Departs
Crew
David Jones
Passengers
867

Text models can build posters, diagrams and game assets as editable code, giving designers finer control than flat image outputs.

Code-Generated AI Graphics Offer Editable Designs Beyond Image Models

Text models are becoming useful visual design tools because they can produce graphics as code. That changes what happens after the first draft: designers can adjust a label, move an element or reuse a component without asking an image model to redraw the whole scene. For posters, diagrams, interfaces and game assets, that editability can matter as much as the initial image quality.

A poster experiment with Gemini 4 Neon shows the tradeoff in practice. Asked to create an SVG promoting the kākāpō recovery project in a 1970s graphic style, the model produced a retro design with a green bird, red rimu berries, concentric shapes and several blocks of text. The result took iteration. The author asked for a more realistic bird face and corrections where text did not fit its container. AI Studio did not render the SVG for the model, so it could not inspect the design directly and needed visual feedback from the user.

The finished poster includes specific figures: a population of 325 birds in 2026, up from 51 in 1995; 90 chicks during a rimu mast; and three predator-free islands. The author says they checked the figures after AI Studio searched for information. Red rimu fruit also appears on the branch, a detail relevant to breeding; it is associated with the kākāpō breeding season.

Retro-style illustrated conservation poster in cream, dark teal, orange and yellow. Header text: "★ AOTEAROA NEW ZEALAND • TAONGA CONSERVATION ★", large title "KĀKĀPŌ", banner "RECOVERY PROGRAMME • PROTECT THE NIGHT PARROT". Centre: a plump green kākāpō with a grey beak and whiskered face perched on a branch with red rimu berries, in front of concentric orange and yellow rings on a starry night-sky arch, with curved text "★ STRIGOPS HABROPTILUS • WORLD'S ONLY FLIGHTLESS NOCTURNAL PARROT ★". Orange starburst badge: "2026 RECORD 325 BIRDS ALIVE UP FROM 51". Three stats below: "1995 → 2026 51 TO 325 75-YEAR POPULATION HIGH", "2026 RIMU MAST 90 CHICKS SINGLE-SEASON RECORD", "PREDATOR-FREE 3 ISLANDS WHENUA HOU • PUKENUI • TE KĀKAHU". Footer banner: "ADOPT A KĀKĀPŌ • KEEP SANCTUARIES WILD", "DOC TE PAPA ATAWHAI & NGĀI TAHU • DOC.GOVT.NZ/KAKAPO".

Code makes the next edit easier

Because the poster is an SVG, its text and shapes remain separate objects. A designer can edit the wording in the file or open it in a vector editor such as Inkscape, Adobe Illustrator or Boxy SVG. That gives the user direct control over individual elements, with typography rendered through actual fonts instead of approximated letter shapes.

The same approach extends beyond SVG. A model connected to a coding environment can write files or scripts that produce HTML and CSS, Canvas graphics, Blender scenes, WebGPU shaders or PDFs. The key requirement is that the visual result can be expressed as code and rendered by a suitable tool. Once the asset exists in that form, revisions can often be made by changing its underlying structure.

That workflow is also relevant to game development. Models such as Claude Opus 5.5, GPT-6 Astra and Gemini 4 Neon are described as capable of producing usable 3D models, textures and sprites through code. A developer can ask for a change to a sprite or texture and have the model revise the generating code. The quality bar here is practical: assets need to work in a project and be easy to refine, even if they are not finished to the standard of a specialist artist.

Where image models still fit

Dedicated image systems, including Stable Diffusion, DALL-E and Midjourney, generate bitmap images directly. More recent language-model-based tools such as Google’s Nano Banana and OpenAI’s ChatGPT Images have improved at editing existing images and retaining details across multiple turns. That makes conversational iteration more useful than it once was.

But raster output still has limits. Close inspection can reveal visual glitches, and text drawn as part of an image may not match the consistency of type set with a font. The result is also a flat image: users can describe or mark up a change, but they generally cannot select one component and manipulate it with the precision available in a layered design file.

There are exceptions to that boundary. Ideogram 4.0 describes bounding-box layout control through structured JSON prompts. That offers a way to specify where elements should go, though it does not erase the broader distinction between controlling a generated image through prompts and editing a vector or code-based design directly.

Photorealistic imagery remains a strong use case for dedicated image models. For explanatory diagrams, editable posters, interface components, visualizations and game assets, code-generated graphics offer a useful combination of structure and revision control. Teams still need to check factual details, inspect rendered output and account for tool limitations; code does not guarantee that a design is accurate or visually polished.

Design capability can come from coding

The shift also changes how model products compete on visual work. Google and OpenAI built prominent image and video generation offerings, while Anthropic’s Claude has developed capabilities for producing presentations and website designs. Claude Design presents a design system built around code-driven output.

My read is that specialist image generation is only one route to useful design tools. As text models improve at writing and revising code, they can take on visual tasks where the user benefits from editable elements, reproducible layouts and direct control over the result. The practical question for a given project is less “Can the model make an image?” and more “Can the team inspect, correct and reuse what it makes?”

Source: David Jones · simonwillison.net
Arrived · Hpjadul

Also departing from this gate