Top
Best
New

Posted by gmays 10 hours ago

Code-driven AI illustrations are more useful than images from image models(simonwillison.net)
269 points | 139 commentspage 4
KeplerBoy 3 hours ago|
This seems already widely known among academics. Nobody would have a paper figure generated by a diffusion model (okay, some do and I always sigh at those "infographics" with compression artifacts and garbled text), but tell it what you want and point it at your maplotlib it gives stellar results you can iterate on in tandem with the models.
gobdovan 7 hours ago||
That's a weird take on the bitter lesson, image models are generally regarded as a separate architecture from LLMs, not a specialist version of a LLM that happens to only work on images. From the linked wiki article, 'general approaches ... are better at taking advantage of the falling cost of computation over time'. But here you don't need to tune your image model any more than you need to tune your LLM.

I can as easily claim that generating image from code is a more specialist way than simply drawing pixels so I'll write exactly this article but in reverse when the trend reverses.

simonw 6 hours ago|
Right, it's absolutely not the classic bitter lesson. It's more of an echo of the bitter lesson. In this case it turns out that, once again, a next-token-predicting LLM can take on new unexpected tasks as it grows in capability.

Six months ago I wouldn't have dreamed of getting usable 3D models out of an LLM.

gobdovan 5 hours ago||
I looked at the code and the transcript and there's basically no intermediary representation it exploited. It went from spatial reasoning and geometry to putting that directly into SVG. I wonder what people that are super good at cssbattle.dev or some SVG equivalent think of the way the LLMs generate code.

I'd say they're kind of human-like at this point. They generate code, see screenshot, don't like it, correct it. And since they're super fast and don't get bored, they can just iterate till their discernment can't get them any further.

simonw 5 hours ago||
In this case I was using Gemini via AI Studio, and AI Studio doesn't have the ability to render an SVG and then feed the rendered image back into the vision input of the model.

If you tried the same thing in Claude Code or Codex or Antigravity or pretty much any decent coding agent harness it would be able to do that round-tripping on its own.

measurablefunc 7 hours ago||
I don't think this is true. If you don't believe me then try to get any of the frontier models to create a rigged character in blender w/ its mcp server and see how far you get.
CuriouslyC 7 hours ago||
Plenty of people have done this, the models look bad compared to output from Trellis2, but it's more a taste/effort thing than a capability thing, when you give a model a reference picture and tell it to reconstruct it in 3d, the results can be quite good with the current frontier.
sorrywhat 7 hours ago||
For hard surface modelling - yes. For anything organic, especially if it clean topology and to be rigged afterwards - no.
simonw 7 hours ago|||
I've been having them using Blender without the MCP:

  Use the already installed
  /Applications/Blender
  to render a scene of a pelican
  riding a bicycle
I don't know anything about rigging myself, so I can't evaluate if they are capable of doing that or not.

Four months ago they could hardly produce a credible 3D model at all.

measurablefunc 7 hours ago||
Yes but it is obvious none of the frontier models can actually generate assets for games or even make anything useful without copying from existing games. I've tried "clean room" experiments and they have all been failures.
simonw 6 hours ago||
How recently did you try, and with which models?

I'm pretty happy with these, which I got from Opus 5.5: https://simonw.github.io/battledrones/models.html

Somebody forked it and redid the models in the style of "la France de la Belle Époque (vers 1900)" - they're a lot more fun: https://menufactory43.github.io/panache/models.html

measurablefunc 6 hours ago|||
I tried very recently (opus 5.5, astra/sol, carbon/neon/hydrogen) since I don't really do much with games. I was curious if they could design something from reference and it didn't work to my liking so I gave up.
simonw 6 hours ago||
The trick I usually use is to ask the model for three or more different visual approaches, then I pick the one I like best and say "option C but make it more aggressive/colorful/playful/neon/thought-provoking" or whatever and keep iterating until I get to something I like.

As a real-world example, there are images in this PR showing the variants of the redesigned models that I picked from: https://github.com/simonw/battledrones/pull/29

measurablefunc 6 hours ago||
Makes sense. I'll keep that in mind next time I circle back to games.
vunderba 6 hours ago|||
Small critique on the vehicles. Since Claude Code has made the wheels ten-sided cylinder, you can see physically see their flat surfaced edges which immediately made it obvious that the wheels aren’t actually turning as the harvester moves.

I'll admit I chuckled that a megalodon-class LLM managed the complexity of animating a spider moving its eight legs but somehow couldn't grok that tires should rotate.

notholomew 7 hours ago||
Seriously, or try doing literally any production model to image or image to model work, object detection, masking, segmentation etc with synthetic reference etc. It's such a silly claim. "More useful" eye rolling
PostOnce 7 hours ago||
This sucks; here's why:

The kakapo is deformed. It's wrong artistically, anatomically, and physically; it's ugly. It has whiskers coming out of its beak. It is not patterned like a kakapo. Its feet are wrong. The berries are floating in midair, and the leaves on the branch make no sense.

It says KAKAPO in huge text, but then "recovery programme * protect the night parrot" in in the same tiny box, where it should probably say "recovery programme" in larger text so "kakapo recovery programme" is all one phrase.

The macrons in kākāpo are part of the letter, so there should be space above them but they overlap what should be a divider. Crowding makes it look bad.

The poster is kind of nonsensical and isn't good at promoting anything. It would be acceptable if a middle-schooler produced it at school, but as a product coming from an adult with help from a supercomputer? Garbage.

What most people think is "good enough" isn't actually good enough. LLMs don't mean we can just stop giving a shit about the details.

