Skip to content

Dynamic webhooks for video generation with Omni Flash not working #1297

Description

@ivansenic

Description of the bug:

  • Use the webhook_configuration when generating a video using Interactions API and Omni Flash model does not trigger the supplied dynamic webhook
  • The background and webhook_configuration accepted on the creation request, but on completion the webhook is never called
  • Supplied webhook point is operational and reachable

Example request body

{
  "model": "gemini-omni-flash-preview",
  "background": true,
  "input": "A red balloon floating over a calm lake at sunrise",
  "response_format": { "type": "video", "aspect_ratio": "16:9", "delivery": "uri" },
  "webhook_config": { "uris": ["<endpoint>"], "user_metadata": { "token": "my-token" } }
}

Example response

{
   "id":"v1_ChdOdXRoYXJHTUxxS3l2ZElQMC1UcnlBcxIXTnV0aGFyR01McUt5dmRJUDAtVHJ5Q..",
   "status":"in_progress",
   "created":"2026-07-23T10:21:43Z",
   "updated":"2026-07-23T10:21:43Z",
   "service_tier":"standard",
   "webhook_config":{
      "uris":[
        "<endpoint>"
      ],
      "user_metadata":{
         "token":"my-token"
      }
   },
   "object":"interaction",
   "model":"gemini-omni-flash-preview"
}

Actual vs expected behavior:

Supplied dynamic webhook should fire, especially that the 2xx response returned back correctly references the webhooks, metadata and in_progress status. Video generation is completed successful, but no request issued at the webhook.

Any other information you'd like to share?

Related content:

"source": [
"You can also use dynamic webhook configuration, but for this, you need to update your webhook verification.\n",
"\n",
"See the docs for implementation details:\n",
"\n",
"- https://ai.google.dev/gemini-api/docs/webhooks#dynamic-webhooks\n",
"- https://ai.google.dev/gemini-api/docs/webhooks#verify-dynamic-signatures\n",
"\n",
"\n",
"## Next Steps:\n",
"\n",
"- **Webhooks documentation**: Read the full [Webhooks guide](https://ai.google.dev/gemini-api/docs/webhooks) for advanced configuration options, supported event types, and best practices.\n",
"- **Batch API**: Webhooks pair well with the [Batch API](./Batch_mode.ipynb) to process large volumes of requests and get notified when they complete.\n",
"- **Video generation**: Use webhooks with [Veo](./Get_started_Veo.ipynb) to get notified when your generated videos are ready.\n",
"- **Cloud Run functions**: Learn more about [Cloud Run functions](https://cloud.google.com/functions).\n",
"- **Standard Webhooks**: The Gemini API uses the [Standard Webhooks](https://www.standardwebhooks.com/) specification for signature verification, ensuring secure and interoperable webhook delivery.\n"
]

Metadata

Metadata

Assignees

Labels

status:awaiting reviewPR awaiting review from a maintainerstatus:triagedIssue/PR triaged to the corresponding sub-teamtype:bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions