MG

maktail/gemini-srt-translator

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

363 stars 品質 75 トレンド 34MIT

Google Gemini AIを用いた字幕翻訳のためのPythonツール

概要

モデル過負荷のメッセージが多すぎる場合は、ストリーミングモードをオフにしてください。 Google Gemini AIの力を使ってSRTおよびASS字幕ファイルを翻訳しましょう!🚀 Google Gemini AIの力を使って字幕ファイルを翻訳する強力なPythonツールです。動画、映画、シリーズの速く正確かつカスタマイズ可能な翻訳を求める人に最適です。 - 🔤 : .srtおよび.ass字幕ファイルをGoogle Gemini AIがサポートする幅広い言語に翻訳できます。- 🎙️ : Geminiの音声機能を使って音声やビデオファイルを直接字幕に書き起こします。- ⏱️ : 翻訳された字幕が元のファイルの正確なタイムスタンプとネイティブのSRT/ASSフォーマットを保持していることを保証します。- 💾 : 中断された翻訳を中断したところから簡単に再開できます。- 🧠 : 思考力と推論能力を活用し、より文脈に応じた正確な翻訳を実現します(Gemini 2.5および3モデルで利用可能)。- 🖥️ : 完全なコマンドラインインターフェースを提供し、自動化とスクリプトが容易です。

概要(AI 翻訳)

[!警告] モデルの過負荷メッセージが多すぎる場合は、ストリーミングモードをオフにしてください。

🌟 ジェミニSRTトランスレーター

Google Gemini AIの力を使ってSRTやASSの字幕ファイルを翻訳しましょう!🚀


✨ 概要

Gemini SRT Translatorは、Google Gemini AIの力を使って字幕ファイルを翻訳する強力なPythonツールです。動画、映画、シリーズの迅速かつ正確、かつカスタマイズ可能な翻訳が必要な方に最適です。


  • 🔤 字幕翻訳:Google Gemini AIがサポートする幅広い言語に翻訳できます。
  • 🎙️ 文字起こし:Geminiの音声機能を使って音声や映像ファイルを直接字幕に書き起こします。
  • ⏱️ タイミングとフォーマット:翻訳された字幕が元のファイルの正確なタイムスタンプとネイティブのSRT/ASSフォーマットを維持することを保証します。
  • 💾 クイック履歴:中断された翻訳を中断したところから簡単に再開できます。
  • 🧠 高度なAI:思考力と推論能力を活用し、より文脈的に正確な翻訳を実現します(Gemini 2.5および3モデルで利用可能)。
  • 🖥️ CLIサポート:自動化とスクリプトの簡単な完全なコマンドラインインターフェース。

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

[!WARNING] If you are experiencing too many model overloaded messages, switch off streaming mode.

🌟 Gemini SRT Translator

Translate SRT and ASS subtitle files using the power of Google Gemini AI! 🚀


✨ Overview

Gemini SRT Translator is a powerful python tool to translate subtitle files using the power of Google Gemini AI. Perfect for anyone needing fast, accurate, and customizable translations for videos, movies, and series.


  • 🔤 Subtitle Translation: Translate .srt and .ass subtitle files to a wide range of languages supported by Google Gemini AI.
  • 🎙️ Transcription: Transcribe audio or video files directly into subtitles using Gemini’s audio capabilities.
  • ⏱️ Timing & Format: Ensures that the translated subtitles maintain the exact timestamps and native SRT/ASS formatting of the original file.
  • 💾 Quick Resume: Easily resume interrupted translations from where you left off.
  • 🧠 Advanced AI: Leverages thinking and reasoning capabilities for more contextually accurate translations (available on Gemini 2.5 and 3 models).
  • 🖥️ CLI Support: Full command-line interface for easy automation and scripting.
  • ⚙️ Customizable: Tune model parameters, adjust batch size, and access other advanced settings.
  • 🎞️ Subtitle Extraction: Extract and translate native SRT or ASS subtitles from video files automatically (requires FFmpeg).
  • 🎵 Audio Context: Extract audio from a video file or provide your own to improve translation accuracy (requires FFmpeg).
  • 📜 Description Support: Add a description to your translation job to guide the AI in using specific terminology or context.
  • 📋 List Models: Easily list all currently available Gemini models to choose the best fit for your needs.
  • 🔄 Auto-Update: Keep the tool updated with automatic version checking and update prompts.
  • 📝 Logging: Optional saving of progress and ‘thinking’ process logs for review.

📦 Installation

Basic:

pip install --upgrade gemini-srt-translator
GitHub で README 全文を見る

推奨ツール

別のキーワードを試すか、フィルタを外してください。

インストール

npx skillfish add maktail/gemini-srt-translator
MCP 初心者?mcpskill.org のガイドから始めましょう →