Skip to content

feat(js/plugins/googleai): added support for imagen and veo models to googleai plugin #3024

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

pavelgj
Copy link
Collaborator

@pavelgj pavelgj commented Jun 3, 2025

new operation API

  let operation = await ai.generateOperation({
    model: googleAI.model('veo-2.0-generate-001'),
    prompt: 'banana riding a bicycle',
  });

  while (!operation.done) {
    operation = await ai.checkOperation(operation);
    await new Promise((resolve) => setTimeout(resolve, 5000));
  }

  return operation;

Checklist (if applicable):

@pavelgj pavelgj requested review from mbleigh and ifielker June 3, 2025 23:52
@pavelgj pavelgj marked this pull request as ready for review June 5, 2025 00:02
@github-actions github-actions bot added the python Python label Jun 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

1 participant