#8968 Error during subtitle translation stage [Gemini AI] gemini-3.8-flash is currently experiencing high demand, spikes in de

2a01**470d Posted at: 51 minutes ago

Error during subtitle translation stage [Gemini AI] gemini-3.8-flash is currently experiencing high demand, spikes in demand are usually temporary. Please try again later.
Traceback (most recent call last):
File "google\genai\_gaos\interactions.py", line 756, in create

return _speakeasy_parse_response(http_res)

File "google\genai\_gaos\interactions.py", line 504, in _speakeasy_parse_response

raise errors.CreateInteractionServerError(

google.genai._gaos.errors.createinteraction.CreateInteractionServerError: gemini-3.8-flash is currently experiencing high demand, spikes in demand are usually temporary. Please try again later.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "videotrans\task\only_one.py", line 113, 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 85, in run
File "tenacity\__init__.py", line 480, in call
File "videotrans\translator\_gemini.py", line 49, in _item_task
File "google\genai\_gaos\google_genai.py", line 278, in create

response = wrap_sdk_call(

File "google\genai\_gaos\lib\compat_errors.py", line 368, in wrap_sdk_call

return fn(*args, **kwargs)

File "google\genai\_gaos\interactions.py", line 758, in create

response_helpers.raise_parse_error(

File "google\genai\_gaos\utils\response_helpers.py", line 92, in raise_parse_error

raise parse_error from exc

google.genai._gaos.lib.compat_errors.InternalServerError: Error code: 503 - {'error': {'message': 'gemini-3.8-flash is currently experiencing high demand, spikes in demand are usually temporary. Please try again later.', 'code': 'service_unavailable'}}

trk=Translation V/A 单视频模式
Select Media File: C:/Users/Super/AppData/Local/CapCut/Videos/1109 (1)(2).mp4,
Output Directory: C:/Users/Super/AppData/Local/CapCut/Videos/_video_out/1109 (1)(2)-mp4,
self.cfg.cache_folder='C:/pyVideoTrans/tmp/9632/90aa2b3219'
Selected Clear Output, Selected Enable CUDA
STT Service:WhisperX(LocalAPI), large-v3-turbo, Spoken: French
Max Speech Duration (s): 5s
Min Speech Duration (ms): 3000ms
Min Silence Duration for Split (ms): 600ms
VAD Speech Threshold: 0.45
VAD Engine: silero
TranslateSrt:Gemini AI,Spoken:French,Target:Italian
Selected SendSRT, AI Translation Batch Size (Lines):40
TTS Service:Elevenlabs.io, Voices:George - Warm Captivating Storyteller, Target:Italian
Volume:+0%, Speed:+0%, Selected TTS Speedup, Not-Selected Slow Video
Selected Trim Start/End Silence in Dubbed Segments
Silence Removal Intensity: default
Soft Subtitles
video duration:61566ms
video information:{'video_fps': 60.0, 'r_frame_rate': 60.0, 'video_codec_name': 'h264', 'audio_codec_name': 'aac', 'width': 1080, 'height': 1920, 'time': 61566, 'streams_len': 2, 'streams_audio': 1, 'video_streams': 1, 'color': 'yuv420p'}
self.cfg=TaskCfgVTT(uuid='90aa2b3219', name='C:/Users/Super/AppData/Local/CapCut/Videos/1109 (1)(2).mp4', dirname='C:/Users/Super/AppData/Local/CapCut/Videos', noextname='1109 (1)(2)', basename='1109 (1)(2).mp4', ext='mp4', target_dir='C:/Users/Super/AppData/Local/CapCut/Videos/_video_out/1109 (1)(2)-mp4', cache_folder='C:/pyVideoTrans/tmp/9632/90aa2b3219', is_cuda=True, source_language='French', source_language_code='fr', source_sub='C:/Users/Super/AppData/Local/CapCut/Videos/_video_out/1109 (1)(2)-mp4/fr.srt', source_wav='C:/pyVideoTrans/tmp/9632/90aa2b3219/fr.wav', source_wav_output='C:/Users/Super/AppData/Local/CapCut/Videos/_video_out/1109 (1)(2)-mp4/fr.m4a', target_language='Italian', target_language_code='it', target_sub='C:/Users/Super/AppData/Local/CapCut/Videos/_video_out/1109 (1)(2)-mp4/it.srt', target_wav='C:/pyVideoTrans/tmp/9632/90aa2b3219/target.wav', target_wav_output='C:/Users/Super/AppData/Local/CapCut/Videos/_video_out/1109 (1)(2)-mp4/it.m4a', translate_type=6, tts_type=25, volume='+0%', pitch='+0Hz', voice_rate='+0%', voice_role='George - Warm Captivating Storyteller', voice_autorate=True, video_autorate=False, remove_silent_mid=False, align_sub_audio=True, detect_language='fr', recogn_type=19, model_name='large-v3-turbo', shibie_audio=None, remove_noise=False, enable_diariz=False, nums_diariz=0, rephrase=False, fix_punc=0, app_mode='biaozhun', subtitle_language=None, targetdir_mp4='C:/Users/Super/AppData/Local/CapCut/Videos/_video_out/1109 (1)(2)-mp4/1109 (1)(2).mp4', novoice_mp4='C:/pyVideoTrans/tmp/9632/90aa2b3219/novoice.mp4', is_separate=False, embed_bgm=True, instrument='C:/pyVideoTrans/tmp/9632/90aa2b3219/instrument.wav', vocal='C:/pyVideoTrans/tmp/9632/90aa2b3219/vocal.wav', clear_cache=True, background_music='', subtitle_type=2, only_out_mp4=False, recogn2pass=False, output_srt=0, copysrt_rawvideo=False, loop_backaudio=1, backaudio_volume=0.8, batch=False)
video_duration_ms=61566


=
system:Windows-10-10.0.26200-SP0
version:v4.18
frozen:True
language:en_US
root_dir:C:/pyVideoTrans

1 Replies

#1 DeepSeek reply at 50 minutes ago

This is a temporary server-side overload on Google's side (HTTP 503 service_unavailable), not a software fault. The Gemini gemini-3.8-flash model endpoint is currently being rate-limited due to high demand. Retrying the same request later usually succeeds.

Handling steps:

  1. Wait and retry: wait a few minutes, then re-click Start Execution. Increase Menu → Tools/Options → Advanced Options → General → Retry Attempts on Failure (for example to 3–5) so that such 503 errors are retried automatically.
  2. Before retrying, uncheck Clear Output on the main interface. The fr.srt recognized subtitles are already stored in the output directory; leaving it unchecked lets the software skip the time-consuming STT stage and go straight to translation, avoiding wasted work.
  3. Switch the Gemini model: in Menu → Translation Settings → Gemini AI, change the model to another available one (for example a non-flash version), to avoid the current congested endpoint.
  4. Change the translation channel (recommended for stability): switch the subtitle translation channel to an AI channel such as DeepSeek, which has lower latency and is less likely to be queued. Keep SendSRT checked and set AI Translation Batch Size (Lines) to 20–40 as it is now.
  5. If errors still occur after switching channels, please provide the last 30 lines of the error information from the latest log file in the logs/ folder under the software installation directory.

Supplementary note: your current parameter combination has no conflict. The File Name 1109 (1)(2).mp4 contains spaces and parentheses, which works in this case, but renaming it to a short name such as 1109.mp4 is still recommended to reduce the risk of other ffmpeg errors.

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