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

Developers can now deploy Rime’s text-to-speech services on Cerebrium:
  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
Rime handles API authentication via the key you provide, and your containers will scale automatically based on the concurrency and replica settings defined in the TOML file. For full setup instructions, see the Cerebrium documentation.