Token导航 LogoToken导航TokenDH.com
效率需要联网clawhub未标认证来源可访问clear审计提醒

wan-video-gen-edit-2-7万视频生成编辑 2 7

Agent Skill

用于辅助视频生成、动画合成、脚本化剪辑或 Remotion 等视频项目开发。它适合让 Agent 组织镜头、生成素材说明、维护合成代码或排查渲染问题。使用时需要确认分辨率、时长、素材路径和导出格式;涉及外部素材、人物肖像或商业发布时,应先核对版权授权和内容审核要求。

总安装

4,916

周安装

209

GitHub Stars

公开资料未说明

下载量

1,722
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:wan-video-gen-edit-2-7(万视频生成编辑 2 7)
来源仓库:https://github.com/krisyejh/wan-video-gen-edit-2-7
安装命令:
openclaw skills install wan-video-gen-edit-2-7
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

ClawHubOpenClaw
openclaw skills install wan-video-gen-edit-2-7

简介

使用 Wan 2.7 系列模型进行视频生成与编辑,支持文本到视频、图像延续及参考视频合成。

  • 适用于动画创作、脚本化剪辑和 Remotion 项目中的镜头组织与素材生成。
  • 通过输入提示词、分辨率、时长和素材路径配置任务,输出指定格式的视频文件。
  • 需确认版权授权,涉及人物肖像或商业用途时应提前审核内容合规性。
  • 安装后可通过 clawhub 命令集成到 OpenClaw 环境,建议核对模型输出稳定性。

SKILL.md

name
wan-video-gen-edit-2.7
description
Video Generation and Editing with Wan 2.7 series models. Supports text2video, image2video (first-frame, first+last-frame, video-continuation), reference2video, and video-editing capabilities.
homepage
https://bailian.console.aliyun.com/cn-beijing?tab=model#/model-market
metadata
{"clawdbot":{"emoji":"🎬","requires":{"bins":["python3","requests"],"env":["DASHSCOPE_API_KEY"]},"primaryEnv":"DASHSCOPE_API_KEY"},"author":"KrisYe"}

Wan 2.7 Video Models

Wan 2.7 Video Models, created by Alibaba Group, are the latest generation of video generation and editing models. This skill integrates with Wan 2.7 Model APIs on ModelStudio (Bailian-Alibaba Model Service Platform).

Model Overview

ModelCapabilitiesResolutionDuration
wan2.7-t2vText to Video, Multi-shot narrative, Auto audio720P, 1080P2-15s
wan2.7-i2vFirst-frame, First+Last-frame, Video continuation720P, 1080P2-15s
wan2.7-r2vReference images/videos to video, Multi-character720P, 1080P2-10s
wan2.7-videoeditVideo editing, Style transfer, Reference-based edit720P, 1080P2-10s

Text to Video Generation (wan2.7-t2v)

Generate videos from text prompts with optional audio.

text2video task-submit

python3 {baseDir}/scripts/wan27-magic.py text2video-gen --prompt "一只小猫在月光下奔跑" --resolution "1080P" --ratio "16:9" --duration 5
python3 {baseDir}/scripts/wan27-magic.py text2video-gen --prompt "一段紧张刺激的侦探追查故事,展现电影级叙事能力。第1个镜头[0-3秒] 全景:雨夜的纽约街头,霓虹灯闪烁,一位身穿黑色⻛衣的侦探快步行走。 第2个镜头[3-6秒] 中景:侦探进入一栋老旧建筑,雨水打湿了他的外套,⻔在他身后缓缓关闭。 第3个镜头[6-9秒] 特写:侦探的眼神坚毅专注,远处传来警 笛声,他微微皱眉思考。 第4个镜头[9-12秒] 中景:侦探在昏暗走廊中小心前行,手电筒照亮前方。 第5个镜头[12-15秒] 特写:侦探发现关键线索,脸上露出恍然大悟的表情。" --resolution "720P" --ratio "16:9" --duration 15
python3 {baseDir}/scripts/wan27-magic.py text2video-gen --prompt "一幅史诗级可爱的场景,一只小猫将军站在悬崖上" --audio-url "https://example.com/audio.mp3" --duration 10

