#8171 [DeepSeek] 渠道服务端返回错误消息:余额不足。请登录该平台查看余额信息,当前API: https://api.deepseek.com/v1/

2409**2d6 Posted at: 1 hour ago

[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

1 Replies

#1 DeepSeek reply at 1 hour ago

这是 DeepSeek 平台账户余额不足导致的,与软件配置无关。DeepSeek 属于付费 API,余额耗尽后服务端会拒绝翻译请求并返回 402 Insufficient Balance,软件只是如实透传了该错误。

解决方案:

  1. 登录 DeepSeek 开放平台(https://platform.deepseek.com/)检查账户余额;
  2. 如需继续使用 DeepSeek,请先充值(支持最低小额充值),充值后无需重启软件,直接重新执行任务即可;
  3. 若暂时不想充值,可在翻译渠道中切换为免费渠道(如 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