jansan 6 minutes ago||
I agree, the image sucks and it will never become great with that approach. A few weeks ago I posted the below result from Claude of a pelican on a bicycle that Claude obviously put a lot of effort into, and the result is very complex, but just "not good":

https://claude.ai/public/artifacts/c7e842c0-bf92-41af-82c6-3...

However, I think vector images as output as the way forward. SVG is reasonably good at describing output (even though a mesh fill would be nice), but not great for modeling unless you want flat and geometric art. It lacks warping, stroke effects, and the filters still are slow on many platforms. But these things are fixable and I am confident that we will get good looking editable, styleable graphics in future as output from LLMs.

simonw 7 hours ago||
> Whether or not you like the poster, the key thing about it is that everything is editable.

How good the poster is isn't the point.

solidasparagus 7 hours ago|||
Why not? The core idea of image gen models is modeling the visual domain effectively. The ability to generate images with quality and taste sufficient to make them usable is a goal every bit as much as generating usable source code is in the text domain.
nashashmi 7 hours ago||
Typically the matter with chat based models is the number of messages required to get the AI to improve on a drawing. It seems that this number has come down quite a lot.
PostOnce 7 hours ago||||
It doesn't matter if it's editable if it sucks.

Editing the text isn't going to make it suck less without so much work that you may as well have started from scratch.

simonw 7 hours ago|||
You can prompt it to iterate on it.

If you look at the full transcript - https://tools.simonwillison.net/markdown-svg-renderer?url=ht... - you can see that I got a really bad Kākāpō the first time, and a much better one after a follow-up prompt.

If I spent more than a couple of minutes on the example - and if I had better design talent myself - I could iterate to a much better result.

Or I could pull it into Inkscape and do the rest of the work by hand.

PostOnce 7 hours ago||
Or you could just make a poster in inkscape or illustrator to begin with and save time and end up with a better product.

But nevermind it's 2026.

simonw 7 hours ago||
I couldn't create illustrations in 2025 or earlier either.
amval 4 hours ago|||
And it seems you still can't on 2026.
PostOnce 7 hours ago|||
If you really want an editable document and can't draw and don't want to learn to draw, there's still a better way:

You can generate an illustration in an image model, and then import that image into a vector editor to do the text and layout. Or you could do it as a webpage and then export it. There are a lot of options. You could do it by cut-and-paste (literally, by hand, on paper, like we used to). You can think and you can solve the problem and get a great solution in minimal time.

You know, use the right tool for the job. We're too deeply invested in having one magic box do everything so we don't have to think about it, and it's damaging, and I think frankly so is the way you're promoting the use of these one-shot wonder-tools: you're incentivizing the production of more garbage that none of us want to look at, that wastes our time, and that is ultimately ineffective and inefficient. We can do better, if we want to.

nashashmi 7 hours ago||||
Agree There are limits on how accurate the information is, that There are missing style cues. But The question that can someone with a finer eye like yourself be able to improve on it? Using SVG editor? Using AI?

Yes, yes and yes.

King-Aaron 4 hours ago|||
I love reading responses to opinions such as yours.

AI generated images objectively suck, and this is true 100% of the time. The problem being an awful lot of people don't have the capacity to identify what good aesthetics actually look like and will vehemently argue that you are wrong.

fg137 3 minutes ago|||
Then you might as well just ask the model to generate the whole thing instead of going through this and writing a post. Depending on how you look at it, it's editable.
cat5e 1 hour ago||
Maybe I’m reading too much HN… ask yourself, is this impressive to anyone with artistic ability? I could draw something better looking with more style in a couple of minutes. And I’m, (like most on this site) and an engineer… lol.
AmazingTurtle 58 minutes ago||
Yeah why don't you post it 3 more times please
qprofyeh 2 hours ago||
Thought the image-as-code take was somewhat interesting technically, especially the honesty about the limitations and a mention of Ideogram later on, but the last $ection revealed what this blog is actually about.
sinuhe69 7 hours ago||
>>"I was convinced a specialist image model was necessary to serve customers with design problems. It turns out the text-output LLMs just kept getting more capable until they could handle visual design by writing code."

Clearly the AI labs are now following the path that universal coding ability will solve (almost) everything.

amval 4 hours ago||
The poster fails at communicating and it fails at being visually appealing.

(Please don't answer to me again that the result is editable. Sure?)

To write a whole post around the concept of this being "pretty solid" is, frankly, embarrassing. I am not sure this makes the point you think is making.

simonw 4 hours ago|
Out of interest, what do you think "pretty solid" means?
amval 3 hours ago||
Something that, while not perfect, holds scrutiny and does its job well.

This is, as I said, embarrassing to call "pretty solid".

Confusing messaging and communication: - What is the poster _for_? Education (stats), celebrate the species, drive adoption? - Call to action ("Adopt a Kākāpō") small, buried at the end. - "Keep sanctuaries wild". Doesn't this goes against the adoption message? - Repeating info "Up from 51" in that weird badge.

Factually incorrect information: - Night parrot is a different bird, not related to it: https://en.wikipedia.org/wiki/Night_parrot

Design: - Do we need to talk about the bird itself? It has whiskers, it lacks defining features like its owl-like face... - Everything in spaced all-caps in similar sizes, not clear visual hierarchy outside the headline, badge competing with the headline. - Tons of small text for a poster that will not be readable

What is your definition of pretty solid?

dr_dshiv 2 hours ago|
Not the bitter lesson again!
More comments...