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

Simon Willison · 2026年11月28日

AI 摘要 AI 生成,可能有误

作者认为,2026 年底的前沿大语言模型(如 Gemini 4 Neon、Claude 和 GPT-6 Astra)如今能够通过编写代码(SVG、HTML、脚本、Blender 等)来生成高质量插图,使结果完全可编辑、可控制,这是 DALL-E 或 Nano Banana 等专用图像模型无法比拟的。他们以鸮鹦鹉恢复项目的 SVG 海报为例进行演示,表明代码驱动的图像支持直接操作、排版有保障、迭代便捷,因此是图表、海报、UI 组件和游戏素材的理想选择。作者总结道,Anthropic 缺少专用图像模型事实证明并非劣势,因为具备代码能力的文本大语言模型如今已能胜任视觉设计——这再次印证了“苦涩的教训”(bitter lesson)。

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:

继续阅读全文

为了尊重作者,这里只展示开头几段。你可以去原文阅读,或者在 HorizonReader 里读:划线做笔记、让 AI 帮忙。

更多来自 Simon Willison

Large CSV imports in Datasette (Datasette Advent Day 1)

AI 摘要The author is publishing daily videos through December demonstrating new Datasette features in an advent calendar format. The first video covers large CSV and TSV imports newly added in Datasette 1.0a46, where files of any size are streamed, parsed in the browser, and sent to the insert API in batches. The demonstration includes importing 26,000 rows of iNaturalist data in seconds, plus faceting for analysis and a new UI for selecting and reordering table columns.

datasette 1.0a46

AI 摘要The datasette 1.0a46 alpha release introduces a major new feature for large CSV imports, which is demonstrated in the first video of a new advent calendar series running up to Christmas. Additionally, row pages now list incoming many-to-one foreign key rows, formatted similarly to the new many-to-many feature.

ty 1.0

AI 摘要ty, Astral's fast Python type checker, has reached version 1.0 and is now recommended for production use. It is the default type checker at OpenAI, where migrating to it yielded a median 24x speedup and a 73% reduction in peak memory usage across millions of lines of critical Python. It also offers built-in Django support when the django-types package is installed.

AT Protocol: The Spaces Public Beta is Now Live

AI 摘要AT Protocol, the open protocol behind Bluesky, has launched the public beta of Spaces, a new feature introducing private and selectively shared data to a network that was previously entirely public. Spaces act as groups whose members gain permission to read private data hosted on the owner's Personal Data Server (PDS), allowing sharing with any group size from a personal journal to a community of millions. Rather than an end-user feature, Spaces is designed as a platform for building new applications on the open social internet.

Quoting Josh Dunsterville

AI 摘要The article quotes Josh Dunsterville responding to the announcement that Cursor has been rebranded as Grok Build, a product from SpaceXSI (previously SpaceXAI, formerly xAI, aka XAI Corp). It highlights the tangled chain of corporate renamings, noting that XAI Corp—owner of X (previously Twitter)—is itself owned by SpaceX. The piece is tagged with grok, ai, and cursor.