Gemini SRT Translator GUI is a user-friendly graphical interface for the excellent Gemini SRT Translator tool, built with PySide6. It offers a modern, intuitive interface for batch processing subtitle and video files with queue management features.
- Batch Processing - Process multiple files at once, even from different directories. The queue can handle any combination of task types:
- Subtitle: Add
.srtfiles to translate. - Video + Subtitle: Add a video and its matching
.srtfile. The GUI automatically pairs them, using the video's audio for context to produce the highest quality translation. - Video Only: Add a video by itself to extract audio and attempt to translate the first embedded subtitle track. (Note: This can fail if the embedded track is not in SRT format).
- Subtitle: Add
- Multi-Language Translation - Translate a single file into dozens of languages at once using a searchable language selection dialog.
- Persistent Queue - The queue is automatically saved on exit and reloaded on the next launch, so you never lose your workspace.
- Advanced Queue Management - Use the right-click context menu to reorder, reset status, bulk-edit descriptions, and change target languages for items in the queue.
- Customizable File Output - Control how your files are named with a flexible naming pattern that preserves language codes and modifiers (like
.forcedor.sdh). - API Key Validation - The GUI quickly checks if your API keys are valid as you type, giving you immediate feedback and preventing errors after the translation process has already begun.
- Modern User Interface - A completely custom-built interface featuring a frameless window, a modern dark theme. All processing is handled on a background thread so the UI never freezes.
- Real-time Progress - Live progress bars and status updates
- Full GST Integration - Access advanced
gstparameters and model tuning options through the Settings menu.
- Download the latest release from the Releases page.
- Place the executable in your desired location.
- Run
GeminiSRTTranslator.exeto launch.
No Python or manual dependency installation required. FFmpeg is bundled directly with the executable to handle all video and audio processing out-of-the-box.
If you prefer to run from source code:
git clone https://github.com/dane-9/gemini-srt-translator-gui.gitcd gemini-srt-translator-guipython -m venv venv
# On Windows:
venv\Scripts\activate
# On macOS/Linux:
source venv/bin/activatepip install -r requirements.txtpython main.py- Go to Google AI Studio API Key.
- Sign in with your Google account.
- Click Generate API Key.
- Copy and keep your key safe.
- Launch - Double-click
Gemini SRT Translator.exe. - Enter API Key - Paste your Gemini API key into the "API Key 1" field.
- Select Language(s) - Click the "Language Selection" button in the title bar to choose one or more target languages.
- Add Files - Click "Add Files". For best results, select both your
.srtfile and its matching video file (.mp4,.mkv) together. The app will automatically pair them. - Add Context (Optional) - Right-click items in the queue to add descriptions for better, more context-aware translations.
- Start Translation - Click "Start Translating" and watch the progress.
Translated files are saved in the same directory as the source files. The default naming pattern is {original_name}.{lang_code}.{modifiers}.srt.
{lang_code}is in accordance with ISO-639-1 and can also detect ISO-639-2 from input files.{modifiers}preserves tags like.forcedor.sdhfrom the original filename.
Examples:
# Original: movie.srt -> Translated to French
movie.fr.srt
# Original: movie.en.forced.srt -> Translated to German
movie.de.forced.srt
Access the Settings dialog from the title bar for full control over gst parameters.
- Batch Size - Number of subtitle lines processed per request (default: 300).
- Progress/Thoughts Logging - Enable detailed logging files from the backend.
- Model Name - Choose the Gemini model to use (default: "gemini-1.5-flash-latest").
- Temperature - Controls randomness (0.0-2.0, default: 0.7).
- Top P / Top K - Advanced sampling parameters.
- Thinking - Enable AI reasoning for potentially better accuracy (default: True).
- Thinking Budget - Token budget for the thinking process (default: 2048).
- Prefer Video + SRT Pairs over Video-Only - It is highly recommended to add both the video and its corresponding
.srtfile. This ensures the correct source subtitle is used and provides audio context for the best translation quality. Adding a video-only file will attempt to extract the first embedded subtitle track, which may have an unknown language or be in a format other than SRT, causing the translation to fail. - Dual API Keys - Add a secondary key in the "API Key 2" field to avoid rate limits and increase your processing capacity.
- Use Descriptions - Add context like "Medical TV series, use formal medical terminology" for domain-specific translations.
- Bulk-edit Descriptions - Select multiple files, right-click, and choose "Bulk Edit Description" to apply the same context to many files at once.
- Manage Multiple Languages - Right-click any task in the queue to change its target languages without having to re-add it.
This GUI is built on top of the excellent Gemini SRT Translator library by MaKTaiL.
Distributed under the MIT License. See the LICENSE file for details.
