Authentication Fails, Your api key:
5536 is invalid
https://api.deepseek.com/v1/
{'model': 'deepseek-v4-flash', 'timeout': 300, 'temperature': 0.1, 'max_tokens': 65536}
Traceback (most recent call last):
File "videotrans\translator\_openaicompat.py", line 83, in _item_task
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.AuthenticationError: Error code: 401 - {'error': {'message': 'Authentication Fails, Your api key:
5536 is invalid', 'type': 'authentication_error', 'param': None, 'code': 'invalid_request_error'}}
The above exception was the direct cause of the following exception:
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 67, in run
File "videotrans\translator\_base.py", line 71, in run
File "videotrans\translator\_base.py", line 209, 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 88, in _item_task
videotrans.configure.excepts.StopTask: Authentication Fails, Your api key:
5536 is invalid
https://api.deepseek.com/v1/
{'model': 'deepseek-v4-flash', 'timeout': 300, 'temperature': 0.1, 'max_tokens': 65536}
cfg=[TaskCfgVTT]当前工作模式: 翻译视频 单视频模式
原始输入文件名: C:/Users/20306/Downloads/SaveInta.com_AQNmZvwvk-31kqO-BneHr8u-bK894M6XukHhKFFcOHMu8JNcgblwItTne8fCb1Q6ypMw5jY29pwZ4xRUhN5bOeDlajf_B9m_ee245-g.mp4,
输出结果保存到文件夹: C:/Users/20306/Downloads/_video_out/SaveInta.com_AQNmZvwvk-31kqO-BneHr8u-bK894M6XukHhKFFcOHMu8JNcgblwItTne8fCb1Q6ypMw5jY29pwZ4xRUhN5bOeDlajf_B9m_ee245-g-mp4,
临时文件夹: C:/Users/20306/Downloads/win-pyvideotrans-v4.10/tmp/160664/9c09e8faf2
已选 清理已存在
未启用CUDA加速
未选 降噪
语音识别:faster-whisper(内置), large-v3-turbo, 发音语言: 法语, 断句方式:默认断句
翻译渠道:DeepSeek,原始语言:法语,目标语言:简体中文, 已选 发送完整字幕
未选 配音角色,不进行配音
字幕: 嵌入硬字幕
=
system:Windows-10-10.0.26200-SP0
version:v4.10
frozen:True
language:zh
root_dir:C:/Users/20306/Downloads/win-pyvideotrans-v4.10