@google/genai
3.6.1 · 18 Nov 2026Apache-2.032.9M / weekRepositoryHomepagenpmAtom feed
1.52.0 is the newest release of 1.x.
In short
9 new
Release note
Features
Add FileCitation.{custom_metadata,media_id,page_number}
Add
output_infotoBatchJobAdd gemini-3.1-flash-tts-preview model to options
Add ImageResizeMode for GenerateVideos
Add new Gemini Deep Research agent models
Add Vertex Dataset input and output options for batch jobs
interaction-api: Add grounding tool usage breakdown to Interaction Usage.
Introduce enterprise flag and GOOGLE_GENAI_USE_ENTERPRISE env var
Replace the more ambiguous rate field with sample_rate.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.