Skip to content

Remove Imagen samples and add Nano banana image generation#165

Merged
lethargicpanda merged 2 commits intomainfrom
te/imagen-migration
May 5, 2026
Merged

Remove Imagen samples and add Nano banana image generation#165
lethargicpanda merged 2 commits intomainfrom
te/imagen-migration

Conversation

@lethargicpanda
Copy link
Copy Markdown
Collaborator

  • Remove Imagen samples
  • add Nano banana image generation sample

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

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 replaces the existing Imagen and Imagen-Editing samples with a new Nanobanana sample, which utilizes the Gemini 3.1 Flash Image model for text-to-image generation. The changes include updating the project structure, dependencies, and catalog metadata to reflect the removal of Imagen and the addition of Nanobanana. Feedback was provided regarding architectural improvements to align with the repository style guide, specifically concerning the handling of UI side effects, the implementation of a proper data layer with repositories, and the definition of UI state using sealed classes.

Comment thread app/src/main/java/com/android/ai/catalog/domain/SampleCatalog.kt Outdated
Comment thread app/src/main/res/values/strings.xml Outdated
@lethargicpanda lethargicpanda merged commit 177aaa6 into main May 5, 2026
3 checks passed
@lethargicpanda lethargicpanda deleted the te/imagen-migration branch May 5, 2026 22:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants