Google Gen AI SDK v2.25.0
Google Gen AI SDK v2.25.0 introduces voice capabilities, exposing SpeechMetadata, VoiceConfig.voice, SpeechAnnotation, and a new Voices API resource with sample audio.
原始内容为英文;当前页面提供中文导航与来源说明,具体事实请以原文为准。
为什么值得关注
Google Gen AI SDK version 2.25.0 adds voice and speech functionality across public SDKs and GAOS SDK components. Key features include adding a Voices API resource, sample audio support for Voice, exposing SpeechMetadata , VoiceConfig.voice , and SpeechAnnotation , and wiring voice handling into the SDK. It also adds support for field.value syntax in map union annotations, updates the discovery doc, and fixes an issue by sanitizing path parameter descriptions in GAOS OpenAPI generation.
可执行摘要
Upgrade to Google Gen AI SDK v2.25.0 to access newly exposed audio constructs (SpeechMetadata, VoiceConfig.voice, SpeechAnnotation), the GAOS Voices API resource, sample audio bindings, and map union field.value syntax.
- Agent 实用度
- 82/100
- 可信度
- 96%
- 机器格式
- JSON + Markdown
开发者应核对什么
- Upgrade google-genai dependency to v2.25.0 to leverage new voice and speech configurations.
- Adopt SpeechMetadata, VoiceConfig.voice, and SpeechAnnotation when configuring speech-related features.