Docs/Get started/Your first transcription
Your first transcription
Send one minute of audio in under three lines of curl. This walkthrough assumes you already have an API key from your dashboard.
Prepare an audio file
Save a short clip as hello.wav. Anything mono 16 kHz works best, but the service will accept 8–48 kHz input and resample server-side. See audio formats for the full matrix.
Make the call
POST the file to /api/v1/transcribe:
cURL
curl https://api.varmir.com/api/v1/transcribe \
-H "Authorization: Bearer mstk_your_key" \
-F "[email protected]"The response includes the transcript, the detected language and your remaining credit balance.
Add translation
Adding translate_to=uk (or any supported language code) pipes the transcript through NLLB-200 and returns the translation alongside it.
cURL
curl https://api.varmir.com/api/v1/transcribe \
-H "Authorization: Bearer mstk_your_key" \
-F "[email protected]" \
-F "translate_to=uk"