2K and 4K quality Image Generation Failure in Google AI Studio

I built my own front end to gen images as Google ai studio wasn’t generating 2k and 4k. My front end works way better than their own shite.

Any chance someone could take a look at this issue? The timing seems similar but the issue persists.