Skip to content

Read-only version of the Rime TTS CLI for releases

Notifications You must be signed in to change notification settings

rimelabs/rime-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rime CLI

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.

rime tts demo

Install

Homebrew (macOS & Linux)

brew tap rimelabs/rime-cli
brew install rime-cli

Shell Script

curl -fsSL https://rime.ai/install-cli.sh | sh

To install a specific version:

curl -fsSL https://rime.ai/install-cli.sh | sh -s v1.0.0

From Source

go install github.com/rimelabs/rime-cli@latest

Quick Start

# 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 hello

Commands

rime login

Opens the Rime dashboard in your browser and saves your API key locally.

rime login

rime tts TEXT

Synthesize text to speech. Streams audio and plays it in real-time as it arrives.

rime tts "Your text here" --speaker astra --model-id arcana

Streaming TTS

Flags:

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

Save and play

rime curl [TEXT]

Generate a curl command for making TTS API requests. Useful for debugging and integration.

rime curl "Hello world" --speaker astra --model-id arcana --oneline

curl demo

rime play FILE

Play a WAV or MP3 audio file with waveform visualization.

rime play output.wav

Play demo

rime hello

Quick demo that plays a time-appropriate greeting using the Astra voice.

rime hello

Hello demo

rime uninstall

Print removal instructions for the CLI binary and configuration files.

Models

Model Format Description
arcana WAV High-quality, low-latency
mistv2 MP3 Compressed output
mist MP3 Legacy

Languages

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)

Configuration

Item Location
API key ~/.rime/cli-api-token
Config directory ~/.rime/

The RIME_CLI_API_KEY environment variable takes precedence over the stored key.

Uninstall

Homebrew:

brew uninstall rime-cli
brew untap rimelabs/rime-cli

Shell install:

rm ~/.rime/bin/rime

Remove configuration:

rm -rf ~/.rime

License

Proprietary. See rime.ai for terms.

About

Read-only version of the Rime TTS CLI for releases

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •