Pre-recorded Audio

Input Types — Remote URL

Pass a publicly accessible URL to an audio or video file. The server fetches and processes the audio directly.


Python SDK

python
result = await client.asr.transcribe_url(
    "https://example.com/recording.mp4",
    config=TranscriptionConfig(model="zero-indic"),
)

REST API

terminal
curl https://asr.shunyalabs.ai/v1/audio/transcriptions \
  -H "Authorization: Bearer $SHUNYALABS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "zero-indic", "url": "https://example.com/recording.mp4"}'
The URL must be publicly accessible. Both audio and video URLs are accepted — audio is extracted from video automatically.