Token导航 LogoToken导航TokenDH.com
开发敏感数据clawhub未标认证来源可访问clear审计提醒

dreamapi-skillDreamAPI 技能

Agent Skill

dreamapi-skill 用于处理图像、截图、视觉识别或图片素材相关工作,适合在 OpenClaw 中需要让 Agent 分析图片、整理视觉素材或辅助图像流程时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

1,897

周安装

76

GitHub Stars

公开资料未说明

下载量

614
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:dreamapi-skill(DreamAPI 技能)
来源仓库:https://github.com/dream-api/dreamapi-skill
安装命令:
openclaw skills install dreamapi-skill
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install dreamapi-skill

简介

集成 25 个 AI 驱动工具,涵盖视频生成、图像编辑和语音克隆等。

  • 适合在 OpenClaw 中一站式调用多种创意生产力工具时使用。
  • 通过统一接口描述需求,自动路由至对应功能模块。dreamapi-skill 属于开发类 Skill,可作为该场景下的辅助能力补充。
  • 部分功能依赖外部 API 密钥,需单独配置并遵守服务条款。
  • 建议在非生产环境测试高成本操作,避免意外费用产生。

SKILL.md

name
dreamapi-skill
description
25 AI-powered tools for video generation, talking avatars, image editing, voice cloning, and more — powered by DreamAPI. Describe what you want and the agent handles the rest.
metadata
tags
dreamapi, avatar, lipsync, video, image, voice, tts, flux, wan2.1, ai, api, text2image, image2video, face-swap, remove-bg, video-translate, voice-clone
requires
bins
[python3]
primaryEnv
DREAMAPI_API_KEY

DreamAPI Skill

25 AI tools powered by DreamAPI — from Newport AI.

Execution Rule

Always use the Python scripts in scripts/. Do NOT use curl or direct HTTP calls.

User-Facing Reply Rules

Every user-facing reply MUST follow ALL rules below.
  1. Keep replies short — give the result or next step directly.
  2. Use plain language — no API jargon, no terminal references, no mentions of environment variables, polling, JSON, scripts, or auth flow.
  3. Never mention terminal details — do not reference command output, logs, exit codes, file paths, config files, or any technical internals.
  4. Always send the login link directly — when login is needed, provide the DreamAPI Dashboard link: https://api.newportai.com/
  5. Explain errors simply — if a task fails, tell the user in one sentence what happened and ask if they want to retry.
  6. Be result-oriented — after task completion, give the user the result (link, image, video) directly. Do not describe intermediate steps.
  7. Give time estimates — after submitting a task, tell the user the estimated wait time from the table below.

Estimated Generation Time

Task TypeEstimated Time
Avatar (LipSync / DreamAvatar / Dreamact)~2–5 min
Image Generation (Flux)~30s–1 min
Image Editing (Colorize / Enhance / etc.)~30s–1 min
Video Generation (Wan2.1)~3–5 min
Video Editing (Swap Face / Matting)~2–5 min
Video Translate~3–5 min
Voice Clone~30s–1 min
TTS (Common / Pro / Clone)~10–30s
Remove Background~10–30s

Required login message template

