DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to turn speech into translated subtitles with Index Translate

Use Index-Echo S2TT to produce subtitles from speech in zh to en, ja, or es.

Short answer: Open the Index-Echo S2TT guide at inference/echo-s2tt/README.md; then 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. All steps.

  • Content
  • Advanced
  • 1 hour
  • From the README
  • Any agent

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

  1. Open the Index-Echo S2TT guide at inference/echo-s2tt/README.md.
  2. Choose the model you need from the Index-Echo S2TT 2B or 9B checkpoints on Hugging Face or ModelScope.
  3. Follow the packaged script in the guide for the zh to en, ja, or es pair.
  4. 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

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer