LibreSpark/LibreTTS
TTS-文本转语音/文本转语音前端,兼容OpenAI、EdgeTTS等接口
What it solves
LibreTTS is a free online text-to-speech (TTS) tool that allows users to convert text into spoken audio. It simplifies the process of accessing various TTS engines by providing a unified web interface for previewing, adjusting, and downloading synthetic speech.
How it works
Built with Next.js, TypeScript, and Tailwind CSS, the project acts as a frontend and API gateway for TTS services. It supports multiple integration formats, including OpenAI-compatible APIs, Microsoft Edge TTS, and a flexible custom request template system for other providers (like ElevenLabs or Google Cloud TTS). The system handles long text by automatically segmenting it and merging the resulting audio files.
Who it’s for
It is designed for users who need a simple, self-hosted web interface to manage and use multiple TTS services, as well as developers who want a programmable API for speech synthesis.
Highlights
- Extensive Voice Library: Supports over 300 voices across different languages and accents.
- Custom API Integration: Allows users to add their own TTS endpoints via presets or custom templates.
- Audio Customization: Adjustable speech rate and pitch, with support for SSML styles and roles.
- Robust API: Provides endpoints for synthesis, voice lists, and metadata, with support for both GET and POST requests.
- Security Features: Optional password protection for the web UI and API using signed HttpOnly cookies.
- Deployment Flexibility: Easy deployment via Vercel, Docker, or standard Node.js environments.
Related
- Project
- Project
- Project
- Project
- Project