#4932 TaskCfgVTT(uuid='5b44223a9c', name='E:/amthuc/SnapTik.Net_7433987851928227123_hd.mp4', dirname='E:/amthuc', noextname='S

14.174* Posted at: 8 hours ago

headers: {'date': 'Wed, 03 Jun 2026 15:16:22 GMT', 'server': 'uvicorn', 'content-length': '267', 'content-type': 'application/json', 'vary': 'Accept-Language', 'access-control-allow-origin': '', 'access-control-allow-headers': '', 'access-control-allow-methods': 'POST, PATCH, OPTIONS, DELETE, GET, PUT', 'access-control-max-age': '600', 'strict-transport-security': 'max-age=1800;', 'x-trace-id': '2202d01dcb6d79b88e27afc63ece7824', 'x-region': 'asia-southeast1', 'via': '1.1 google', 'alt-svc': 'h3=":443"; ma=2592000'}, status_code: 401, body: {'detail': {'type': 'invalid_request', 'code': 'quota_exceeded', 'message': 'This request exceeds your quota of 10000. You have 0 credits remaining, while 18 credits are required for this request.', 'status': 'quota_exceeded', 'request_id': '2202d01dcb6d79b88e27afc63ece7824'}}ASR Error:faster-whisper (Local), Trans Error: Google (Free), Dubbing Error:Elevenlabs.io
Traceback (most recent call last):
File "videotrans\task\only_one.py", line 87, in run
File "videotrans\task\trans_create.py", line 632, in dubbing
File "videotrans\task\trans_create.py", line 934, in _tts
File "videotrans\tts\__init__.py", line 184, in run
File "videotrans\tts\_base.py", line 145, in run
File "tenacity\__init__.py", line 480, in call
File "videotrans\tts\_elevenlabs.py", line 46, in _run
File "elevenlabs\text_to_speech\client.py", line 157, in convert
File "contextlib.py", line 135, in enter
File "elevenlabs\text_to_speech\raw_client.py", line 204, in convert
File "elevenlabs\text_to_speech\raw_client.py", line 202, in _stream
elevenlabs.core.api_error.ApiError: headers: {'date': 'Wed, 03 Jun 2026 15:16:22 GMT', 'server': 'uvicorn', 'content-length': '267', 'content-type': 'application/json', 'vary': 'Accept-Language', 'access-control-allow-origin': '', 'access-control-allow-headers': '', 'access-control-allow-methods': 'POST, PATCH, OPTIONS, DELETE, GET, PUT', 'access-control-max-age': '600', 'strict-transport-security': 'max-age=1800;', 'x-trace-id': '2202d01dcb6d79b88e27afc63ece7824', 'x-region': 'asia-southeast1', 'via': '1.1 google', 'alt-svc': 'h3=":443"; ma=2592000'}, status_code: 401, body: {'detail': {'type': 'invalid_request', 'code': 'quota_exceeded', 'message': 'This request exceeds your quota of 10000. You have 0 credits remaining, while 18 credits are required for this request.', 'status': 'quota_exceeded', 'request_id': '2202d01dcb6d79b88e27afc63ece7824'}}
TaskCfgVTT(uuid='5b44223a9c', name='E:/amthuc/SnapTik.Net_7433987851928227123_hd.mp4', dirname='E:/amthuc', noextname='SnapTik.Net_7433987851928227123_hd', basename='SnapTik.Net_7433987851928227123_hd.mp4', ext='mp4', target_dir='C:/Users/chuong/Desktop/1/SnapTik.Net_7433987851928227123_hd-mp4', cache_folder='C:/Users/chuong/Desktop/win-pyvideotrans-v4.01-0602/tmp/2088/5b44223a9c', is_cuda=True, source_language='Traditional Chinese', source_language_code='zh-tw', source_sub='C:/Users/chuong/Desktop/1/SnapTik.Net_7433987851928227123_hd-mp4/zh-tw.srt', source_wav='C:/Users/chuong/Desktop/win-pyvideotrans-v4.01-0602/tmp/2088/5b44223a9c/zh-tw.wav', source_wav_output='C:/Users/chuong/Desktop/1/SnapTik.Net_7433987851928227123_hd-mp4/zh-tw.m4a', target_language='Vietnamese', target_language_code='vi', target_sub='C:/Users/chuong/Desktop/1/SnapTik.Net_7433987851928227123_hd-mp4/vi.srt', target_wav='C:/Users/chuong/Desktop/win-pyvideotrans-v4.01-0602/tmp/2088/5b44223a9c/target.wav', target_wav_output='C:/Users/chuong/Desktop/1/SnapTik.Net_7433987851928227123_hd-mp4/vi.m4a', translate_type=0, tts_type=20, volume='+0%', pitch='+0Hz', voice_rate='+0%', voice_role='Sarah - Mature Reassuring Confident', voice_autorate=False, video_autorate=False, remove_silent_mid=False, align_sub_audio=True, detect_language='zh-tw', 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='C:/Users/chuong/Desktop/1/SnapTik.Net_7433987851928227123_hd-mp4/SnapTik.Net_7433987851928227123_hd.mp4', novoice_mp4='C:/Users/chuong/Desktop/win-pyvideotrans-v4.01-0602/tmp/2088/5b44223a9c/novoice.mp4', is_separate=False, embed_bgm=True, instrument=None, vocal='C:/Users/chuong/Desktop/win-pyvideotrans-v4.01-0602/tmp/2088/5b44223a9c/vocal.wav', clear_cache=True, background_music='', subtitle_type=0, only_out_mp4=True, recogn2pass=True, output_srt=0, copysrt_rawvideo=False, loop_backaudio=1, backaudio_volume=0.8)


=
system:Windows-10-10.0.19045-SP0
version:v4.01
frozen:True
language:en
root_dir:C:/Users/chuong/Desktop/win-pyvideotrans-v4.01-0602

1 Replies

The error is due to an exhausted Elevenlabs.io API quota: your account has 0 credits remaining, while this request requires 18 credits. The API returned a 401 status with quota_exceeded.

Solution:

  1. Top up your Elevenlabs account – log in to [elevenlabs.io], purchase additional credits.
  2. Use a different TTS channel – select a free alternative like Edge-TTS (Free) in the dubbing settings. Edge-TTS does not require any API key or credits.
  3. Reduce credit usage – if you want to keep using Elevenlabs, enable audio acceleration or use smaller models to reduce the number of requests, but the immediate fix is to replenish credits.

The core issue is not a software bug but an API service limitation.

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. Dondate: ko-fi.com/jianchang512

Related resource