Hacker News new | past | comments | ask | show | jobs | submit
ChatGPT Images (and some others like Nano Banana) are autoregressive models, and the text model generates the tokens in the same way which are then passed in the correct form for an image model to decode. That is how it can reason the prime numbers + Pokemon + art style conditional.

It is different from earlier image models which just use a simple text encoder and struggle with conditional logic if not explicitly trained for it.

If you look at the thinking steps it clearly includes:

> * Mapped Pokémon primes > * Organized the grid

before generating the image.

So really it is first figuring out the exact specification of the layout, then prompting the image generation tool with this specification - perhaps unless you do it with an "instant" model.