Live Transcription API Sample - Nodejs
This is a sample on how to use the LiveTranscription API
Installation
To live Transcription in your project simply run:
npm i transcription-lib-grpc-js
Run Sample
To run this sample first you ned an API_KEY. After you have it you can set it via environment variable:
export API_KEY=<some-api-key>
to install all dependencies:
npm i
to run the sample:
in the code please replace the video stream url
npm start
it will print the transcriptions to the console.
When the text is green it means it was finalized. This section of text won't change anymore.
more information at: