Skip to content

Replace models for image generation with updated ones. - #14545

Merged
XrossFox merged 1 commit into
GoogleCloudPlatform:mainfrom
XrossFox:image-generation-model-update-pt1
Oct 7, 2026
Merged

XrossFox merged 1 commit into
GoogleCloudPlatform:mainfrom
XrossFox:image-generation-model-update-pt1

Conversation

@XrossFox

@XrossFox XrossFox commented Aug 28, 2026 •

Copy link
Copy Markdown
Contributor

Description

Deletes image generation examples, tests, and related resources that have either been migrated to the new google-genai SDK or have fallen into disuse.

Fixes b/555328863

Checklist

Testing

  • I have tested this change on a live environment and verified it works as intended.

Compliance & Style


Post-Approval Actions

  • Please merge this PR for me once it is approved

@product-auto-label product-auto-label Bot added the samples Issues that are directly related to samples. label Aug 28, 2026

@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 attempts to update the model used for image editing and inpainting tasks from 'imagen-3.0-capability-001' to 'gemini-3.1-flash-image'. However, the reviewer points out that 'gemini-3.1-flash-image' is not a valid model for image editing in the Google GenAI SDK, and using it will result in API errors. It is recommended to revert these changes back to 'imagen-3.0-capability-001'.

Comment thread genai/image_generation/imggen_canny_ctrl_type_with_txt_img.py Outdated
Comment thread genai/image_generation/imggen_inpainting_insert_mask_with_txt_img.py Outdated
Comment thread genai/image_generation/imggen_inpainting_insert_with_txt_img.py Outdated
…mples

 Deletes image generation examples, tests, and related resources that have either been migrated to the new `google-genai` SDK or have fallen into disuse.
@XrossFox
XrossFox force-pushed the image-generation-model-update-pt1 branch from 4a8cd18 to a9f5f09 Compare August 28, 2026 23:16

@amcolin amcolin 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.

LGTM

@XrossFox
XrossFox marked this pull request as ready for review October 7, 2026 16:28
@XrossFox
XrossFox requested review from a team as code owners October 7, 2026 16:28
@snippet-bot

snippet-bot Bot commented Oct 7, 2026

Copy link
Copy Markdown

Here is the summary of changes.

You are about to delete 3 region tags.

This comment is generated by snippet-bot.
If you find problems with this result, please file an issue at:
https://github.com/googleapis/repo-automation-bots/issues.
To update this comment, add snippet-bot:force-run label or use the checkbox below:

  • Refresh this comment

@XrossFox
XrossFox merged commit 8ff9853 into GoogleCloudPlatform:main Oct 7, 2026
10 of 18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

samples Issues that are directly related to samples.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants