返回全部动态

Google Gen AI Python SDK 发布 v2.25.0,新增 Voices API 与语音元数据支持

原标题:v2.25.0

Google Gen AI Python SDK Releases一手来源API 更新质量 60

AI 摘要

Google 发布 Gen AI Python SDK v2.25.0,新增 Voices API 资源并在 GAOS SDK 中为 Voice 增加 sample_audio 支持,同时在公开 GenAI SDK 中暴露 SpeechMetadata、VoiceConfig.voice 和 SpeechAnnotation。此外还支持 map add_union_value 注解的 field.value_field 语法,并更新了 discovery doc。此次更新主要围绕语音能力的 SDK 集成与接口完善。

以上摘要由 AI 生成,可能存在误差。事实请以原文为准。

正文节选

## [2.25.0](https://github.com/googleapis/python-genai/compare/v2.24.0...v2.25.0) (2026-09-22) ### Features * Add sample_audio to Voice in GAOS SDK ([a011633](https://github.com/googleapis/python-genai/commit/a011633c2db0078019162880764e06cd85a5c4ff)) * Add Voices API resource to GAOS SDK ([c45b94e](https://github.com/googleapis/python-genai/commit/c45b94e7a0e0dcd5dcc2590f62f5d223f8c90e99)) * Expose SpeechMetadata, VoiceConfig.voice, and SpeechAnnotation in public GenAI SDKs ([a6d3243](https:


发布时间:2026-09-22 11:06
抓取时间:2026-09-22 11:16
来源机构:Google
阅读原文github.com