This is an example usage of the PlayHT SDK to convert a response from ChatGPT into audio. For a full guide, see this guide
Create a new .env
file in the packages/gpt-example/server
folder by copying the .env.example
file provided. Then edit the file with your credentials.
This example requires your OpenAI credentials too, the the example .env
file for details.
To install dependencies run from this folder:
yarn
yarn install:all
To start the sample server, run
yarn start
Navigate to localhost:5040.