[DeepSeek] 渠道服务端返回错误消息:余额不足。
请登录该平台查看余额信息,当前API: https://api.deepseek.com/v1/
Traceback (most recent call last):
File "videotrans\translator\_openaicompat.py", line 90, in _item_task
File "videotrans\translator\_openaicompat.py", line 40, 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: aa1b24a8-299b-4d8e-8355-c8d113ef74dd)', '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 90, in run
File "videotrans\task\_stage_translate.py", line 31, in trans
File "videotrans\translator\_runner.py", line 71, in run
File "videotrans\translator\_base.py", line 82, in run
File "videotrans\translator\_base.py", line 165, 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 104, in _item_task
videotrans.configure.excepts.StopTask: [DeepSeek] 渠道服务端返回错误消息:余额不足。
请登录该平台查看余额信息,当前API: https://api.deepseek.com/v1/
trk=[TransCreate]: uuid='d8a2687292', proxy_str=None, cfg=[TaskCfgVTT]当前工作模式: 翻译视频 单视频模式
原始输入文件名: D:/后期教程/调色师指南/DaVinci-Resolve-17-Color-IntroductiontoColor/DaVinci-Resolve-17-Color-IntroductiontoColor.mp4,
输出结果保存到文件夹: D:/后期教程/调色师指南/DaVinci-Resolve-17-Color-IntroductiontoColor-mp4,
临时文件夹: D:/软件/win-pyvideotrans-v4.16-1/tmp/60832/d8a2687292
已选 清理已存在
已启用CUDA加速
未选 降噪
语音识别:faster-whisper(内置), large-v3-turbo, 发音语言: 英语,
翻译渠道:DeepSeek,原始语言:英语,目标语言:简体中文, 已选 发送完整字幕
配音渠道:Edge-TTS(免费), 角色:Xiaoxiao(Female/CN), 配音语言:简体中文, 未选 二次语音识别
音量:+0%, 语速:+0%, 已选 音频加速, 未选 视频慢速
已选 移除每条字幕配音开头和结尾静音缓冲
静音移除力度: default
字幕: 嵌入软字幕
已选 仅输出mp4, precent=12, hasend=False, should_recogn=True, should_trans=True, should_dubbing=True, should_hebing=True, is_copy_video=True, video_codec_num=264, ignore_align=False, is_audio_trans=False, clone_ref='', should_recogn2=False, do_diarize=True
video_duration_ms=5630280
=
system:Windows-10-10.0.26200-SP0
version:v4.16
frozen:True
language:zh_CN
root_dir:D:/软件/win-pyvideotrans-v4.16-1