Options

  • --prompt: Text prompt for video generation (required, max 5000 chars)
  • --negative-prompt: Content to avoid in the video (optional, max 500 chars)
  • --resolution: Video resolution - 720P or 1080P (default: 1080P)
  • --ratio: Aspect ratio - 16:9, 9:16, 1:1, 4:3, 3:4 (default: 16:9)
  • --duration: Video duration in seconds, 2-15 (default: 5)
  • --audio-url: Custom audio URL for video (optional, wav/mp3, 2-30s)
  • --prompt-extend: Enable intelligent prompt rewriting (default: enabled)
  • --no-prompt-extend: Disable intelligent prompt rewriting
  • --watermark: Add "AI Generated" watermark (default: disabled)

text2video tasks-get (round-robin)

python3 {baseDir}/scripts/wan27-magic.py text2video-get --task-id "<TASK_ID_FROM_VIDEO_GEN>"

Image to Video Generation (wan2.7-i2v)

Generate video from image(s) with support for first-frame, first+last-frame, and video continuation.

First-frame to Video

python3 {baseDir}/scripts/wan27-magic.py image2video-gen --prompt "一幅都市奇幻艺术的场景" --first-frame "https://example.com/first.png" --resolution "720P" --duration 10
python3 {baseDir}/scripts/wan27-magic.py image2video-gen --prompt "一幅都市奇幻艺术的场景。一个充满动感的涂鸦艺术角色。一个由喷漆所画成的少年,正从一面混凝土墙上活过来。他一边用极快的语速演唱一首英文rap,一边摆着一个经典的、充满活力的说唱歌手姿势。场景设定在夜晚一个充满都市感的铁路桥下。灯光来自一盏孤零零的街灯,营造出电影般的氛围,充满高能量和惊人的细节。视频的音频部分完全由他的rap构成,没有其他对话或杂音。" --first-frame "https://help-static-aliyun-doc.aliyuncs.com/file-manage-files/zh-CN/20250925/wpimhv/rap.png" --driving-audio "https://help-static-aliyun-doc.aliyuncs.com/file-manage-files/zh-CN/20250925/ozwpvi/rap.mp3" --duration 10

First + Last Frame to Video

python3 {baseDir}/scripts/wan27-magic.py image2video-gen --prompt "写实⻛格,一只小黑猫好奇地仰望天空,镜头从平视角度逐渐升高,最后以俯视角度捕捉到它好奇的眼神。" --first-frame "https://wanx.alicdn.com/material/20250318/first_frame.png" --last-frame "https://wanx.alicdn.com/material/20250318/last_frame.png" --no-prompt-extend --resolution "720P" --duration 10

Video Continuation(First Clip + prompt or First Clip + Last Frame)

python3 {baseDir}/scripts/wan27-magic.py image2video-gen --prompt "一只戴着墨镜的狗在街道上滑滑板" --first-clip "http://wanx.alicdn.com/material/20250318/video_extension_1.mp4" --no-prompt-extend --resolution "720P" --duration 15
python3 {baseDir}/scripts/wan27-magic.py image2video-gen --prompt "继续之前的场景" --first-clip "https://example.com/video.mp4" --last-frame "https://example.com/end.png" --duration 10

Options

  • --prompt: Text prompt (optional but recommended, max 5000 chars)
  • --negative-prompt: Content to avoid (optional, max 500 chars)
  • --first-frame: First frame image URL (required for first-frame mode)
  • --last-frame: Last frame image URL (optional, for first+last-frame mode)
  • --first-clip: First video clip URL (required for video continuation, 2-10s)
  • --driving-audio: Audio URL to drive the video (optional, wav/mp3, 2-30s)
  • --resolution: Video resolution - 720P or 1080P (default: 1080P)
  • --duration: Video duration 2-15s (default: 5)
  • --prompt-extend: Enable intelligent prompt rewriting (default: enabled)
  • --no-prompt-extend: Disable intelligent prompt rewriting
  • --watermark: Add watermark (default: disabled)

