Skip to content

feat(image): add Gemini Nano Banana 2.1 and deprecate gemini-3.1-flash-image - #86

Merged
philschmid merged 3 commits into
mainfrom
feat/gemini-nano-banana-2.1
Oct 6, 2026
Merged

philschmid merged 3 commits into
mainfrom
feat/gemini-nano-banana-2.1

Conversation

@Giom-V

@Giom-V Giom-V commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Adds gemini-nano-banana-2.1 (Nano Banana 2.1) as the default high-efficiency image generation and conversational editing model in gemini-api-dev.
  • Marks gemini-3.1-flash-image as legacy/deprecated (shutdown date October 29, 2026), replacing it with gemini-nano-banana-2.1.
  • Documents key capabilities in references/migration.md:
    • 131,072 input token limit / 32,768 output token limit
    • Multi-image reference support (up to 14 reference images: character consistency for up to 4 characters, object fidelity for up to 10 objects)
    • Native Google Search and Image Search grounding
    • Configurable thinking levels (minimal, medium default, high)

@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 updates the Gemini API skill documentation to deprecate the gemini-3.1-flash-image model and introduce its successor, gemini-nano-banana-2.1, along with its migration checklist and key features. One issue was identified in the migration guide where the documentation link for the new model page is missing the .md.txt extension, which is required for the agent to fetch the file correctly.

Comment thread skills/gemini-api-dev/references/migration.md Outdated
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Comment thread skills/gemini-api-dev/SKILL.md Outdated
Comment thread skills/gemini-api-dev/SKILL.md Outdated
@philschmid
philschmid merged commit 832c8f9 into main Oct 6, 2026
7 checks passed
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