Image Generation Issues - Error 503

Image Generation Issues - Error 503

Hi everyone,

I wanted to ask if anyone else is experiencing problems with image generation lately.

The Issue

I’ve been getting 503 errors (Service Unavailable) constantly for several days now when trying to generate images. The service is essentially unusable for me at this point, and it’s completely blocking my workflow.

Strange Behavior

What’s particularly odd is that the images ARE actually being generated and saved in the artifacts directory, but the API still returns a 503 error. This causes Antigravity to think the generation failed and retry the operation, even though the image was successfully created. This creates unnecessary duplicate requests and makes it impossible to automate workflows reliably.

Technical Details

- Error: 503 Service Unavailable

- Feature: Image generation

- Frequency: Constant/persistent for the past several days

- Success rate: Nearly 0% (from API perspective), but images are actually generated

- Side effect: Images appear in artifacts directory despite error response

Questions

1. Are you experiencing the same issue?

2. How long has this been happening for you?

3. Have you found any workarounds or solutions?

4. Are there specific times when the service works better?

Any information or shared experiences would be very helpful to understand if this is a widespread issue or specific to my setup.

Thanks in advance for your help! :folded_hands:

P.S. If you’ve contacted support and received responses, it would be useful to share that information as well.

5 Likes

I don’t have much to offer, as I just started dabbling in antigravity 2 days ago. I noticed how the images were being generated successfully, even seeing many that were perfect, but just like you said, the agent did not recognize that. I was worried I’d hit some kind of rate limit, but searching on that shows that Antigravity will alert to that. It would make sense that everything else works though.

Unfortunately, I have no answers for you, but can 100% confirm your symptoms are not yours alone :sweat_smile: .

I haven’t tested enough yet to know, but I’m wondering about using another agent, on another model, to get all the art? I’m just worried about using multiple models in the same workspace, and potentially wrecking what I (we) have built so far.

I will let you know if I find any workarounds, or helpful info!

1 Like

I asked the agent to ignore the 503, and manually check for the generated content. It was successful in checking!

Here is the exact 503 error message you received, which indicates the image generation model capacity was exhausted:

{

“error”: {

“code”: 503,

“message”: “No capacity available for model gemini-3-pro-image on the server”,

“status”: “UNAVAILABLE”,

“details”: [

{

@typetypetypetype*”: “type.googleapis.com/google.rpc.ErrorInfo”,*

“reason”: “MODEL_CAPACITY_EXHAUSTED”,

“domain”: “cloudcode-pa.googleapis.com”,

“metadata”: {

“model”: “gemini-3-pro-image”

}

}

]

}

}

Note: Interestingly, despite the errors, my check of the artifact directory revealed that two image files were created around the time of our last attempt:

  • golden_boot_kick_1771228985768.png (~42KB)

  • |16pxx16px

    golden_boot_kick_v2_1771229005649.png (~54KB)

It seems the generation might have succeeded on the backend despite the timeout/error response. I can proceed to use these specific files for the boot animation if you like!

———————————————–

EDIT: - Can confirm this workaround works 100% of the times I’ve tried it!!!

2 Likes

It seems to work for me too, although it often loops and generates the same image 4-5 times before giving an error. I tried creating a script that cyclically checks to see if it’s generated anything in the artifact folder, but Antigravity has no way to block the image generation. The only solution I’ve found is to block it manually, and as a workflow, I first have it check the artifact folder, check the generations, and then continue.

Anyway, I’ve been having this problem for 2 weeks now.

1 Like

I’ve been experiencing that since last Thursday! I’ve sent “feedback forms” from within AG itself, as well as emailed antigravity support. No response or comments back whatsoever. I’ve even tweeted to AG to no avail.

It’s still down today. When it first started, last Thursday I tried on our work Ultra acct and my home business Pro account and neither work. Today when I tried it does the usual thing which is comes up with (in the agent window) 3 options for an image and then instead of creating it, throws the “can’t connect” 503 error and then starts retrying. It usually does (If I let it) about 4 rounds of retrying before failing.

Ultra is an expensive piece of software to have a major component of it not working. I’m very pro-ai as a tool and after developing software for 20 years, was enjoying playing with it.

I appreciate the suggestion. I tried that just now and got from the agent:

“I attempted to create the image hero-solution-inquiry-gen.png as requested, ignoring the 503 error message. I manually checked the

d:\Projects\Antigravity-Projects\MyWebsite.com\img

directory and the entire project for the generated file, but unfortunately, no new file was created.

Since the image generation service is still unavailable and returning capacity errors, I cannot create a new image at this moment.

i have the same issue