DocsHeadless
Speech-to-Text SDK
Upload audio and receive transcript text. This guide takes you from install to your first working call.
Before you start
You need a Worktual account, a topped-up SDK balance (from $50) and your key. You can read these docs without an account.
1. Install
Install
npm install @worktual/speech-to-text2. Add your key
Copy your key from the SDK setup page and pass it when you start the SDK.
3. Quick start
Quick start
import { SpeechToText } from "@worktual/speech-to-text";
const stt = new SpeechToText({ key: "YOUR_KEY" });
const text = await stt.transcribe("call.wav");Transcribe a test file to check everything works.