Quickstart

Convert your audio files into accurate text transcriptions with support for 200+ languages.

Transcribe a pre-recorded audio file

By the end of this tutorial, you’ll be able to transcribe an audio file using Shunya Labs APIs.

Get Your API Key

To access the API, you’ll need your API key. You can generate your API key in the console here [link]. Store the key as a managed secret.

The REST API provides a simple interface for batch transcription.

You can quickly transcribe an audio file using the command line:

curl -X POST "https://tb.shunyalabs.ai/transcribe" \
-H "X-API-Key: your_api_key_here" \
-F "file=@your_audio.wav" \
-F "language_code=en" \
Don’t forget to replace YOUR_API_KEY with your own secret key.

A successful transcription job should give you a transcript response such as the following:

Step 3: View the response

{
    "success": true,
    "text": "Hello, this is your transcribed text.",
    "detected_language": "English",
    "total_time": 2.34
}