When authentication is needed, send the user this message (match user's language):

To get started, you need a DreamAPI API key.

1. Go to: https://api.newportai.com/
2. Sign in with Google or GitHub
3. Copy your API key from the Dashboard

Once you have your key, just tell me and I'll set it up for you.

中文模板:

开始之前,你需要一个 DreamAPI 的 API Key。

1. 打开 https://api.newportai.com/
2. 用 Google 或 GitHub 登录
3. 在 Dashboard 页面复制你的 API Key

拿到 Key 后告诉我,我帮你设置好。

Prerequisites

pip install -r {baseDir}/scripts/requirements.txt

Agent Workflow Rules

These rules apply to ALL generation modules.
  1. Always start with run — it submits the task and polls automatically until done.
  2. Do NOT ask the user to check the task status themselves. The agent polls until completion.
  3. Only use query when run has already timed out and you have a taskId to resume.
  4. If query also times out, increase --timeout and try again with the same taskId.
  5. Do not resubmit unless the task has actually failed.
Decision tree:
  → New request?           use `run`
  → run timed out?         use `query --task-id <id>`
  → query timed out?       use `query --task-id <id> --timeout 1200`
  → task status=fail?      resubmit with `run`

Task Status Codes:

CodeStatusDescription
0-2ProcessingTask is queued or running
3SuccessTask completed
4FailedTask failed

Modules

ModuleScriptReferenceDescription
Authscripts/auth.pyauth.mdAPI key management — login, status, logout
Avatarscripts/avatar.pyavatar.mdLipSync, LipSync 2.0, DreamAvatar 3.0 Fast, Dreamact
Image Genscripts/image_gen.pyimage_gen.mdFlux Text-to-Image, Flux Image-to-Image
Image Editscripts/image_edit.pyimage_edit.mdColorize, Enhance, Outpainting, Inpainting, Swap Face, Remove BG
Video Genscripts/video_gen.pyvideo_gen.mdText-to-Video, Image-to-Video, Head-Tail-to-Video (Wan2.1)
Video Editscripts/video_edit.pyvideo_edit.mdSwap Face Video, Video Matting, Composite
Video Translatescripts/video_translate.pyvideo_translate.mdVideo Translate 2.0 (en/zh/es)
Voicescripts/voice.pyvoice.mdVoice Clone, TTS Clone, TTS Common, TTS Pro, Voice List
Userscripts/user.pyuser.mdCredit balance
Read individual reference docs for usage, options, and examples. Local files (image/audio/video) are auto-uploaded when passed as arguments.

Tool Selection Guide

What does the user need?
│
├─ A talking face synced to audio?
│  ├─ Has a video + audio → avatar.py lipsync / lipsync2
│  └─ Has a photo + audio → avatar.py dreamavatar
│
├─ A character performing actions from a driving video?
│  → avatar.py dreamact
│
├─ Generate an image from text?
│  → image_gen.py text2image
│
├─ Transform an existing image?
│  → image_gen.py image2image
│
├─ Edit an image?
│  ├─ Colorize B&W photo → image_edit.py colorize
│  ├─ Enhance quality → image_edit.py enhance
│  ├─ Extend borders → image_edit.py outpainting
│  ├─ Fill/replace region → image_edit.py inpainting
│  ├─ Replace face → image_edit.py swap-face
│  └─ Remove background → image_edit.py remove-bg
│
├─ Generate a video from text?
│  → video_gen.py text2video
│
├─ Animate an image into video?
│  → video_gen.py image2video
│
├─ Create transition between two frames?
│  → video_gen.py head-tail
│
├─ Edit a video?
│  ├─ Replace face → video_edit.py swap-face
│  ├─ Remove background → video_edit.py matting
│  └─ Replace background → video_edit.py matting + composite
│
├─ Translate video speech?
│  → video_translate.py
│
├─ Text-to-speech?
│  ├─ With cloned voice → voice.py clone + tts-clone
│  ├─ Standard quality → voice.py tts-common
│  └─ Premium quality → voice.py tts-pro
│
├─ Browse available voices?
│  → voice.py list
│
├─ Check credit balance?
│  → user.py credit
│
└─ Outside capabilities?
   → Tell user this isn't supported yet

Quick Reference

User says...Script & Command
"Make a talking face video with this audio"avatar.py lipsync run
"Generate an avatar from this photo and audio"avatar.py dreamavatar run
"Make this character do the dance in this video"avatar.py dreamact run
"Generate an image of..."image_gen.py text2image run
"Modify this image to..."image_gen.py image2image run
"Colorize this old photo"image_edit.py colorize run
"Enhance this blurry image"image_edit.py enhance run
"Extend this image"image_edit.py outpainting run
"Fill in this area of the image"image_edit.py inpainting run
"Swap the face in this photo"image_edit.py swap-face run
"Remove the background"image_edit.py remove-bg run
"Generate a video about..."video_gen.py text2video run
"Animate this image into a video"video_gen.py image2video run
"Create a transition between these two images"video_gen.py head-tail run
"Swap the face in this video"video_edit.py swap-face run
"Remove the video background"video_edit.py matting run
"Replace the video background with..."video_edit.py matting run + composite run
"Translate this video to Chinese"video_translate.py run
"Clone this voice"voice.py clone run
"Read this text with the cloned voice"voice.py tts-clone run
"Convert this text to speech"voice.py tts-common run or tts-pro run
"What voices are available?"voice.py list
"How many credits do I have?"user.py credit

Agent Behavior Protocol

During Execution

  1. Local files auto-upload — scripts detect local paths and upload via DreamAPI Storage automatically
  2. Parallelize independent tasks — independent generation tasks can run concurrently via submit
  3. Keep consistency — when generating multiple related outputs, use consistent parameters

After Execution

Show the result URL first, then key metadata. Keep it clean.

Result template:

[type emoji] [task type] complete

Result: <OUTPUT_URL>
• [key metadata]

Not happy with the result? Let me know and I'll adjust.

Error Handling

See references/error_handling.md for error codes and recovery.

Capability Boundaries

CategoryToolsCount
AvatarLipSync, LipSync 2.0, DreamAvatar 3.0 Fast, Dreamact4
Image GenerationFlux Text-to-Image, Flux Image-to-Image2
Image EditingColorize, Enhance, Outpainting, Inpainting, Swap Face, Remove BG6
Video GenerationText-to-Video, Image-to-Video, Head-Tail-to-Video3
Video EditingSwap Face Video, Video Matting, Composite3
Video TranslateVideo Translate 2.01
VoiceVoice Clone, TTS Clone, TTS Common, TTS Pro, Voice List5
Total24
Never promise capabilities that don't exist as modules.

适合场景

01

文本生成图片

02

图片风格化

03

产品图和创意图

04

需要 FLUX 模型时

能力概览

能力 1

调用 FLUX 图像模型

能力 2

支持文本生图和图像改写

能力 3

覆盖 LoRA 或风格适配

能力 4

适合创意视觉生成

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

98.99%
按下载量换算608

安全审计

VirusTotal

通过

ClawScan

可疑

Static analysis

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills