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.