#3616 TaskCfgVTT(is_cuda=True, uuid='efebb05883', cache_folder='D:/download/FreeDM/Softs/win-pyvideotrans-v3.97-0304/tmp/37552

116.110* Posted at: 1 day ago 👁21

Trans Error [DeepSeek] Service returned error: Insufficient Balance
Traceback (most recent call last):
File "videotrans\task\job.py", line 173, in run
File "videotrans\task\trans_create.py", line 645, in trans
File "videotrans\translator\__init__.py", line 981, in run
File "videotrans\translator\_base.py", line 102, in run
File "videotrans\translator\_base.py", line 123, in _run_text
File "videotrans\translator\_deepseek.py", line 47, in _item_task
File "openai\_utils\_utils.py", line 286, in wrapper
File "openai\resources\chat\completions\completions.py", line 1192, 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 - {'error': {'message': 'Insufficient Balance', 'type': 'unknown_error', 'param': None, 'code': 'invalid_request_error'}}
TaskCfgVTT(is_cuda=True, uuid='efebb05883', cache_folder='D:/download/FreeDM/Softs/win-pyvideotrans-v3.97-0304/tmp/37552/efebb05883', target_dir='F:/audio/coding/out/cusor-mp4', source_language='English', source_language_code='en', source_sub='F:/audio/coding/out/cusor-mp4/en.srt', source_wav='D:/download/FreeDM/Softs/win-pyvideotrans-v3.97-0304/tmp/37552/efebb05883/en.wav', source_wav_output='F:/audio/coding/out/cusor-mp4/en.m4a', target_language='Vietnamese', target_language_code='vi', target_sub='F:/audio/coding/out/cusor-mp4/vi.srt', target_wav='D:/download/FreeDM/Softs/win-pyvideotrans-v3.97-0304/tmp/37552/efebb05883/target.wav', target_wav_output='F:/audio/coding/out/cusor-mp4/vi.m4a', name='F:/audio/coding/cusor.mp4', noextname='cusor', basename='cusor.mp4', ext='mp4', dirname='F:/audio/coding', shound_del_name=None, translate_type=4, tts_type=0, volume='+0%', pitch='+0Hz', voice_rate='+0%', voice_role='HoaiMy(Female/VN)', voice_autorate=True, video_autorate=False, remove_silent_mid=False, align_sub_audio=True, detect_language='en', recogn_type=0, model_name='large-v3-turbo', shibie_audio=None, remove_noise=False, enable_diariz=False, nums_diariz=0, rephrase=0, fix_punc=False, subtitle_language=None, app_mode='biaozhun', subtitles='', targetdir_mp4='F:/audio/coding/out/cusor-mp4/cusor.mp4', novoice_mp4='D:/download/FreeDM/Softs/win-pyvideotrans-v3.97-0304/tmp/37552/efebb05883/novoice.mp4', is_separate=False, instrument=None, vocal=None, back_audio='', clear_cache=False, background_music=None, subtitle_type=0, only_out_mp4=True, recogn2pass=False, output_srt=0, copysrt_rawvideo=False)


=
system:Windows-10-10.0.26200-SP0
version:v3.97
frozen:True
language:en
root_dir:D:/download/FreeDM/Softs/win-pyvideotrans-v3.97-0304

1 Replies

This error indicates that your DeepSeek API account has insufficient balance to process the translation request.

To resolve this, you need to recharge your DeepSeek API account.

  1. Log in to your DeepSeek platform account (e.g., platform.deepseek.com).
  2. Navigate to the billing or balance section.
  3. Add funds to your account to ensure you have a positive balance.
  4. Return to pyVideoTrans and retry the translation task.

Alternatively, you can switch to a different translation channel that you have configured and funded, such as another AI model (OpenAI, Gemini) or a traditional translation service (Google, Microsoft).

Please refer to the relevant documentation:

Post Your Reply
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.

Related resource