SDK DocumentationWorktual Voice STT SDK

Worktual Voice STT SDK

Upload audio and receive transcript text. Node accepts a filesystem path. The browser build accepts a File or Blob.

@worktual_limited/stt

Contact Us

Install

npm i @worktual_limited/stt

Node

import { SpeechClient } from "@worktual_limited/stt";

const client = new SpeechClient({
  accessToken: "identity-jwt",
  superDomainId: "YOUR_SUPER_DOMAIN",
  subDomainId: "1000",
  baseUrl: "https://unified-api.worktual.com",
});

const text = await client.transcribe("calls/call1.wav");

Browser

import { SpeechClient } from "@worktual_limited/stt";

const client = new SpeechClient({
  accessToken: "identity-jwt",
  superDomainId: "YOUR_SUPER_DOMAIN",
  subDomainId: "1000",
  baseUrl: "https://unified-api.worktual.com",
});

const text = await client.transcribe(file);

Test

npm test
In this document
Worktual Voice STT SDK
Install
Node
Browser
Test
↑ Back to top