API Reference
/textToVideoStream
This endpoint takes a TextToVideoRequest object and returns a url of an HLS .m3u8 playlist file.
POST
/
textToVideoStream
Sample Input
{
"ttsAPIKey": "",
"simliAPIKey": "",
"faceId": "tmp9i8bbq7c",
"user_id": "",
"requestBody": {
"audioProvider": "PlayHT",
"text": "Hello, my name is John Doe",
"voice": "s3://voice-cloning-zero-shot/d9ff78ba-d016-47f6-b0ef-dd630f59414e/female-cs/manifest.json",
"quality": "draft",
"speed": 1,
"sample_rate": 24000,
"voice_engine": "PlayHT2.0-turbo",
"output_format": "mp3",
"emotion": "female_happy",
"voice_guidance": 3,
"style_guidance": 20,
"text_guidance": 1
}
}
Body
application/json
ttsAPIKey
string
requiredsimliAPIKey
string
requiredfaceId
string
requireduser_id
string
requiredrequestBody
object
requiredResponse
200 - application/json
URL of the HLS .m3u8 playlist file