- Notifications
You must be signed in to change notification settings - Fork992
feat(ai): Add imageconfig and new finishreasons for image generation#9289
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:main
Are you sure you want to change the base?
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Adds new `FinishReason` enum values for various image generation scenarios to provide more granular information when a generation request finishes.Also introduces a new `ImageConfig` interface and a corresponding `AspectRatio` enum. This allows specifying image-related configurations, like aspect ratio, within the main `GenerationConfig`.
changeset-botbot commentedOct 2, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
|
google-oss-bot commentedOct 2, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Size Report1Affected Products
Test Logs |
google-oss-bot commentedOct 2, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Size Analysis Report1This report is too large (114,406 characters) to be displayed here in a GitHub comment. Please use the below link to see the full report on Google Cloud Storage.Test Logs |
Adds new
FinishReasonenum values for various image generation scenarios to provide more granular information when a generation request finishes.Also introduces a new
ImageConfiginterface and a correspondingAspectRatioenum. This allows specifying image-related configurations, like aspect ratio, within the mainGenerationConfig.