What do you want to do?
4 use cases
-
Translate a screenshot or photo without OCR
Get the translated text from an image in one command, with no separate OCR step.
- Index Translate
- Content
- Intermediate
View prompt
Use the repo at https://github.com/bilibili/Index-Translate. Run `python inference/llm/call_api.py --image <image_path> --target <language_code>` on the image at <image_path> and return the translated text. Verify that the output is in the target language and that it covers the main text visible in the image.
-
Translate a text string from the command line
Send a sentence to the free API and get a translation back in one command.
- Index Translate
- Content
- Beginner
View prompt
Use the repo at https://github.com/bilibili/Index-Translate. Run `python inference/llm/call_api.py "<text>" --target <language_code>` and return the translated output. Verify that the output is in the requested language and keeps the meaning of the source text.
-
Use the API inside a browser translation extension
Run a local bridge so Immersive Translate can translate web pages through the free API.
- Index Translate
- Content
- Intermediate
View prompt
Use the repo at https://github.com/bilibili/Index-Translate. Start the local bridge with `python inference/llm/call_api.py --serve` and confirm it listens at http://127.0.0.1:8080/v1. Return the exact extension settings used. Verify that a test request to that address returns a translated response.
-
Turn speech into translated subtitles
Use Index-Echo S2TT to produce subtitles from speech in zh to en, ja, or es.
- Index Translate
- Content
- Advanced
View prompt
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.
How to use Index Translate
- Check you have what it needs: 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.
- Open bilibili/Index-Translate on GitHub and read the README and license.
- Clone the repo with
git clone https://github.com/bilibili/Index-Translateand open a terminal in the folder. (inferred, check the README) - Run
python inference/llm/call_api.py --image path/to/screenshot.png --target zhto translate with the default 35B model. - For a lighter model, run
python inference/llm/call_api.py --image photo.jpg --target zh -m Index-Translate-2B. - Compare the output against the original image and note any text the model missed.
These steps come from our top use case, Translate a screenshot or photo without OCR, which also has a copy-paste agent prompt.
Get 5 new use cases every morning. Free, one short email, unsubscribe anytime.
Get them freeAbout this repo
- Who it is forWritten for people and AI agents who need to translate text, screenshots, long documents, or speech into subtitles without building a translation system.
- Why it is hot
- LanguagePython
- Sourcegithub.com/bilibili/Index-Translate · Back to Hot repos
Requirements
- 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
Maintain Index Translate? Add the Featured on Deduped badge
Paste this into your README:
[](https://dedupedai.com/use-cases/bilibili-index-translate/?ref=badge)
Questions about Index Translate
What is Index Translate?
Index-Translate is a family of multilingual, multimodal translation models built on Qwen3.5, with a free OpenAI-compatible API and a command-line script. It is an open-source project on GitHub: https://github.com/bilibili/Index-Translate.
Who is Index Translate for?
Written for people and AI agents who need to translate text, screenshots, long documents, or speech into subtitles without building a translation system.
What can I do with Index Translate?
4 use cases so far, for example: Translate a screenshot or photo without OCR; Translate a text string from the command line; Use the API inside a browser translation extension. Each has steps and a copy-paste agent prompt.
What do I need to run Index Translate?
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.
What are alternatives to Index Translate?
Other hot AI repos in Content: Voice Studio, Anatomy, Comfy UI, Hyperframes, Earshot.
Is Index Translate safe to run?
Deduped does not own, audit or vouch for it. Read the README and license, run it on your own systems first and review every command before you run it.