Is there a fundamental difference?
I mean, the only thing GPT does is predict the next word, which makes it not so different from a compression algorithm. And diffusion models (the image generating stuff) are essentially fancy denoisers.
Depending on how you assemble the big building blocks, you get generation or you get prediction.