gemini Gemini Python SDK Releases · · 2.21.0

Python Generative AI SDK v2.21.0 Adds Streaming Downloads, WEBM Audio, Video Understanding

sdkaigaengineermedia
feature patch

The googleapis/python-genai SDK v2.21.0 delivers several new capabilities for developers working with generative AI. Key additions include streaming file downloads, support for the audio/webm MIME type, and integration of Video Understanding into the Interactions API. This update also enhances SDK support for GEAP's translation configuration and includes a bug fix for the Interactions SDK. These improvements provide greater flexibility in media processing and advanced AI interaction for Python developers.

  • Add destination parameter to client.files.download to support streaming downloads to disk or file-like objects
  • Add support for the audio/webm MIME type
  • Add translation_config SDK support for GEAP
  • Add Video Understanding support to the Interactions API
  • Expose ProcessingCallStep and ProcessingResultStep in Interactions SDK
Features (4)
  • Add destination parameter to client.files.download to support streaming downloads to disk or file-like objects
  • Add support for the audio/webm MIME type
  • Add translation_config SDK support for GEAP
  • Add Video Understanding support to the Interactions API
Fixes (1)
  • Expose ProcessingCallStep and ProcessingResultStep in Interactions SDK
Read the original announcement →

https://github.com/googleapis/python-genai/releases/tag/v2.21.0

Related releases