https://github.com/deepgram-starters/fastapi-text-to-speech
Get started using Deepgram's Text-to-Speech with this FastAPI demo app
https://github.com/deepgram-starters/fastapi-text-to-speech
deepgram demo fastapi python quickstart speech-synthesis text-to-speech tts
Last synced: 4 months ago
JSON representation
Get started using Deepgram's Text-to-Speech with this FastAPI demo app
- Host: GitHub
- URL: https://github.com/deepgram-starters/fastapi-text-to-speech
- Owner: deepgram-starters
- License: mit
- Created: 2026-01-30T21:04:21.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2026-02-09T23:55:52.000Z (4 months ago)
- Last Synced: 2026-02-10T01:07:56.446Z (4 months ago)
- Topics: deepgram, demo, fastapi, python, quickstart, speech-synthesis, text-to-speech, tts
- Language: Python
- Homepage: https://developers.deepgram.com
- Size: 32.2 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# FastAPI Text-to-Speech
Get started using Deepgram's Text-to-Speech with this FastAPI demo app
## Quick Start
Click the button below to fork the repo:
[](https://github.com/deepgram-starters/fastapi-text-to-speech/fork)
## Local Development
### Makefile (Recommended)
```bash
make init
cp sample.env .env # Add your DEEPGRAM_API_KEY
make start
```
Open [http://localhost:8080](http://localhost:8080) in your browser.
### Python & pnpm
```bash
git clone --recurse-submodules https://github.com/deepgram-starters/fastapi-text-to-speech.git
cd fastapi-text-to-speech
python3 -m venv venv
./venv/bin/pip install -r requirements.txt
cd frontend && corepack pnpm install && cd ..
cp sample.env .env # Add your DEEPGRAM_API_KEY
```
Start both servers in separate terminals:
```bash
# Terminal 1 - Backend (port 8081)
./venv/bin/python app.py
# Terminal 2 - Frontend (port 8080)
cd frontend && corepack pnpm run dev -- --port 8080 --no-open
```
Open [http://localhost:8080](http://localhost:8080) in your browser.
## License
MIT - See [LICENSE](./LICENSE)