Docs/Get started/Quickstart
Quickstart
Authenticate, send one minute of audio, and get a transcription with translation. This guide takes about 3 minutes.
REST API
1. Get an API key
Create an API key from your Varmir dashboard. Keep it secret — anyone with the key can spend your credits. Keys are prefixed with mstk_ so they are easy to spot in logs.
2. Make your first call
Send an audio file to the /transcribe endpoint with your key in the Authorization header. Set translate_to to get a translation alongside the transcript.
curl https://api.varmir.com/api/v1/transcribe \
-H "Authorization: Bearer mstk_your_key" \
-F "[email protected]" \
-F "translate_to=uk"You pay per second of audio, rounded up. Translation is free. See Credits & quota.
3. Live streaming
Live captions over WebSocket: send audio as the person speaks and get draft text, finished segments and translations back. See WS /api/v1/stream.