This project was bootstrapped with Create React App and modified to include an server.
Please check their documentation for client-specific settings.
First you need to get an WellSaid API key. Visit wellsaidlabs.com/features/api to get that process started. Create a .env
at the root of this project and add the following line, substituting the placeholder with your API key.
WELLSAID_API_KEY=<your-api-key>
Installs all the dependencies.
Starts the client and server in development mode.
Open http://localhost:3000 to view it in the browser.
This starts bare-bones version of our editor. Select an avatar and render your first clip.
Exposes a /stream
POST endpoint. It uses the WELLSAID_API_KEY
, calls the TTS endpoint and streams the response back to the client.
Simple React app with a textarea
and select
components. Makes a call to the /stream
endpoint and loads the TTS response into an audio
element.