chore(genai): replace deprecated genai image generation model#10254
Open
alarconesparza wants to merge 4 commits intoGoogleCloudPlatform:mainfrom
Open
Conversation
Contributor
There was a problem hiding this comment.
Code Review
This pull request updates the virtual try-on model ID to 'virtual-try-on-001' in the sample code and integration tests. It also removes the test scope for the 'google-cloud-storage' dependency in the pom.xml. A review comment points out that this dependency should remain in the test scope to avoid unnecessary compile-time dependencies and a larger artifact footprint.
XrossFox
reviewed
Apr 27, 2026
| private static final String VIDEO_GEN_MODEL = "veo-3.0-generate-001"; | ||
| private static final String VIDEO_GEN_PREVIEW_MODEL = "veo-3.0-generate-preview"; | ||
| private static final String VIDEO_GEN_MODEL = "veo-3.1-generate-001"; | ||
| private static final String VIDEO_GEN_PREVIEW_MODEL = "veo-3.1-generate-preview"; |
There was a problem hiding this comment.
It seems that these constant no longer is being used anywhere, since the code line that used it, now points to the general availability model. Since it's not longer needed, line 40 should be removed (or either, line 85, returned to point to the preview model).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Fixes internal
b/505834660
b/507049205
Checklist
pom.xmlparent set to latestshared-configurationmvn clean verifyrequiredmvn -P lint checkstyle:checkrequiredmvn -P lint clean compile pmd:cpd-check spotbugs:checkadvisory only