The official command-line interface for Rime text-to-speech synthesis. Generate natural-sounding speech from text, stream audio in real-time, and integrate Rime TTS into your workflows.
brew tap rimelabs/rime-cli
brew install rime-clicurl -fsSL https://rime.ai/install-cli.sh | shTo install a specific version:
curl -fsSL https://rime.ai/install-cli.sh | sh -s v1.0.0go install github.com/rimelabs/rime-cli@latest# Authenticate with your Rime API key
rime login
# Synthesize text to speech — streams and plays immediately
rime tts "Hello from Rime" --speaker astra --model-id arcana
# Save to a file instead
rime tts "Hello from Rime" --speaker astra --model-id arcana -o hello.wav
# Play a quick demo
rime helloOpens the Rime dashboard in your browser and saves your API key locally.
rime loginSynthesize text to speech. Streams audio and plays it in real-time as it arrives.
rime tts "Your text here" --speaker astra --model-id arcanaFlags:
| Flag | Short | Description |
|---|---|---|
--speaker |
-s |
Voice to use (e.g. astra, celeste) |
--model-id |
-m |
Model ID (arcana for WAV, mistv2 for MP3) |
--output |
-o |
Save to file (use - for stdout) |
--play |
-p |
Play audio after saving to file |
--lang |
-l |
Language code (default: eng) |
--json |
Output results as JSON | |
--quiet |
-q |
Suppress non-essential output |
Generate a curl command for making TTS API requests. Useful for debugging and integration.
rime curl "Hello world" --speaker astra --model-id arcana --onelinePlay a WAV or MP3 audio file with waveform visualization.
rime play output.wavQuick demo that plays a time-appropriate greeting using the Astra voice.
rime helloPrint removal instructions for the CLI binary and configuration files.
| Model | Format | Description |
|---|---|---|
arcana |
WAV | High-quality, low-latency |
mistv2 |
MP3 | Compressed output |
mist |
MP3 | Legacy |
Arcana: English (eng), Arabic (ara), French (fra), German (ger), Hebrew (heb), Hindi (hin), Japanese (jpn), Portuguese (por), Sinhala (sin), Spanish (spa), Tamil (tam)
Mist / MistV2: English (eng), French (fra), German (ger), Spanish (spa)
| Item | Location |
|---|---|
| API key | ~/.rime/cli-api-token |
| Config directory | ~/.rime/ |
The RIME_CLI_API_KEY environment variable takes precedence over the stored key.
Homebrew:
brew uninstall rime-cli
brew untap rimelabs/rime-cliShell install:
rm ~/.rime/bin/rimeRemove configuration:
rm -rf ~/.rimeProprietary. See rime.ai for terms.




