Serverless worker for Runpod Hub that boots two local services behind one container:
:8999 for real-time voice sessions over WebSocket:8880 for speech synthesis and voice cloning:8998 as the shared reverse proxyThe serverless entrypoint lives in handler.py and starts the Runpod worker with:
runpod.serverless.start({"handler": handler})
Supported input.endpoint values:
healthpersonaplex-healthtts-healthvoicesspeechvoice-cloneText-to-speech:
{
"input": {
"endpoint": "speech",
"text": "Testing standard text to speech synthesis.",
"language": "English"
}
}
Voice clone:
{
"input": {
"endpoint": "voice-clone",
"text": "Hello world",
"language": "English",
"ref_audio": "data:audio/wav;base64,...",
"ref_text": "Reference transcript"
}
}
.runpod/hub.json.runpod/tests.jsonDockerfile13 commits
9 commits
Python
99.4%
Serverless worker for Runpod Hub that boots two local services behind one container:
:8999 for real-time voice sessions over WebSocket:8880 for speech synthesis and voice cloning:8998 as the shared reverse proxyThe serverless entrypoint lives in handler.py and starts the Runpod worker with:
runpod.serverless.start({"handler": handler})
Supported input.endpoint values:
healthpersonaplex-healthtts-healthvoicesspeechvoice-cloneText-to-speech:
{
"input": {
"endpoint": "speech",
"text": "Testing standard text to speech synthesis.",
"language": "English"
}
}
Voice clone:
{
"input": {
"endpoint": "voice-clone",
"text": "Hello world",
"language": "English",
"ref_audio": "data:audio/wav;base64,...",
"ref_text": "Reference transcript"
}
}
.runpod/hub.json.runpod/tests.jsonDockerfile13 commits
9 commits
Python
99.4%