#3005 API Key is empty

62.72* Posted at: 17 days ago 👁43

API Key is empty


=
system:Windows-10-10.0.19045-SP0
version:v3.91
frozen:True
language:zh
root_dir:D:/pyvideotrans

1 Replies

这是由于在配置翻译或配音渠道时,未填写必要的 API Key 导致的。

解决方案:

  1. 根据你正在使用的渠道(例如 OpenAI、DeepSeek、Azure TTS 等),前往其官方网站注册账户并获取 API Key。
  2. 在 pyVideoTrans 软件中,进入“设置”菜单,找到对应的渠道配置页面。
  3. 在配置页面中,将获取到的 API Key 粘贴到指定的输入框中。
  4. 保存设置并重试。

常见原因与排查:

  • 翻译渠道:如果你使用了 OpenAI 兼容接口、DeepSeek、Google 翻译(需代理)等,都需要填写有效的 API Key。
  • 配音渠道:部分 TTS 服务(如 OpenAI TTS、Azure TTS、阿里 Qwen-TTS 等)也需要 API Key。
  • 网络代理:如果你在国内使用某些国外服务(如 OpenAI),可能还需要在软件中配置网络代理。

请查阅相关文档:

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.

Related resource