Discussions

Ask a Question
Back to All

Parameters to Synchronize Lips/Sound

I have successfully created an AI video from text using POST https://api.d-id.com/talks, with the following request body:

{
    "source_url": "...",
    "script": {
        "type": "text",
        "input": "... ",
        "provider": {
            "type": "elevenlabs",
            "voice_id": "...",
                "voice_config":{
				"stability":0.4,
				"similarity_boost":1.00
			},
            "model_id": "eleven_multilingual_v2"
        }
        
    },
    "config" : {
        "stitch" : true
    }
    
}

However, the animation on the resulting video is not very satisfactory-- the lips are clearly not in sync with the sound. How can I fix this?