@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 new1 fixed
Release note
Features
Add
sdkHttpResponse.headersto *Delete responses.Add add_watermark field for recontext_image (Virtual Try-On, Product Recontext)
Add output_gcs_uri to Imagen upscale_image
Add outputSchema support for MCP
Add VALIDATED mode into FunctionCallingConfigMode
Add VideoGenerationReferenceType enum for generate_videos
Support GenerateVideosSource for Veo GenerateVideos
Support tunings.cancel in the genai SDK for Python, Java, JS, and Go
Update server test recordings to JSON.
Bug Fixes
js: empty env vars should be treated as undefined.
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.