Aliyun Liveportrait
简介
Aliyun Liveportrait
原始描述
Use when generating lightweight talking-head portrait videos with Alibaba Cloud Model Studio LivePortrait (`liveportrait`) from a detected portrait image and...
通过你的 Agent 添加
安装目录:aliyun-liveportrait/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。
点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。
或者手动安装
包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可;
目录名不用换,也不要把包直接解压到 skills 根目录。
技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。
技能正文
name: aliyun-liveportrait
description: Use when generating lightweight talking-head portrait videos with Alibaba Cloud Model Studio LivePortrait (liveportrait) from a detected portrait image and speech audio. Use when you need long-form or simple broadcast-style portrait animation beyond the typical short expressive models.
version: 1.0.0
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.
output/aliyun-liveportrait/.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_KEY in your environment, or add dashscope_api_key to ~/.alibabacloud/credentials.
- Input image and audio must be public HTTP/HTTPS URLs.
Normalized interface (video.liveportrait)
Detect Request
model (string, optional): default liveportrait-detect
image_url (string, required)
Generate Request
DASHSCOPE_API_KEY in your environment, or add dashscope_api_key to ~/.alibabacloud/credentials.Detect Request
model (string, optional): default liveportrait-detectimage_url (string, required)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=false outputs only the generated face region; keep it true for 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
task_id (string)task_status (string)video_url (string, when finished)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=false outputs only the generated face region; keep it true for 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
paste_back=false outputs only the generated face region; keep it true for standard talking-head output.- Default output:
output/aliyun-liveportrait/request.json - Override base dir with
OUTPUT_DIR.
References
references/sources.md
references/sources.md正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。