cURL
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 }'
{ "hls_url": "http://api.simli.ai/hls/path-to-file/output.m3u8", "mp4_url": "http://api.simli.ai/mp4/path-to-file/output.mp4" }
This endpoint returns a url of an HLS .m3u8 playlist file along with an mp4 file.
Successful Response
The response is of type object.
object