返回顶部
a

aliyun-liveportrait阿里云实时肖像

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.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
117
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

aliyun-liveportrait

技能名称: aliyun-liveportrait
详细描述:
类别: provider

Model Studio LivePortrait

验证

bash
mkdir -p output/aliyun-liveportrait
python -m pycompile skills/ai/video/aliyun-liveportrait/scripts/prepareliveportraitrequest.py && echo pycompile_ok > output/aliyun-liveportrait/validate.txt

通过条件:命令退出码为0,且生成了 output/aliyun-liveportrait/validate.txt 文件。

输出与证据

  • - 将标准化请求负载、模板选择及任务轮询快照保存至 output/aliyun-liveportrait/ 目录下。
  • 记录精确的人像/音频URL以及与动作强度相关的参数。

当任务为轻量级人像动画配合语音音频时,尤其是处理较长片段或更简单的演示者风格动作时,请使用LivePortrait。

关键模型名称

请使用以下精确的模型字符串:

  • - liveportrait-detect
  • liveportrait

选择指南:

  • - 首先运行 liveportrait-detect 来验证人像图片。
  • 使用 liveportrait 进行实际的视频生成任务。

前提条件

  • - 仅限中国大陆(北京)区域。
  • 在环境中设置 DASHSCOPEAPIKEY,或将 dashscopeapikey 添加到 ~/.alibabacloud/credentials 文件中。
  • 输入的图片和音频必须是公开的HTTP/HTTPS URL。

标准化接口 (video.liveportrait)

检测请求

  • - model (字符串,可选):默认为 liveportrait-detect
  • image_url (字符串,必填)

生成请求

  • - model (字符串,可选):默认为 liveportrait
  • imageurl (字符串,必填)
  • audiourl (字符串,必填)
  • templateid (字符串,可选):normal、calm 或 active
  • eyemovefreq (数字,可选):0 到 1
  • videofps (整数,可选):15 到 30
  • mouthmovestrength (数字,可选):0 到 1.5
  • pasteback (布尔值,可选)
  • headmove_strength (数字,可选):0 到 1

响应

  • - taskid (字符串)
  • taskstatus (字符串)
  • video_url (字符串,任务完成时返回)

快速开始

bash
python skills/ai/video/aliyun-liveportrait/scripts/prepareliveportraitrequest.py \
--image-url https://example.com/portrait.png \
--audio-url https://example.com/speech.mp3 \
--template-id calm \
--video-fps 24 \
--paste-back

操作指南

  • - 使用清晰、正面的低遮挡人像。
  • 保持音频干净且以人声为主。
  • paste_back=false 仅输出生成的面部区域;保持 true 以获取标准的说话人头像输出。
  • 当需要更长、更简单的演示者风格片段时,LivePortrait 比 EMO 更适合。

输出位置

  • - 默认输出:output/aliyun-liveportrait/request.json
  • 通过 OUTPUT_DIR 覆盖基础目录。

参考资料

  • - references/sources.md

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 aliyun-liveportrait-1775882716 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 aliyun-liveportrait-1775882716 技能

通过命令行安装

skillhub install aliyun-liveportrait-1775882716

下载

⬇ 下载 aliyun-liveportrait v1.0.0(免费)

文件大小: 3.58 KB | 发布时间: 2026-4-12 08:56

v1.0.0 最新 2026-4-12 08:56
Initial release of aliyun-liveportrait skill for generating lightweight talking-head videos with Alibaba Cloud LivePortrait.

- Supports detection and animation of portrait images synced to speech audio for long-form or presenter-style videos.
- Exposes a normalized interface for both detection and video generation, with key parameters like template, motion strength, and FPS.
- Requires public image/audio URLs and API key setup for use in the Beijing region.
- Outputs payloads and processing snapshots to the `output/aliyun-liveportrait/` directory for traceability.
- Provides usage guidance: ideal for longer, broadcast-style clips and straightforward presenter motion.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部