If the image generation is not successful, the prompt is going to disappear

bandicam 2025-06-07 11-23-28-688 (1)

^GIF video, click to play.

I think this is caused by a lack of image generation quota??? I want to copy the prompt, not just go back to the first page.

Yes, it’s true that the AI Studio is currently not retaining the prompt and is lost when the generation quota is exceeded or request fails due to any backend issues.
The workaround that we often use for it is manually copying it before clicking ‘Generate’ button or using a notepad/extension to temporarily store active prompt drafts.