image2video tasks-get (round-robin)

python3 {baseDir}/scripts/wan27-magic.py image2video-get --task-id "<TASK_ID_FROM_VIDEO_GEN>"

Reference to Video Generation (wan2.7-r2v)

Generate video using reference images and videos as character/scene sources.

Multi-character Reference

python3 {baseDir}/scripts/wan27-magic.py reference2video-gen --prompt "视频1在沙发上看电影,图片1在旁边唱歌" --reference-videos "https://example.com/person.mp4" --reference-images "https://example.com/singer.png" --resolution "720P" --duration 10
python3 {baseDir}/scripts/wan27-magic.py reference2video-gen --prompt "视频1对视频2说:听起来不错" --reference-videos "https://example.com/role1.mp4" "https://example.com/role2.mp4" --resolution "1080P" --ratio "16:9" --duration 10
python3 {baseDir}/scripts/wan27-magic.py reference2video-gen --prompt "视频1一边喝奶茶,一边随着音乐即兴跳舞" --reference-videos "https://cdn.wanx.aliyuncs.com/static/demo-wan26/vace.mp4" --resolution "720P" --duration 10
python3 {baseDir}/scripts/wan27-magic.py reference2video-gen --prompt "视频2中的角色坐在靠窗的椅子上,手持图片1,在图片2旁演奏一首舒缓的美国乡村民谣。视频1的角色对视频2角色开口说道:“听起来不错”" --reference-videos "https://help-static-aliyun-doc.aliyuncs.com/file-manage-files/zh-CN/20260129/hfugmr/wan-r2v-role1.mp4" "https://help-static-aliyun-doc.aliyuncs.com/file-manage-files/zh-CN/20260129/qigswt/wan-r2v-role2.mp4" --reference-images "https://help-static-aliyun-doc.aliyuncs.com/file-manage-files/zh-CN/20260129/qpzxps/wan-r2v-object4.png" "https://help-static-aliyun-doc.aliyuncs.com/file-manage-files/zh-CN/20260129/wfjikw/wan-r2v-backgroud5.png" --resolution "1080P" --duration 10
python3 {baseDir}/scripts/wan27-magic.py reference2video-gen --prompt "视频1对接镜头唱起了rap嘻哈音乐" --reference-videos "https://help-static-aliyun-doc.aliyuncs.com/file-manage-files/zh-CN/20260129/hfugmr/wan-r2v-role1.mp4" --reference-voice "https://help-static-aliyun-doc.aliyuncs.com/file-manage-files/zh-CN/20250925/ozwpvi/rap.mp3" --resolution "720P" --duration 10

With First Frame Control

python3 {baseDir}/scripts/wan27-magic.py reference2video-gen --prompt "图片1在海边散步" --reference-images "https://example.com/person.png" --first-frame "https://example.com/beach.png" --resolution "720P" --duration 5
python3 {baseDir}/scripts/wan27-magic.py reference2video-gen --prompt "视频1戴着一副头戴式耳机,似乎在听着非常有节奏的音乐,非常快乐,走进这家咖啡厅,拿起桌上的报纸看起来" --reference-videos "https://cdn.wanx.aliyuncs.com/static/demo-wan26/vace.mp4" --first-frame "https://help-static-aliyun-doc.aliyuncs.com/file-manage-files/zh-CN/20260129/wfjikw/wan-r2v-backgroud5.png" --resolution "720P" --duration 10

