#2215 配置gemini-3-flash-preview时thinkbudget怎么填

198.98* Posted at: 3 days ago 👁22

配置gemini-3-flash-preview时thinkbudget怎么填

1 Replies

根据官方文档,Gemini 3 Flash Preview 模型目前不支持 thinkbudget 参数。该参数主要用于 Gemini 1.5 Pro 等更高级的模型。

在 pyVideoTrans 中配置 Gemini 3 Flash Preview 时,您只需在“翻译设置”或“语音识别设置”的 API Key 和 Base URL 处填写正确信息,模型名称选择 gemini-1.5-flashgemini-1.5-pro(具体取决于您申请的预览模型),thinkbudget 字段留空即可。

配置步骤参考:

  1. 在“翻译设置”或“语音识别设置”中,选择“Gemini”。
  2. 在“API Key”处填入您的 Gemini API Key。
  3. 在“Base URL”处填入:https://generativelanguage.googleapis.com/v1beta/openai/
  4. 在“模型”处,根据您申请的预览模型选择 gemini-1.5-flashgemini-1.5-pro
  5. thinkbudget 参数框留空不填。

如果后续官方为该模型开放了此参数,您可以在其官方文档中查询到具体数值,届时再填入即可。

Post Your Reply
Open source and free maintenance is not easy. If this project is helpful to you, please consider making a small donation to help the project continue to maintain and update.

Donate: https://ko-fi.com/jianchang512

Trending Questions