Prerequisites
- A Rime account: Sign up free (you will log in through the CLI)
- macOS or Linux (the CLI runs on both)
Step 1: Install the CLI
Pick your preferred installation method.Shell script
After installation, you may need to open a new terminal or run
source ~/.zshrc (or ~/.bashrc) for the rime command to be available.Step 2: Log in
~/.rime/rime.toml automatically.

Step 3: Hear your first voice

Synthesize your own text
Now that the CLI is set up, generate speech from any text:

Try different voices and models
Rime offers 94+ voices. Swap the--speaker flag to change the voice:
The
mistv2 and mist models require --format mp3 (or -f mp3).Generate a curl command
Need to integrate with the API directly? Generate a ready-to-use curl command:--show-key to include your actual API key in the output, or --oneline for easy copy-paste.

