中文 | English
🤖 AI Subtitle Translation ai.cgsv.top
The main function is to translate local subtitle files or Bilibili/YouTube subtitles into the language of your choice using GPT-3.5 as the translation engine.
- Support uploading local SRT/ASS format subtitle files and grabbing Bilibili/YouTube subtitles
- Translate part of the text and display the translation in real-time:
- Support exporting original/translated subtitles to local (currently only support SRT format)
- Translation engine supports GPT-3.5 or Google Translate
- Support mutual translation of all common languages
- Using OpenAI GPT-3.5 API as the translation engine
- Developed with NextJS and deployed on Vercel with Vercel Edge functions
- Using Upstash Redis for caching and rate limiting
- Please try to use your own OpenAI key for more stability (this project will not store user keys)
- Translating complete subtitle files requires a large number of tokens, please pay attention to token usage
- Translating complete subtitle files may take a long time, please do not close the current browser window
After copying this project to your local machine, create your own .env file based on the .example.env file and complete the required environment variables.
Then, run the following command in the terminal. Once successful, you can preview the project at http://localhost:3000.
npm run dev
Email: cgsv@qq.com