← 返回 Skills 市场
cinience

Aliyun Liveportrait

作者 cinience · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
94
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install aliyun-liveportrait
功能描述
Use when generating lightweight talking-head portrait videos with Alibaba Cloud Model Studio LivePortrait (`liveportrait`) from a detected portrait image and...
使用说明 (SKILL.md)

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-detect
  • liveportrait

Selection guidance:

  • Run liveportrait-detect first to verify the portrait image.
  • Use liveportrait for 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

  • model (string, optional): default liveportrait
  • image_url (string, required)
  • audio_url (string, required)
  • template_id (string, optional): normal, calm, or active
  • eye_move_freq (number, optional): 0 to 1
  • video_fps (int, optional): 15 to 30
  • mouth_move_strength (number, optional): 0 to 1.5
  • paste_back (bool, optional)
  • head_move_strength (number, optional): 0 to 1

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
安全使用建议
This skill appears to be a thin helper for preparing LivePortrait API requests and is not obviously malicious, but there are several issues you should consider before installing or running it: - Credentials mismatch: SKILL.md tells you to set DASHSCOPE_API_KEY or add dashscope_api_key to ~/.alibabacloud/credentials, yet the skill metadata declares no required env vars. Treat any credential you provide as sensitive; prefer least-privilege keys and do not use long-lived master credentials. - Validation path bug: The validation command in SKILL.md references skills/ai/video/aliyun-liveportrait/scripts/prepare_liveportrait_request.py, but the included script lives at scripts/prepare_liveportrait_request.py. Either the SKILL.md is out of date or files are misplaced; verify and fix paths before running automated validation. - Data retention/privacy: The skill instructs you to save exact portrait/audio URLs and request payloads to output/aliyun-liveportrait/. These may contain PII or links to private content. If you will be working with sensitive images/audio, review and control where output is saved and who can access it. - Regional constraint: The README notes China (Beijing) only — confirm this matches your deployment needs and legal/regulatory requirements. - Operational safety: The included script only writes a JSON request file — it does not perform network calls itself. However, before invoking any network step that actually uploads images or submits jobs to Alibaba Cloud, review the exact API calls and ensure the credentials used are appropriate. If you want to proceed: correct the script path in SKILL.md or move the script to the expected location, declare required env vars in the skill metadata, and use limited-scope credentials. If you’re unsure about providing credentials, do not install or run the skill until those metadata issues are resolved.
功能分析
Type: OpenClaw Skill Name: aliyun-liveportrait Version: 1.0.0 The skill bundle is a legitimate integration for Alibaba Cloud's LivePortrait video generation service. The Python script (prepare_liveportrait_request.py) safely constructs JSON payloads based on user input, and the SKILL.md instructions provide standard operational guidance without any signs of prompt injection, data exfiltration, or malicious execution.
能力评估
Purpose & Capability
The name, description, and included script (which builds JSON requests for liveportrait-detect and liveportrait) are consistent with being an Alibaba Cloud LivePortrait helper. However, the SKILL.md requires a DASHSCOPE_API_KEY (or a dashscope_api_key in ~/.alibabacloud/credentials) even though the skill's manifest lists no required environment variables or primary credential. Expectation: a provider integration would normally declare required credentials; their omission here is an inconsistency.
Instruction Scope
SKILL.md's runtime validation runs python -m py_compile on skills/ai/video/aliyun-liveportrait/scripts/prepare_liveportrait_request.py, but the actual script in the bundle is at scripts/prepare_liveportrait_request.py (different path). That means the provided validation command will fail unless files are moved. The instructions also direct saving normalized payloads and the exact portrait/audio URLs to output/aliyun-liveportrait/ — this is appropriate for reproducibility but is a privacy/data-retention consideration (storing source URLs and request payloads locally). Otherwise the instructions stay within the stated purpose and do not instruct arbitrary file reads or hidden exfiltration.
Install Mechanism
There is no install spec; the skill is instruction-only plus a small helper script. No network downloads or package installs are requested by the bundle itself.
Credentials
The SKILL.md explicitly asks users to set DASHSCOPE_API_KEY or add dashscope_api_key to ~/.alibabacloud/credentials, but the skill metadata declares no required environment variables or primary credential. Additionally, calling Alibaba Cloud APIs normally requires cloud credentials (e.g., AccessKey) — their absence in the manifest is an omission. This mismatch could lead to confusion and accidental use of inappropriate credentials. The number of credentials requested is small, but they are not declared where users expect them.
Persistence & Privilege
The skill is not always:true and does not request persistent privileges. It writes request.json and validation artifacts under output/aliyun-liveportrait/ (user-writable), which is normal for a helper script. It does not modify other skills or system settings.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install aliyun-liveportrait
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /aliyun-liveportrait 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
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.
元数据
Slug aliyun-liveportrait
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Aliyun Liveportrait 是什么?

Use when generating lightweight talking-head portrait videos with Alibaba Cloud Model Studio LivePortrait (`liveportrait`) from a detected portrait image and... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 94 次。

如何安装 Aliyun Liveportrait?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install aliyun-liveportrait」即可一键安装,无需额外配置。

Aliyun Liveportrait 是免费的吗?

是的,Aliyun Liveportrait 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Aliyun Liveportrait 支持哪些平台?

Aliyun Liveportrait 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Aliyun Liveportrait?

由 cinience(@cinience)开发并维护,当前版本 v1.0.0。

💬 留言讨论