#7369 Sorry, your account balance is insufficientTraceback (most recent call last):

175.197**3 Posted at: 1 hour ago

Sorry, your account balance is insufficient
Traceback (most recent call last):
File "videotrans\task\_only_one.py", line 65, in run
File "videotrans\task\trans_create.py", line 658, in trans
File "videotrans\translator\__init__.py", line 985, in run
File "videotrans\translator\_base.py", line 97, in run
File "videotrans\translator\_base.py", line 161, in _run_srt
File "videotrans\translator\_siliconflow.py", line 43, in _item_task
File "openai\_utils\_utils.py", line 286, in wrapper
File "openai\resources\chat\completions\completions.py", line 1211, in create
File "openai\_base_client.py", line 1297, in post
File "openai\_base_client.py", line 1070, in request
openai.APIStatusError: Error code: 402 - {'code': 30001, 'message': 'Sorry, your account balance is insufficient', 'data': None}


=
system:Windows-10-10.0.26200-SP0
version:v3.98
frozen:True
language:zh
root_dir:D:/win-pyvideotrans-v3.98-0410

1 Replies

#1 DeepSeek reply at 1 hour ago

核心原因是 SiliconFlow(硅基流动)账户余额不足,与软件本身无关。

报错信息 Error code: 402 - 'message': 'Sorry, your account balance is insufficient' 明确指出:您当前使用的硅基流动翻译渠道 API 账户已欠费或余额耗尽。

解决方案:

  1. 登录硅基流动平台 https://cloud.siliconflow.cn/ ,进入账户充值页面完成余额充值。
  2. 充值后等待几分钟,重新执行翻译任务即可。
  3. 如不想继续使用硅基流动,可在主界面 翻译渠道 下拉框中切换为其他渠道,例如:

    • DeepSeek(需在菜单-翻译设置中填写 API Key)
    • Google(免费)(国内需科学上网)
    • M2M100(内置)(本地离线翻译,首次使用需下载模型)

请查阅相关文档:

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