prodbydamien

AI is getting too good.

Recently, I was doomscrolling on X when I noticed that Grok (X's AI platform) had a new update which featured image generation, code generation, and a few more honestly useless features. So I finally caved in and decided to try it.


For my first prompt, I decided to do the classic meme of AI Will Smith eating spaghetti (i had zero ideas for what to tell Grok, okay?) and the realism is actually mindblowing.

Image of Will Smith eating spaghetti, AI generated using xAI Grok 2.

I personally believe the part that really sells it as real is the attention of detail in the background of the shot, and the reflections actually making sense. Alot of early AI-generated images had a weird, almost cartoonish looking texture that was applied to every object in the image, but I'm glad to see that with enough training on the right material, it's easier than I thought to get highly photo-realistic AI-generated images.


Code generation

Although AI code generation has been around for a while, it's always been extremely unstable, and alot of times will give you absolute nonsense (especially when I tried Google Gemini), so I'm curious to see what Grok can do.


For the first prompt, I told it to "Generate a basic snake game using the PyGame library in Python." and this is the code I got back. It actually does follow best practices, and it even told me I needed to install pygame for it to work, which other AIs usually won't tell you what dependencies you need.


But now, it's time to actually test the code.

I put it the code into a .py file, ran it in my terminal and....

It works!

A working game of Snake, AI generated using xAI Grok 2.

This is really impressive.


Thanks for reading my first blog post. Hope you liked this. If you want more updates, follow me on my X.