Mami

Translate where you type.

Select text in any input box and a small button appears. Click it for the translation, or press Alt T to replace the text in place. Mami is a Windows tray app that uses the model and API key you already have.

Windows 10 and 11, x64. Free and open source under the MIT license.

Chat

这是写给 AI 的提示词:请逐条检查日志,不要直接改代码。

中文 → English
Select the text above, or click it.

Built to stay out of the way

Input boxes only
Web pages and documents are left alone. Before showing anything, Mami asks Windows whether the focus is an editable field.
Keeps your selection
The button and the card never take focus, and your clipboard is put back after every translation.
Safe in terminals
In Windows Terminal Mami sends no keystrokes, so the program you are running never gets a surprise Ctrl+C.
Your model, your key
Any OpenAI-compatible endpoint. Tencent Hy-MT2 and bilibili Index-Translate get prompt formats of their own.

Make it yours

Light and dark themes, nine interface languages, twenty target languages, and extra instructions for style and terminology.

Mami settings window
The extra-instructions box grows with what you type. Drag the handle at its corner to size it yourself.

Get started

  1. Download the installer from the releases page and run it. Mami opens its settings the first time.
  2. It starts on bilibili's free endpoint, which needs no key. For daily use, pick one of the endpoints below and paste your key.
  3. Select text in any input box. Press Alt T to translate and replace, or Alt Shift T to only see the card.
ProviderBase URLModelNotes
Tencent TokenHubhttps://tokenhub.tencentmaas.com/v1hy-mt2-proPaid, stable, about 1 s.
OpenRouterhttps://openrouter.ai/api/v1tencent/hy-mt2-30b-a3bSame model family, pay as you go.
bilibili (free)https://index-translate.bilibili.com/v1Index-Translate-35B-A3BNo key. Can be flaky at peak hours.