[DeepSeek] 渠道服务端返回错误消息:余额不足。
请登录该平台查看余额信息,当前API: https://api.deepseek.com/v1/
Traceback (most recent call last):
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 - {'error': {'message': 'Insufficient Balance (request_id: 7e809150-c279-4b40-8883-b484192cea9d)', 'type': 'unknown_error', 'param': None, 'code': 'invalid_request_error'}}
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "videotrans\task\only_one.py", line 89, in run
File "videotrans\task\_stage_translate.py", line 31, in trans
File "videotrans\translator\_runner.py", line 75, in run
File "videotrans\translator\_base.py", line 72, in run
File "videotrans\translator\_base.py", line 155, in _run_srt
File "tenacity\__init__.py", line 338, in wrapped_f
File "tenacity\__init__.py", line 477, in call
File "tenacity\__init__.py", line 378, in iter
File "tenacity\__init__.py", line 400, in
File "concurrent\futures\_base.py", line 451, in result
File "concurrent\futures\_base.py", line 403, in __get_result
File "tenacity\__init__.py", line 480, in call
File "videotrans\translator\_openaicompat.py", line 112, in _item_task
videotrans.configure.excepts.StopTask: [DeepSeek] 渠道服务端返回错误消息:余额不足。
请登录该平台查看余额信息,当前API: https://api.deepseek.com/v1/
cfg=[TaskCfgVTT]当前工作模式: 翻译视频 单视频模式
原始输入文件名: D:/Baasir/Documents/The Vietnamese Boom Is a Lie (and it's worse than you think).mp4,
输出结果保存到文件夹: D:/Baasir/Documents/_video_out/The Vietnamese Boom Is a Lie (and it's worse than you think)-mp4,
临时文件夹: D:/win-pyvideotrans-v4.14/tmp/20368/17007670a8
已选 清理已存在
未启用CUDA加速
未选 降噪
语音识别:openai-whisper(内置), tiny, 发音语言: 英语, 断句方式:默认断句
翻译渠道:DeepSeek,原始语言:英语,目标语言:简体中文, 已选 发送完整字幕
配音渠道:Qwen3-TTS(内置), 角色:clone, 配音语言:简体中文, 未选 二次语音识别
音量:+0%, 语速:+0%, 已选 音频加速, 已选 视频慢速
字幕: 嵌入硬字幕
代理地址:http://127.0.0.1:7897
video_duration_ms=765120
=
system:Windows-10-10.0.19045-SP0
version:v4.14
frozen:True
language:zh_CN
root_dir:D:/win-pyvideotrans-v4.14