Subtitle translator using LLMs
Top 65.6% on sourcepulse
GPT-Subtrans is an open-source tool that leverages Large Language Models (LLMs) to translate SRT subtitle files. It supports multiple LLM providers, including OpenAI, Google Gemini, Anthropic Claude, DeepSeek, and Mistral AI, making it a versatile solution for subtitle localization for content creators and media professionals.
How It Works
The tool processes subtitle files by dividing them into small batches, which are then sent to the chosen LLM provider for translation. This batching approach, combined with configurable minbatchsize
and maxbatchsize
parameters, aims to balance translation speed, cost, and accuracy while minimizing desynchronization issues. Advanced options like preprocess
and postprocess
allow for further refinement of subtitle quality.
Quick Start & Requirements
Highlighted Details
Maintenance & Community
The project is actively maintained, with version 1.0 indicating stability. Community contributions are welcomed via pull requests.
Licensing & Compatibility
Licensed under the MIT License, permitting commercial use and integration with closed-source projects.
Limitations & Caveats
21 hours ago
1 day