Deploy VoicePro
AI toolkit for voice cloning, TTS, and translation.
voice-pro
Just deployed
/app/
Deploy and Host Voice-Pro on Railway
Voice-Pro is an advanced AI-powered web application for multimedia content creation. It integrates speech recognition, zero-shot voice cloning, text-to-speech, YouTube audio extraction, and real-time multilingual translation into a unified Gradio interface. It is designed for content creators, podcasters, researchers, and developers needing a robust audio processing toolkit.
About Hosting Voice-Pro
Hosting Voice-Pro on Railway provides a streamlined infrastructure for running resource-intensive AI models without manual server provisioning. Railway automatically handles the build process and dependency management, wrapping the Gradio application in an isolated container. Because Voice-Pro downloads substantial AI models, such as Whisper and CosyVoice, on its first run, Railway's persistent volume support ensures this data is securely cached, drastically reducing subsequent startup times and bandwidth usage. Railway manages all external networking, automatically routing traffic to the internal port and provisioning secure HTTPS endpoints out of the box. Given the heavy computational requirements of speech processing, Railway allows you to easily adjust vertical resources, ensuring the application has the necessary RAM and CPU allocated to handle audio translation, cloning, and synthesis efficiently.
Common Use Cases
- Multilingual Podcasting and Dubbing
- Automated Video Transcription and Subtitling
- AI Voice Cloning and Speech Synthesis
Dependencies for Voice-Pro Hosting
- Railway Volume
- Microsoft Azure API
Deployment Dependencies
Implementation Details
Docker
Railway automatically builds this application using its native builder (Nixpacks) based on the provided Python configuration files. No Dockerfile is required.
Public Networking
- Proxy Type: HTTP Proxy
- Target Port: 7870
Environment Variables
| Variable | Required | Description |
|---|---|---|
| PORT | Yes | The port the Gradio WebUI listens on. |
| GPU_CHOICE | Yes | Forces CPU execution since standard Railway nodes lack NVIDIA GPUs. |
| NIXPACKS_PKGS | Yes | Installs required system dependencies for audio processing. |
| AZURE_SPEECH_KEY | No | Microsoft Azure API key for Edge-TTS services. |
| AZURE_SPEECH_REGION | No | Microsoft Azure region for Edge-TTS services. |
| AZURE_TRANSLATOR_KEY | No | Microsoft Azure API key for translation services. |
| AZURE_TRANSLATOR_ENDPOINT | No | Microsoft Azure endpoint URL for translation services. |
| AZURE_TRANSLATOR_REGION | No | Microsoft Azure region for translation services. |
PORT=7870
GPU_CHOICE=C
NIXPACKS_PKGS=ffmpeg
AZURE_SPEECH_KEY=
AZURE_SPEECH_REGION=eastus
AZURE_TRANSLATOR_KEY=
AZURE_TRANSLATOR_ENDPOINT=
AZURE_TRANSLATOR_REGION=eastus
Persistent Storage
Persistent storage is strictly required to cache large AI models and prevent re-downloading gigabytes of data on every deployment.
Open your Railway Service, navigate to Settings, select Volumes, and add a volume. Configure the following mount paths:
/app/model
/app/workspace
/app/installer_files
Database
No external database services are documented or required for this application.
Build & Start
The build process is handled automatically by Railway. However, a custom start command is required to launch the application properly.
Navigate to Settings, under Deploy, and set the Custom Start Command:
bash start.sh
Ensure your service is allocated at least 8GB of RAM and 20GB of storage to prevent out-of-memory errors during model loading.
Accessing the Application
Navigate to the Networking tab in your Railway settings and click Generate Domain. The application takes several minutes to boot on the first run as it downloads AI models into the persistent volume. Monitor the deployment logs to verify when the download is complete. Once finished, access the provided Railway URL to use the Voice-Pro interface.
Why Deploy Voice-Pro on Railway?
Railway is a modern cloud platform that simplifies the deployment and management of your applications. By hosting on Railway, you benefit from automatic builds, seamless scaling, and built-in infrastructure management without the complexity of traditional cloud providers. Railway provides automatic HTTPS, global edge routing, and easy integration with persistent storage and databases, allowing you to focus on developing your product rather than managing servers.
Template Content
voice-pro
arloodots/voice-proAZURE_SPEECH_KEY
"your_azure_speech_key_here"
AZURE_SPEECH_REGION
"eastus"
AZURE_TRANSLATOR_KEY
"your_azure_translator_key_here"
AZURE_TRANSLATOR_REGION
"eastus"
AZURE_TRANSLATOR_ENDPOINT
