Skip to main content
To convert speech to text using the sunra API, you need to send a request to the appropriate endpoint with the required input parameters. The API leverages pre-trained models to transcribe audio files into text, enabling seamless conversion by simply providing an audio file. Here’s how you can use the sunra API for speech-to-text conversion:

Choosing the Right Model

sunra provides a range of speech-to-text models to suit different needs. Select a model based on your requirements for accuracy and performance. Here are some available options:
  • elevenlabs/scribe-v1: 99-language speech-to-text with word-level timestamps and diarisation—the company’s most accurate ASR yet.
To use a specific model, specify its ID in the subscribe method as shown in the example. For more models and details, visit the Speech to Text Models page.