More modelsKwaivgiKling lipsync text to video
Generate video with kwaivgi/kling-lipsync/text-to-video
Generates a video using the kwaivgi/kling-lipsync/text-to-video model.
AuthorizationBearer <token>
API key is required to authorize requests. Obtain a key from your AtlasCloud dashboard.
In: header
modelstring
model name
textstring
Text Content for Lip-Sync Video Generation. Max 120 characters.
videostring
The URL of the video file for generating synchronized lip movements. Video files support .mp4/.mov, file size does not exceed 100MB, video length does not exceed 10s and is not shorter than 2s, only 720p and 1080p are supported, length and width dimensions should both be between 720px and 1920px.
voice_idstring
Voice ID to use for speech synthesis
Value in
"genshin_vindi2" | "zhinen_xuesheng" | "AOT" | "ai_shatang" | "genshin_klee2" | "genshin_kirara" | "ai_kaiya" | "oversea_male1" | "ai_chenjiahao_712" | "girlfriend_4_speech02" | "chat1_female_new-3" | "chat_0407_5-1" | "cartoon-boy-07" | "uk_boy1" | "cartoon-girl-01" | "PeppaPig_platform" | "ai_huangzhong_712" | "ai_huangyaoshi_712" | "ai_laoguowang_712" | "chengshu_jiejie" | "you_pingjing" | "calm_story1" | "uk_man2" | "laopopo_speech02" | "heainainai_speech02"
voice_speed?number
Speech rate for Text to Video generation
Default
1
Format
float
Range
0.8 <= value <= 2
voice_language?string
The voice language corresponding to the Voice ID
Value in
"zh" | "en"
Response Body
curl -X POST "https://api.atlascloud.ai/api/v1/model/generateVideo" \ -H "Content-Type: application/json" \ -d '{ "model": "kwaivgi/kling-lipsync/text-to-video", "text": "Kling lipsync on AtlasCloud is an AI-powered model that generates realistic lip movements from text input.", "video": "https://static.atlascloud.ai/media/videos/tmptucl_ok3.mp4", "voice_id": "genshin_klee2" }'
{
"id": "string",
"urls": {},
"model": "string",
"status": "string",
"outputs": [
"string"
],
"created_at": "2019-08-24T14:15:22Z",
"has_nsfw_contents": [
true
]
}