Skip to content

feat(genkit_google_genai): add video generation support with Veo#262

Draft
CorieW wants to merge 7 commits into
genkit-ai:mainfrom
invertase:googleai-add-veo
Draft

feat(genkit_google_genai): add video generation support with Veo#262
CorieW wants to merge 7 commits into
genkit-ai:mainfrom
invertase:googleai-add-veo

Conversation

@CorieW

@CorieW CorieW commented Apr 28, 2026

Copy link
Copy Markdown
Member

Adds video generation support to the googleai plugin and Veo models.

Testing

  • List Veo models
image
  • Generate video
image

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces support for video generation using the Veo model within the genkit_google_genai package. Key changes include the implementation of a new Veo model handler that manages long-running operations and polling, the addition of VeoOptions for configuring generation parameters such as aspect ratio and duration, and updates to the API client to support asynchronous predictions. Review feedback suggests adding a timeout to media download requests to prevent indefinite hanging and highlights potential memory concerns when base64-encoding large video files into data URIs.

Comment thread packages/genkit_google_genai/lib/src/veo.dart Outdated
Comment thread packages/genkit_google_genai/lib/src/veo.dart
@CorieW CorieW changed the title feat(genkit_google_genai): add video generation support with Veo feat(genkit_google_genai): add video generation support with Veo May 7, 2026
@CorieW CorieW force-pushed the googleai-add-veo branch from 2fc83b6 to 4074fef Compare May 7, 2026 01:20
@CorieW CorieW force-pushed the googleai-add-veo branch from de19c17 to ebe4f14 Compare May 10, 2026 20:51
@cabljac cabljac self-requested a review May 29, 2026 10:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants