# Non-batch background generation

**URL:** <https://discuss.ai.google.dev/t/non-batch-background-generation/110499>\
**Category:** Gemini API\
**Tags:** open-ai, api\
**Created:** [November 27, 2025, 9:32am UTC](https://discuss.ai.google.dev/t/non-batch-background-generation/110499 "2025-11-27T09:32:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mark\_K](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/mark_k/32/64371_2.png) [@Mark\_K](https://discuss.ai.google.dev/u/Mark_K)\
**Post date:** [November 27, 2025, 9:32am UTC](https://discuss.ai.google.dev/t/non-batch-background-generation/110499/1 "2025-11-27T09:32:13Z")

</div>

OpenAI models support a “background” option which lets you trigger a request, then poll for a response. Even better, they also support web hooks to notify you when a response is ready. This is especially useful for image generation, or other long-running tasks where a request could be interrupted or you could hit a wall-time limit on cloud workers.

I know Gemini has a Batch API, but that’s really designed for bulk off-line workflows rather than in-line flows. Is there a way to achieve this with Gemini?

---

<div class="post-metadata">

**Author:** ![Sonali\_Kumari1](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/sonali_kumari1/32/59852_2.png) [@Sonali\_Kumari1](https://discuss.ai.google.dev/u/Sonali_Kumari1)\
**Post date:** [December 8, 2025, 8:14am UTC](https://discuss.ai.google.dev/t/non-batch-background-generation/110499/3 "2025-12-08T08:14:53Z")

</div>

Hi @Mark_K , Thanks for reaching out to us.

The scope of supported features aligns precisely with what is outlined in our official documentation. Please refer to our documentation on [Batch API](https://ai.google.dev/gemini-api/docs/batch-api?batch=file) for comprehensive details.

---

<div class="post-metadata">

**Author:** ![Mark\_K](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/mark_k/32/64371_2.png) [@Mark\_K](https://discuss.ai.google.dev/u/Mark_K)\
**Post date:** [December 8, 2025, 9:11am UTC](https://discuss.ai.google.dev/t/non-batch-background-generation/110499/4 "2025-12-08T09:11:13Z")

</div>

Thanks Sonali. So the answer is “no, Gemini does not support this”
