Translate Subtitles Effortlessly with Gemini SRT Translator

Published On Tue Jun 17 2025
Translate Subtitles Effortlessly with Gemini SRT Translator

About gemini-srt-translator·PyPI

Are you looking for a reliable tool to translate subtitles using Google Generative AI? Look no further than Gemini SRT Translator available on PyPI!

To get started, simply run the following command:

pip install gemini-srt-translator

Released on , Gemini SRT Translator is a powerful Python tool that leverages the capabilities of Google Gemini AI to provide fast, accurate, and customizable translations for videos, movies, and series.

It's always recommended to use a virtual environment when working with gemini-srt-translator, as it installs several dependencies that may conflict with existing packages.

Providing Your API Key

You can provide your API key in multiple ways:

  • macOS/Linux:
  • Windows (Command Prompt):
  • Windows (PowerShell):
  • Command Line Argument: Use the -k or --api-key flag
  • Interactive Prompt: The tool will prompt you if no key is found
  • Python API: Set the gemini_api_key variable in your script

If you want to re-run the tool with the same parameters or specify the start line, it's just a command away.

Additional Features

Exciting news! Thanks to the incredible work of @dane-9, there's now a user-friendly GUI application available for Gemini SRT Translator. If you prefer a graphical interface over command-line usage, check out Gemini SRT Translator GUI. It provides the same powerful translation capabilities with an intuitive visual interface.

Top Tools for Python Monitoring | Cloud Native Daily

Gemini SRT Translator is distributed under the MIT License. For more details, refer to the LICENSE file.

We extend our gratitude to all those who have contributed to this project. Special thanks to the users who have reported issues, suggested features, and helped enhance the project.