#7568 翻译字幕阶段出错 [硅基流动] Sorry, your account balance is insufficientTraceback (most recent call last):

95.40**4 Posted at: 1 hour ago

翻译字幕阶段出错 [硅基流动] Sorry, your account balance is insufficient
Traceback (most recent call last):

File "videotrans\task\job.py", line 35, in run

File "videotrans\task\job.py", line 137, in process_task

File "videotrans\task\translate_srt.py", line 51, in trans

File "videotrans\translator\_runner.py", line 75, in run

File "videotrans\translator\_base.py", line 75, in run

File "tenacity\__init__.py", line 480, in call

File "videotrans\translator\_openaicompat.py", line 98, in _item_task

File "videotrans\translator\_openaicompat.py", line 48, in _create_completion

File "openai\_utils\_utils.py", line 298, in wrapper

File "openai\resources\chat\completions\completions.py", line 1215, in create

File "openai\_base_client.py", line 1332, in post

File "openai\_base_client.py", line 1105, in request

openai.APIStatusError: Error code: 402 - {'code': 30001, 'message': 'Sorry, your account balance is insufficient', 'data': None}
[TranslateSrt]翻译字幕: OutputFormat=双语(目标语言在上)
[TaskCfgSTS]
原始输入文件名: C:/Users/Administrator/Desktop/ROE-545瀬尾礼子 熟女 人妻 凌辱 拘束 玩具 内射/[email protected],
输出结果保存到文件夹: C:/Users/Administrator/Desktop/ROE-545瀬尾礼子 熟女 人妻 凌辱 拘束 玩具 内射
翻译渠道:硅基流动,原始语言:ja,目标语言:zh-cn, 已选 发送完整字幕
代理地址:http://127.0.0.1:7897


=
system:Windows-10-10.0.19045-SP0
version:v4.13
frozen:True
language:zh_CN
root_dir:C:/Users/Administrator/Desktop/win-pyvideotrans-v4.13-1

1 Replies

#1 DeepSeek reply at 1 hour ago

核心原因:硅基流动账户余额不足(API 返回 402,错误码 30001:account balance is insufficient)。

这不是软件故障,是第三方平台账户欠费。

解决方案(三选一):

  1. 登录硅基流动平台充值账户,或确认当前 API Key 所属账户是否还有额度。

  2. 更换翻译渠道。

    菜单 → 翻译设置中改用其他渠道,例如 DeepSeek(建议,翻译质量高、价格低),获取密钥后填入 菜单 → 翻译设置 → DeepSeek,并将主界面翻译渠道切换为 DeepSeek

  3. 使用本地翻译模型,如 M2M100(内置)Hy-MT2-1.8B,首次使用会自动下载模型,完全离线免费。

注意:

  • 处理日语翻译为中文这类常见语言,任何渠道均可;若换其他冷门语种,仅推荐 AI 大模型渠道。

  • 重试前请勾选主界面 清理已生成,避免使用上次失败时生成的缓存字幕。

请查阅相关文档:

Thinking...
Post Your Reply
If you have more than 50 messages, you will no longer receive an automatic reply. Please ask a new question!
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.

Dondate via ko-fi.com

Related resource