Lipsync With PiAPI Kling API Examples
Please note that the lipsync is priced at $0.1 per 5 seconds.
LipSync with existing dubbing/audio
{
"model": "kling",
"task_type": "lip_sync",
"input": {
"origin_task_id": "3b8aa9f3-586a-4a84-9c77-4d15416f1111",
"tts_text": "",
"tts_timbre": "",
"tts_speed": 1,
"local_dubbing_url": "http://example.com/example.mp3"
}
}
LipSync with kling tts
{
"model": "kling",
"task_type": "lip_sync",
"input": {
"origin_task_id": "3b8aa9f3-586a-4a84-9c77-4d15416f1111",
"tts_text": "All hail Britannian!",
"tts_timbre": "Rock",
"tts_speed": 1,
"local_dubbing_url": ""
}
}
Common lipsync errors
Modified at 2024-10-26 12:53:38