Npm package

DataSeaAI npm package

Installation

Install
npm i dataseaai@latest

Usage with STT-1

Transcribe
import { ds } from "dataseaai"
 
ds.init("your api key");
 
const transcribedText = await ds.stt1.transcribe(audio_file);
Detect language
import { ds } from "dataseaai"
 
ds.init("your api key");
 
const detectedLanguage = await ds.stt1.detect(audio_file);
Last updated on January 20, 2023