Skip to main content

Global flags

These flags work with all commands:

Environment variables

Configuration

The CLI uses a TOML config file at ~/.rime/rime.toml. You can define multiple named environments for different API endpoints.
Select an environment with the --env flag:
Resolution order: Environment variables override config file values, which override defaults. Within the config file, named environment values override top-level values.

Audio formats

Metadata embedding

Audio files saved by the CLI include embedded metadata (voice, model, text). This metadata is visible in rime play waveform output and in media players like Finder or Preview.
  • WAV files: LIST/INFO chunk (IART, INAM, ICMT)
  • MP3 files: ID3v2.3 tags (TPE1, TIT2, COMM)