Options

  • --prompt: Text prompt with character references (required, max 5000 chars). Use "视频1/视频2" to reference videos, "图片1/图片2" to reference images.
  • --negative-prompt: Content to avoid (optional, max 500 chars)
  • --reference-videos: Reference video URLs (max 3 videos). Referenced as "视频1", "视频2", etc. in prompt.
  • --reference-images: Reference image URLs (max 5 images). Referenced as "图片1", "图片2", etc. in prompt.
  • --first-frame: First frame image URL (optional)
  • --reference-voice: Audio URL for voice of a specific character (optional, wav/mp3, 1-10s)
  • --resolution: Video resolution - 720P or 1080P (default: 1080P)
  • --ratio: Aspect ratio - 16:9, 9:16, 1:1, 4:3, 3:4 (default: 16:9). Ignored if first-frame provided.
  • --duration: Video duration 2-10s (default: 5)
  • --watermark: Add watermark (default: disabled)

Note: At least one of --reference-videos or --reference-images is required.

reference2video tasks-get (round-robin)

python3 {baseDir}/scripts/wan27-magic.py reference2video-get --task-id "<TASK_ID_FROM_VIDEO_GEN>"

Video Editing (wan2.7-videoedit)

Edit existing videos with text instructions and optional reference images.

Instruction-based Editing

python3 {baseDir}/scripts/wan27-magic.py video-edit --prompt "为人物换上酷闪的衣服" --video "https://example.com/original.mp4" --resolution "720P"
python3 {baseDir}/scripts/wan27-magic.py video-edit --prompt "将场景变成夜晚,添加霓虹灯效果" --video "https://example.com/video.mp4"

Reference Image-based Editing

python3 {baseDir}/scripts/wan27-magic.py video-edit --prompt "为人物换上参考图里的帽子" --video "https://example.com/video.mp4" --reference-images "https://example.com/hat.png"
python3 {baseDir}/scripts/wan27-magic.py video-edit --prompt "参考视频运镜和动作,用一个卡通小狗形象实现类似效果" --video "https://example.com/video.mp4" --reference-images "https://example.com/dog.png"

Options

  • --prompt: Editing instruction (optional but recommended, max 5000 chars)
  • --negative-prompt: Content to avoid (optional, max 500 chars)
  • --video: Input video URL to edit (required, mp4/mov, 2-10s)
  • --reference-images: Reference image URLs for editing (optional, max 3 images)
  • --resolution: Output resolution - 720P or 1080P (default: 1080P)
  • --ratio: Aspect ratio (optional). If not set, uses input video ratio.
  • --duration: Output duration (optional, 0 = same as input video, range 2-10s)
  • --audio-setting: Audio handling - auto (default) or origin (keep original audio)
  • --watermark: Add watermark (default: disabled)

Note: --prompt-extend is not supported for wan2.7-videoedit.

video-edit tasks-get (round-robin)

python3 {baseDir}/scripts/wan27-magic.py video-edit-get --task-id "<TASK_ID_FROM_VIDEO_EDIT>"

Resolution and Aspect Ratio Reference

ResolutionAspect RatioOutput Size (W*H)
720P16:91280*720
720P9:16720*1280
720P1:1960*960
720P4:31104*832
720P3:4832*1104
1080P16:91920*1080
1080P9:161080*1920
1080P1:11440*1440
1080P4:31648*1248
1080P3:41248*1648

Important Notes

  • Task ID Validity: Task IDs are valid for 24 hours
  • Video URL Validity: Generated video URLs are valid for 24 hours, download immediately
  • Content Review: Both input and output are subject to content safety review
  • Billing: Based on resolution (1080P > 720P) × duration (seconds)
  • Multi-shot Narrative: Use natural language in prompt to describe shots (e.g., "第1个镜头[0-3秒]...")
  • Migration from wan2.6: wan2.7 uses resolution + ratio instead of size, and shot_type parameter is deprecated (use prompt instead)

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

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

平台分布

OpenClaw

92.1%
按下载量换算1,586

安全审计

VirusTotal

通过

ClawScan

可疑

Static analysis

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

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

来源信息

继续浏览同类 Skills