Skip to main content
Generate a curl command for making TTS API requests. The generated command uses $(rime key) as a shell expression, so your API key never appears in the printed command. Instead, the shell resolves it when you run the command.
If you provide text, --speaker and --model-id are required. With no arguments, the command prints an example request. The generated command saves audio to output.wav. It includes --fail, so an HTTP error stops curl instead of being written to the output file.

Optional flags

*Defaults apply only when run without arguments. When text is provided, --speaker and --model-id are required.

Coda flags

The CLI rejects these flags for mistv3.

Mist v3 flags

The CLI rejects these flags for coda.

Examples