Skip to content
This repository has been archived by the owner on Feb 18, 2023. It is now read-only.

Latest commit

 

History

History
16 lines (11 loc) · 378 Bytes

README.md

File metadata and controls

16 lines (11 loc) · 378 Bytes

Yandex Speech Promise

This is a promise based implementation of Yandex Speech Kit API

Usage

Example:

const { text2speech, speech2text } = require('yandex-speech-promise')
const auth = "Api-Key ..."

text2speech("Привет мир!", { auth })
  .then((audio) => speech2text(audio, { auth }))
  .then((text) => console.log(text)) // привет мир