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

2a01**470d Posted at: 2 hours 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/Downloads/ssstik.io_1784098499554 (1)-2x-RIFE-RIFE4.0-60fps.mp4,
Output Directory: C:/Users/Super/Downloads/_video_out/ssstik.io_1784098499554 (1)-2x-RIFE-RIFE4.0-60fps-mp4,
self.cfg.cache_folder='C:/pyVideoTrans/tmp/9632/7ce70b31e5'
Selected Clear Output, Selected Enable CUDA
STT Service:WhisperX(LocalAPI), large-v3-turbo, Spoken: English
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:English,Target:French
Selected SendSRT, AI Translation Batch Size (Lines):40
TTS Service:Elevenlabs.io, Voices:George - Warm Captivating Storyteller, Target:French
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:62383ms
video information:{'video_fps': 60.0, 'r_frame_rate': 60.0, 'video_codec_name': 'h264', 'audio_codec_name': 'aac', 'width': 1080, 'height': 1920, 'time': 62383, 'streams_len': 2, 'streams_audio': 1, 'video_streams': 1, 'color': 'yuv420p'}
self.cfg=TaskCfgVTT(uuid='7ce70b31e5', name='C:/Users/Super/Downloads/ssstik.io_1784098499554 (1)-2x-RIFE-RIFE4.0-60fps.mp4', dirname='C:/Users/Super/Downloads', noextname='ssstik.io_1784098499554 (1)-2x-RIFE-RIFE4.0-60fps', basename='ssstik.io_1784098499554 (1)-2x-RIFE-RIFE4.0-60fps.mp4', ext='mp4', target_dir='C:/Users/Super/Downloads/_video_out/ssstik.io_1784098499554 (1)-2x-RIFE-RIFE4.0-60fps-mp4', cache_folder='C:/pyVideoTrans/tmp/9632/7ce70b31e5', is_cuda=True, source_language='English', source_language_code='en', source_sub='C:/Users/Super/Downloads/_video_out/ssstik.io_1784098499554 (1)-2x-RIFE-RIFE4.0-60fps-mp4/en.srt', source_wav='C:/pyVideoTrans/tmp/9632/7ce70b31e5/en.wav', source_wav_output='C:/Users/Super/Downloads/_video_out/ssstik.io_1784098499554 (1)-2x-RIFE-RIFE4.0-60fps-mp4/en.m4a', target_language='French', target_language_code='fr', target_sub='C:/Users/Super/Downloads/_video_out/ssstik.io_1784098499554 (1)-2x-RIFE-RIFE4.0-60fps-mp4/fr.srt', target_wav='C:/pyVideoTrans/tmp/9632/7ce70b31e5/target.wav', target_wav_output='C:/Users/Super/Downloads/_video_out/ssstik.io_1784098499554 (1)-2x-RIFE-RIFE4.0-60fps-mp4/fr.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='en', 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/Downloads/_video_out/ssstik.io_1784098499554 (1)-2x-RIFE-RIFE4.0-60fps-mp4/ssstik.io_1784098499554 (1)-2x-RIFE-RIFE4.0-60fps.mp4', novoice_mp4='C:/pyVideoTrans/tmp/9632/7ce70b31e5/novoice.mp4', is_separate=False, embed_bgm=True, instrument='C:/pyVideoTrans/tmp/9632/7ce70b31e5/instrument.wav', vocal='C:/pyVideoTrans/tmp/9632/7ce70b31e5/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=62383


=
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 2 hours ago

This is not a software bug. It is a temporary 503 service_unavailable response returned by Google's Gemini server, which means gemini-3.8-flash is currently under high load. The subtitle-translation stage sent its request, received this 503 response, and the task aborted.

Solution (in order):

  1. Retry later: this error is transient, so wait a few minutes and re-run the task. Retrying does not fix the issue; only the server's load decreasing fixes it.
  2. Enable automatic retries: open Menu → Tools/Options → Advanced Options → General → Retry Attempts on Failure, and set a value of 3–5 so the software retries after a 503 automatically.
  3. Reduce the batch size: you currently use AI Translation Batch Size (Lines): 40. Open Menu → Tools/Options → Advanced Options → Subtitle Translation → AI Translation Batch Size (Lines), and change it to 10–20. This reduces both the length of each request and the chance of hitting a load spike.
  4. Switch model or channel: change to another Gemini model in Menu → Translation Settings → Gemini, or use DeepSeek, which is lower cost and highly stable. If you switch channels, uncheck SendSRT only if the new channel does not support it; for DeepSeek, keep SendSRT checked.
  5. Rename the video file: your file is named ssstik.io_1784098499554 (1)-2x-RIFE-RIFE4.0-60fps.mp4, and it contains spaces and parentheses. Rename it to a short name that contains only letters and digits, for example video1.mp4, and move it to a shallow directory such as the desktop or the D drive. Otherwise, you may later encounter an ffmpeg or ffprobe path error.
  6. Since Clear Output was checked, re-running performs recognition again. If the speech recognition (WhisperX) result is already correct, uncheck Clear Output before retrying to skip that stage.

Please refer to the related documentation:

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