Use when generating expressive portrait videos from a person image and speech audio with Alibaba Cloud Model Studio EMO (`emo-v1`). Use when creating non-Wan...
设计与多媒体
Alibaba Cloud AI Video LivePortrait
试用Use when generating lightweight talking-head portrait videos with Alibaba Cloud Model Studio LivePortrait (`liveportrait`) from a detected portrait image and...
它能做什么
Use when generating lightweight talking-head portrait videos with Alibaba Cloud Model Studio LivePortrait (`liveportrait`) from a detected portrait image and...
技能文档
Category: provider
Model Studio LivePortrait
Validation
mkdir -p output/aliyun-liveportrait
python -m py_compile skills/ai/video/aliyun-liveportrait/scripts/prepare_liveportrait_request.py && echo "py_compile_ok" > output/aliyun-liveportrait/validate.txt
Pass criteria: command exits 0 and output/aliyun-liveportrait/validate.txt is generated.
Output And Evidence
- Save normalized request payloads, template choice, and task polling snapshots under
output/aliyun-liveportrait/. - Record the exact portrait/audio URLs and motion-strength related parameters.
Use LivePortrait when the job is lightweight portrait animation with speech audio, especially for longer clips or simpler presenter-style motion.
Critical model names
Use these exact model strings:
liveportrait-detectliveportrait
Selection guidance:
- Run
liveportrait-detectfirst to verify the portrait image. - Use
liveportraitfor the actual video generation task.
Prerequisites
- China mainland (Beijing) only.
- Set
DASHSCOPE_API_KEYin your environment, or adddashscope_api_keyto~/.alibabacloud/credentials. - Input image and audio must be public HTTP/HTTPS URLs.
Normalized interface (video.liveportrait)
Detect Request
model(string, optional): defaultliveportrait-detectimage_url(string, required)
Generate Request
model(string, optional): defaultliveportraitimage_url(string, required)audio_url(string, required)template_id(string, optional):normal,calm, oractiveeye_move_freq(number, optional):0to1video_fps(int, optional):15to30mouth_move_strength(number, optional):0to1.5paste_back(bool, optional)head_move_strength(number, optional):0to1
Response
task_id(string)task_status(string)video_url(string, when finished)
Quick start
python skills/ai/video/aliyun-liveportrait/scripts/prepare_liveportrait_request.py \
--image-url "https://example.com/portrait.png" \
--audio-url "https://example.com/speech.mp3" \
--template-id calm \
--video-fps 24 \
--paste-back
Operational guidance
- Use a clear, front-facing portrait with low occlusion.
- Keep the audio clean and voice-dominant.
paste_back=falseoutputs only the generated face region; keep ittruefor standard talking-head output.- LivePortrait is a better fit than EMO when you need longer, simpler presenter-style clips.
Output location
- Default output:
output/aliyun-liveportrait/request.json - Override base dir with
OUTPUT_DIR.
References
references/sources.md
相关技能
Use when generating talking, singing, or presentation videos from a single character image and audio with Alibaba Cloud Model Studio digital-human model `wan...
Use when generating dance or motion-transfer videos with Alibaba Cloud Model Studio AnimateAnyone (`animate-anyone-gen2`) using a detected character image an...
Use when generating template-driven emoji videos with Alibaba Cloud Model Studio Emoji (`emoji-v1`) from a detected portrait image. Use when producing fixed-...
Use when replacing lip sync in existing videos with Alibaba Cloud Model Studio VideoRetalk (`videoretalk`). Use when creating dubbed videos, replacing narrat...
Use when generating videos with Alibaba Cloud Model Studio PixVerse models (`pixverse/pixverse-v5.6-t2v`, `pixverse/pixverse-v5.6-it2v`, `pixverse/pixverse-v...