Getting blured images using gemini-3.1-flash-image model while using 2k ratio

curl -s -X POST
https://generativelanguage.googleapis.com/v1beta/models/gemini-3.1-flash-image-preview:generateContent
-H “x-goog-api-key: $GEMINI_API_KEY”
-H “Content-Type: application/json”
-d ‘{
“contents”: [
{
“parts”: [
{
“text”: “Ultra-realistic architectural interior photography of a premium textured PVC panel bathroom door, modern Indian luxury apartment bathroom, full top-to-bottom front-facing camera angle, complete door visible from ceiling to floor, elegant fluted vertical panel texture creating depth and shadow, sophisticated warm beige-grey finish complementing contemporary marble-look bathroom tiles, luxury wash basin and mirror visible nearby, subtle humidity-rich environment, clean architectural lines, warm ambient lighting, modern Indian residential design, moisture-resistant bathroom entrance, budget-friendly yet premium aesthetic, architectural magazine quality, highly detailed textures and materials, photorealistic, no people, no text, no watermark.”
}
]
}
],
“generationConfig”: {
“imageConfig”: {
“aspectRatio”: “16:9”,
“imageSize”: “2K”
}
}
}’. this curl i used and got

The API is working just for the “1k” resolution.

but why i want 2k and 4k images

Temporary problem, I guess.

yeah hope it will resolve soon

Thanks for the report. This has been fixed as of Friday Jun 19th.