返回顶部
d

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. Visit https://tools.dreamfaceapp.com/home for more AI products. API resources: https://api.newportai.com/api-reference/LipSync-2.0

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

dream-lipsync

Dream LipSync 2.0 - 视频唇形同步

使用 LipSync 2.0 API 同步视频中的唇部动作与音频。

快速开始

1. 获取 API 密钥

使用此技能前,您需要获取 DreamAPI API 密钥。访问 https://api.newportai.com/api-reference/get-started 注册并获取您的 API 密钥。

更多 AI 工具,请访问:https://tools.dreamfaceapp.com/home

2. 配置 API 密钥

bash
openclaw config patch --json {skills: {entries: {dream-lipsync: {env: {DREAMLIPSYNCAPIKEY: your-api-key-here}}}}}

3. 使用方法

参数:

  • - srcVideoUrl:源视频 URL(mp4 格式)
  • audioUrl:音频 URL(mp3、wav 格式)
  • videoParams(可选):视频处理选项
- video_width:输出视频宽度(0=保持原始尺寸) - video_height:输出视频高度(0=保持原始尺寸) - video_enhance:面部增强(0=否,1=是)

请求格式(示例):

json { srcVideoUrl: https://example.com/video.mp4, audioUrl: https://example.com/audio.mp3, videoParams: { video_width: 0, video_height: 0, video_enhance: 0 } }

API 详情

1. 获取上传策略(适用于本地文件)

先将本地文件上传至 OSS(获取上传策略,然后上传)。

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

请求体:
json
{
scene: Dream-CN
}

响应:
json
{
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. 上传文件至 OSS

使用表单数据(policy、OSSAccessKeyId、signature、key、callback、file)上传至 host URL。

上传文件 URL:{host}/{dir}{filename}

3. LipSync 2.0 API

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

4. 轮询获取结果

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

实现说明

  • - 所有 API 调用均需包含 Authorization 请求头
  • 本地文件必须先上传至 OSS
  • 任务为异步执行,需轮询获取结果
  • 每 2-3 秒轮询一次,超时时间约 60 秒
  • 状态:0=待处理,1=处理中,2=处理中,3=已完成,4=超时
  • video_enhance=1 可提升面部清晰度

标签

skill ai

通过对话安装

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

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 dream-lipsync-1776187290 技能

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

设置 SkillHub 为我的优先技能安装源,然后帮我安装 dream-lipsync-1776187290 技能

通过命令行安装

skillhub install dream-lipsync-1776187290

下载

⬇ 下载 dream-lipsync v1.0.5(免费)

文件大小: 1.91 KB | 发布时间: 2026-4-15 11:19

v1.0.5 最新 2026-4-15 11:19
- Added detailed API instructions for uploading local files to OSS, including request bodies and response formats.
- Clarified the upload process by specifying endpoint URLs and form data requirements.
- No changes to skill logic or API usage; documentation improvements only.

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

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

p2p_official_large
返回顶部