Who it is forA video editor or creator who has spoken audio in Chinese and needs subtitles in English, Japanese, or Spanish.
The problemTranscribing speech and then translating the transcript is two steps, and timing often gets lost between them.
The outcomeSubtitles translated from the speech in one pipeline, for the supported language pairs.
What you need first
- Python installed to run inference/llm/call_api.py
- Internet access to call the free public API at index-translate.bilibili.com
- A local image file (PNG or JPG) or text you want translated
Steps
- Open the Index-Echo S2TT guide at inference/echo-s2tt/README.md.
- Choose the model you need from the Index-Echo S2TT 2B or 9B checkpoints on Hugging Face or ModelScope.
- Follow the packaged script in the guide for the zh to en, ja, or es pair.
- Review the subtitles against the audio, especially names and numbers.
Prompt for your agent
Use the repo at https://github.com/bilibili/Index-Translate. Follow inference/echo-s2tt/README.md to translate the speech file at <audio_path> from zh to <target_language> and return the subtitle output. Verify that the target language is one of en, ja, or es and that subtitles follow the speech order.
Caveat. The README lists S2TT support only for zh to en, ja, and es, so other source or target pairs are not covered.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for bilibili/Index-Translate and "Turn speech into translated subtitles"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer