Simli Auto
Face ID Creation
WebRTC API
Content Creation
Content Creation
/audioToVideoStream
This endpoint returns a url of an HLS .m3u8 playlist file along with an mp4 file.
POST
/
audioToVideoStream
Copy
curl --request POST \
--url https://api.simli.ai/audioToVideoStream \
--header 'Content-Type: application/json' \
--data '{
"simliAPIKey": "<string>",
"faceId": "<string>",
"audioBase64": "<string>",
"audioFormat": "pcm16",
"audioSampleRate": 16000,
"audioChannelCount": 1,
"videoStartingFrame": 0,
"disableSuperRes": false
}'
Copy
{
"hls_url": "http://api.simli.ai/hls/path-to-file/output.m3u8",
"mp4_url": "http://api.simli.ai/mp4/path-to-file/output.mp4"
}
Sample Response Body
Copy
{
"hls_url": "http://api.simli.ai/hls/path-to-file/output.m3u8",
"mp4_url": "http://api.simli.ai/mp4/path-to-file/output.mp4"
}
Body
application/json
Response
200 - application/json
Successful Response
The response is of type object
.
Copy
curl --request POST \
--url https://api.simli.ai/audioToVideoStream \
--header 'Content-Type: application/json' \
--data '{
"simliAPIKey": "<string>",
"faceId": "<string>",
"audioBase64": "<string>",
"audioFormat": "pcm16",
"audioSampleRate": 16000,
"audioChannelCount": 1,
"videoStartingFrame": 0,
"disableSuperRes": false
}'
Copy
{
"hls_url": "http://api.simli.ai/hls/path-to-file/output.m3u8",
"mp4_url": "http://api.simli.ai/mp4/path-to-file/output.mp4"
}
Assistant
Responses are generated using AI and may contain mistakes.