kaneshin / transcript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Transcript

This is an EXPERIMENTAL for transcript.

Prerequisite

SoX (Sound eXchange)

Usage

npm run stream

Stream

$ GOOGLE_APPLICATION_CREDENTIALS=/path/to/credentials npm run stream:en-to-ja -- --output=/path/to/output-file --sample-rate=44100

Set DEEPL_AUTH_KEY if you want to use DeepL to translate scripts.

$ GOOGLE_APPLICATION_CREDENTIALS=/path/to/credentials DEEPL_AUTH_KEY=[DEEPL-AUTH-KEY] npm run stream:en-to-ja

Set OPENAI_API_KEY if you want to use ChatGPT from OpenAI to start chatting with AI.

$ GOOGLE_APPLICATION_CREDENTIALS=/path/to/credentials OPENAI_API_KEY=[OPENAI-API-KEY] npm run stream:en-to-ja

License

MIT

Maintainer

Shintaro Kaneko kaneshin0120@gmail.com

About

License:MIT License


Languages

Language:JavaScript 100.0%