Free TTS is an open-source text-to-speech web application that leverages Google's Labs Language Model API to convert text into natural-sounding speech.
- Convert text to natural-sounding speech
- Multiple language support
- High-quality voice options
- Instant audio preview
- Download generated audio as MP3
- Clean, modern UI built with Next.js and Tailwind CSS
Try it out at: https://free-tts.thvroyal.workers.dev/
- Next.js 15
- React 19
- Tailwind CSS
- Cloudflare for deployment
- Google's Labs Language Model API for speech synthesis
- Node.js 18.0 or later
- pnpm
-
Clone the repository
git clone https://github.com/thvroyal/free-tts.git cd free-tts
-
Install dependencies
pnpm install
-
Set up environment variables Create a
.dev.vars
file in the root directory with:# Add your environment variables here
-
Start the development server
pnpm dev
-
Open http://localhost:3000 with your browser to see the application.
The project is set up to deploy to Cloudflare:
pnpm deploy
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- This project uses Google's Labs Language Model API for text-to-speech conversion
- UI components from shadcn/ui