← 返回
内容创作 Key 中文

Dream LipSync

Video lip synchronization using LipSync 2.0 API. Automatically synchronizes audio with lip movements in videos. Powered by Dreamface - AI tools for everyone....
利用 LipSync 2.0 API 进行视频口型同步,自动将音频与视频中的唇部动作同步。由 Dreamface 提供支持——大众的 AI 工具。
hy-1990
内容创作 clawhub v1.0.5 2 版本 100000 Key: 需要
★ 1
Stars
📥 670
下载
💾 6
安装
2
版本
#latest

概述

Dream LipSync 2.0 - Video Lip Synchronization

Synchronize lip movements in videos with audio using the LipSync 2.0 API.

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": {"dream-lipsync": {"env": {"DREAMLIPSYNC_API_KEY": "your-api-key-here"}}}}}'```

### 3. Usage

#### Parameters:
- **srcVideoUrl**: Source video URL (mp4)
- **audioUrl**: Audio URL (mp3, wav)
- **videoParams** (optional): Video processing options
  - **video_width**: Output video width (0=keep original)
  - **video_height**: Output video height (0=keep original)
  - **video_enhance**: Face enhancement (0=no, 1=yes)

#### Request Format (Example):

{

"srcVideoUrl": "https://example.com/video.mp4",

"audioUrl": "https://example.com/audio.mp3",

"videoParams": {

"video_width": 0,

"video_height": 0,

"video_enhance": 0

}

}


## API Details

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

Upload your local files to OSS first (get upload policy, then upload).

POST https://api.newportai.com/api/file/v1/get_policy


**Request Body:**

{

"scene": "Dream-CN"

}


**Response:**

{

"code": 0,

"message": "success",

"data": {

"accessId": "LTAI5t...",

"policy": "eyJ...",

"signature": "G2...",

"dir": "tmp/dream/2026-03-17/xxxxxx/",

"host": "https://dreamapi-oss.oss-cn-hongkong.aliyuncs.com",

"expire": "1732005888",

"callback": "eyJ..."

}

}


### 2. Upload File to OSS

Upload to the `host` URL with form data (policy, OSSAccessKeyId, signature, key, callback, file).

Uploaded file URL: `{host}/{dir}{filename}`

### 3. LipSync 2.0 API

POST https://api.newportai.com/api/async/lipsync/2.0

### 4. Polling for Result

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


## Implementation Notes

- All API calls require Authorization header
- Local files must be uploaded to OSS first
- Tasks are async, poll for results
- Poll every 2-3 seconds, timeout ~60 seconds
- Status: 0=pending, 1=processing, 2=processing, 3=completed, 4=timeout
- video_enhance=1 improves face clarity

版本历史

共 2 个版本

  • v1.0.5 当前
    2026-03-29 15:41 安全 安全
  • v1.0.4
    2026-03-26 21:58

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

content-creation

YouTube

byungkyu
使用托管OAuth集成YouTube Data API,支持搜索视频、管理播放列表、获取频道数据及评论互动,适用于用户需要时使用此技能。
★ 142 📥 41,075
content-creation

AdMapix

fly0pants
广告情报与应用数据分析助手,支持搜索广告素材、分析应用排名、下载量、收入及市场洞察,用于广告素材和竞品分析。
★ 295 📥 136,493
content-creation

Baidu Wenku AIPPT

ide-rea
使用百度文库 AI 智能生成 PPT,自动根据内容选择模板。
★ 66 📥 46,205