Gemini API:更新日誌·· 2025-05-20AI 評分54
Gemini API 更新多項功能並推出 gemini-2.5-flash-preview-05-20 等模型
May 20, 2025
AI 導讀
Gemini API 更新多項 API 功能,並推出多款預覽及實驗模型。API 更新包括按裁剪區間及可設定影格率進行自訂影片預處理、多工具在同一 generateContent 請求中配置 code execution 和 Grounding with Google Search、Live API 非同步函數呼叫,以及實驗性 URL context 工具。
正文
API updates:
- Launched support for custom video preprocessing using clipping intervals and configurable frame rate sampling.
- Launched multi-tool use, which supports configuring
code execution and
Grounding with Google Search on the same
generateContentrequest. - Launched support for asynchronous function calls in the Live API.
- Launched an experimental URL context tool for providing URLs as additional context to prompts.
Model updates:
- Released
gemini-2.5-flash-preview-05-20, a Gemini preview model optimized for price-performance and adaptive thinking. To learn more, see Gemini 2.5 Flash Preview and Thinking. - Released the
gemini-2.5-pro-preview-ttsandgemini-2.5-flash-preview-ttsmodels, which are capable of generating speech with one or two speakers. - Released the
lyria-realtime-expmodel, which generates music in real time. - Released
gemini-2.5-flash-preview-native-audio-dialogandgemini-2.5-flash-exp-native-audio-thinking-dialog, new Gemini models for the Live API with native audio output capabilities. To learn more, see the Live API guide and Gemini 2.5 Flash Native Audio. - Released
gemma-3n-e4b-itpreview, available on AI Studio and through the Gemini API, as part of the Gemma 3n launch.
來源:Gemini API:更新日誌 · ai.google.dev