yandex-speech-promise

Promise based implementation of Yandex Speech Kit API

Usage no npm install needed!

<script type="module">
  import yandexSpeechPromise from 'https://cdn.skypack.dev/yandex-speech-promise';
</script>

README

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)) // привет мир