Skip to content
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

[Vertex AI] Add ImagenModel with generateImages functions #14226

Merged
merged 5 commits into from
Dec 7, 2024

Conversation

andrewheard
Copy link
Contributor

@andrewheard andrewheard commented Dec 6, 2024

Added an ImagenModel class with support for generating images using Imagen 3. #14221

  • Stopped encoding JSON fields as snake_case in GenerativeAIService (Imagen requires the parameters to be camelCase, Gemini supports both)
    • Fixed encoding issues that were found after making this transition (will need to audit all field names though).
  • Added an integration test to verify basic image generation functionality.

#no-changelog

@google-oss-bot
Copy link

1 Warning
⚠️ New public headers were added, did you remember to add them to the umbrella header?

Generated by 🚫 Danger

@andrewheard andrewheard marked this pull request as ready for review December 6, 2024 23:44
@andrewheard andrewheard requested a review from paulb777 December 6, 2024 23:48
@andrewheard andrewheard merged commit 57db276 into vertex-imagen Dec 7, 2024
50 checks passed
@andrewheard andrewheard deleted the ah/vertex-imagen-model branch December 7, 2024 17:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants