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
- Gemini model gemini-omni-flash-preview reaches end of life in 30 days endoflife.date ·
- Gemini model gemini-robotics-er-1.6-preview has reached end of life endoflife.date ·
- Gemini model gemini-omni-flash-preview reaches end of life in 33 days endoflife.date ·
- Gemini Omni 1.1 Flash Now Accessible via APIs, Offering Enhanced Control Gemini Blog ·
- Google showcases 7 ways Gemini enhances student productivity in Workspace Gemini Blog ·
- Gemini Live adds new voice-activated productivity features with Spark integration Gemini Blog ·