GPT Text-to-Speech is a web application that integrates with the GPT API model and text-to-speech services to convert text queries into spoken audio. The application uses Node.js for the server and JavaScript for the client-side interactions.
- Query GPT-3.5 Turbo model to get responses based on user input.
- Convert the GPT response into speech using the StreamElements API.
- Support for different voice options.
- Display responses and play audio directly in the browser.
-
Clone the repository:
git clone https://github.com/mikartisan/gpt-text-to-speech.git cd gpt-text-to-speech
-
Install dependencies:
npm install
-
Start the server:
node server.mjs