Skip to main content
Deploy Rime TTS on Cerebrium with a Rime API key and Cerebrium CLI 1.39.0 or later. The deployment exposes REST and WebSocket interfaces and scales according to the concurrency and replica settings in cerebrium.toml.

Get started

  1. Create a Rime account and obtain your API key.
  2. Create a secret in Cerebrium named RIME_API_KEY with your Rime key.
  3. Initialize your app with the Cerebrium CLI (v1.39.0 or higher):
  1. Define your deployment using a cerebrium.toml file with the [cerebrium.runtime.rime] configuration. Specify your compute resources (e.g., AMPERE_A10 GPU, memory, CPU), scaling parameters, and region (e.g., us-east-1). See Cerebrium’s documentation for full implementation details.
  2. Deploy with:
Once deployed, you can send real-time TTS inference requests using either:
  • REST API, with an endpoint like:
Include your RIME API key in the Authorization header and specify your desired speaker, model, and text.
  • WebSocket interface for streaming audio
The Cerebrium container authenticates to the Rime API with the RIME_API_KEY secret, and Cerebrium scales your containers automatically based on the concurrency and replica settings defined in the TOML file. For full setup instructions, see the Cerebrium documentation.