4K Image Generation Failing in AI Studio / Python API (Nano Banana 2/Pro)



Hello everyone,

It’s been over two weeks, and I haven’t been able to generate a single 4K image using Nano Banana 2/Pro. However, 2K resolution is working perfectly fine.

I tested the model in the chat interface today, and 4K generation works quickly and without any errors. The issue only occurs when I use the AI Studio app or the API in my local Python environment. I get a 503 error every single time.

I have already tried creating a new project and generating new API keys, but nothing has worked. I really need this fixed and am getting very frustrated. Could someone please help me?

I have attached a screenshot of the error below. Thanks in advance!

Same issue here, does anyone has solutions?

I also cannot generate 4K images with both gemini-3-pro-image-preview and gemini-3.1-flash-image-preview models with the curl batch API, while 2K images work fine.

I have the same experience. 4K Image Generation is not working with batch API