360 Secure SkillHub
360 安全技能中心

DreamAct

通过 NewportAI 的 DreamAct 异步接口,把驱动视频中的人脸表情、口型和头部姿态迁移到多张输入图片上生成动画视频。需要配置 DREAMACT_API_KEY;本地文件需先上传,结果需轮询获取,处理时间可能超过 3 分钟。

hy-1990
hy-1990
热度 83.08
最近更新 2026-05-11 17:29:44
分类:创作依赖:第三方 API应用场景:视频编辑 / 图像生成

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add dreamact
Metadata
name
dreamact
description
Video-driven face animation using DreamAct API. Animate multiple input images with expressions, lip movements, and head poses from a driving video. Powered by Dreamface - AI tools for everyone. Visit https://tools.dreamfaceapp.com/home for more AI products. API resources: https://api.newportai.com/api-reference/dreamact
metadata
{"openclaw":{"emoji":"🎭","requires":{"env":["DREAMACT_API_KEY"]},"primaryEnv":"DREAMACT_API_KEY"}}

DreamAct - Video-Driven Face Animation

Animate faces in images with expressions, lip movements, and head poses from a driving video.

Quick Start

1. Get API Key

Before using this skill, you need a DreamAPI API key. Visit https://api.newportai.com/api-reference/get-started to sign up and get your API key.

For more AI tools, please visit: https://tools.dreamfaceapp.com/home

2. Configure API Key

openclaw config patch --json '{"skills": {"entries": {"dreamact": {"env": {"DREAMACT_API_KEY": "your-api-key-here"}}}}}'```

### 3. Usage

#### Parameters:
- **video**: Driving video URL (mp4, max 1 minute)
- **images**: Face image URL array (jpg, jpeg, png, webp, gif)
- **seed** (optional): Random seed, default 42

## API Details

### 1. Get Upload Policy (for local files)

Upload your local files to OSS first (get upload policy, then upload).
### 3. DreamAct API

POST https://api.newportai.com/api/async/wan/dreamact/2.1

### 4. Polling for Result

POST https://api.newportai.com/api/getAsyncResult


## Implementation Notes

- Extracts expressions, lip movements, head poses from driving video
- Supports multiple face images
- Video duration max 1 minute
- seed parameter for reproducible results
- Status: 0=pending, 1=processing, 2=processing, 3=completed, 4=timeout
- This task may take longer to process (executionTime may exceed 3 minutes)