Skip to main content
Generate an MP3 speech sample from text. All arguments are optional: with none, it plays a default sample in the demo voice (lyra on Coda, Rime’s flagship model) — the fastest way to hear Rime. Choose a speaker and modelId from list_voices and get_voice_details. API key: Required — see Authentication. Samples consume credits like any other API request, so keep sample text short.

Parameters

Returns

Audio is delivered three ways so it plays regardless of the host — an inline player in UI hosts, a short-lived play URL (structuredContent.audioUrl) for terminal hosts, and an optional audio content block. See Playing audio.

Example

Ask your assistant: