gen‑ai.news
← Back
Image

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

When most people think of AI-generated visuals, they picture the output of image models like Stable Diffusion, Midjourney, or DALL-E - raster images conjured from a text prompt. Developer and researcher Simon Willison pushes back on that default assumption, arguing that for a wide range of practical illustration needs, code-generated graphics driven by a language model are the more useful tool.

The core of the argument is editability. A graphic rendered from code - SVG, HTML canvas, a Python charting library, or similar - is fully inspectable and modifiable after the fact. If a label is in the wrong place, a color is off, or a data point needs updating, you change the code. A raster image from a generative model gives you no such foothold; your only option is to re-prompt and hope the next output is closer, or reach for a separate editing tool. For anything that needs to stay accurate or stay in sync with changing information, that is a meaningful practical difference.

There is also a precision advantage. Generative image models are trained to produce plausible-looking visuals, which works well for impressionistic or decorative content but creates real problems when accuracy matters - diagrams, charts, labeled figures, technical schematics. A language model writing code for a chart or diagram can be given exact values and constraints and will, with reasonable reliability, encode them correctly. The output can be version-controlled, diffed, and reviewed like any other artifact in a software project.

Willison's post fits into a broader conversation about matching AI tools to actual task requirements rather than defaulting to the most visible or widely discussed option. Code-driven illustration is not new - developers have long used libraries like D3, Matplotlib, or Mermaid - but the ability to generate and iterate on that code quickly through a language model lowers the barrier significantly for people who are not specialists. The takeaway is less about any single tool and more about keeping the full range of options in view when deciding how to produce visual content with AI assistance.

Enjoy this story? Get the next one in your inbox.

Twice a week: the most important stories in generative image and video AI, distilled into a 2-minute read.

Free. Unsubscribe any time. No spam, ever.

Your next read

Image

inclusionAI releases Ming-Image-0.2-Design open weights on Hugging Face

inclusionAI has released Ming-Image-0.2-Design as open weights on Hugging Face under an MIT license, positioning it as an upgrade to its previous design-focused text-to-image model. The release targets practical design workflows, including e-commerce imagery, UI drafts, and spatial renderings. Early evaluation results from late November place Ming at the top of the open-weight text-to-image leaderboard.

New York Times Warns Photographers Away from Photoshop 2027 Over AI Metadata
Image

New York Times Warns Photographers Away from Photoshop 2027 Over AI Metadata

The New York Times has told freelance photographers not to install the latest version of Adobe Photoshop because its new AI features can silently tag photos as AI-generated in their metadata. The directive, sent by the paper's photography leadership, reflects growing concern in photojournalism about AI tools that alter images in ways that may not be visible to editors reviewing the work.

New York Times Prohibits Photographers From Using Photoshop 2027
Image

New York Times Prohibits Photographers From Using Photoshop 2027

Adobe's Photoshop 2027 release brought a significant expansion of AI-powered editing tools to the application, prompting at least one major news organization to draw a firm line. The New York Times has announced it will prohibit its photographers from using Photoshop 2027, citing concerns over the integrity of photojournalism in an era of generative AI. The move reflects a growing tension between professional image editing tools and the editorial standards of news organizations.