wan-2-7

作者: doany-ai

我们要求翻译一段文本,目标语言是简体中文。需要保留产品名、协议名、URL、数字、技术术语。不要添加声明、解释、Markdown、项目符号、链接、标签、前缀或额外评论。只翻译<text>内的内容,不包括名称除非在源文本中出现。不要添加"description"等标签。 源文本是英文,描述了一个agent skill,关于使用Wan 2.7生成文本到视频。需要翻译成中文,保留"Wan 2.7"、"RunComfy"、"HappyHorse 1.0"、"Seedance 2.0"、"Kling"、"LTX 2"、"audio_url"、"runcomfy run wan-ai/wan-2-7/text-to-video"等专有名词和技术术语。注意"wan-2-7"是名称,但源文本中出现了,所以保留。 翻译要准确,保持原意。注意"Documents Wan 2.7's strengths..."这部分是描述文档内容,需要翻译。最后

npx skills add https://github.com/doany-ai/skills --skill wan-2-7

Wan 2.7 — Pro Pack on RunComfy

runcomfy.com · Text-to-video · GitHub

Wan-AI's Wan 2.7 — flagship video model with multi-reference conditioning and audio-driven lip-sync — hosted on the RunComfy Model API.

npx skills add agentspace-so/runcomfy-skills --skill wan-2-7 -g

When to pick this model (vs siblings)

You wantUse
Lip-sync video to an audio track you supplyWan 2.7 (audio_url)
Multi-reference fine motion controlWan 2.7
Smooth transitions, accurate motion physicsWan 2.7
Currently-#1 blind-vote video modelHappyHorse 1.0
Multi-modal cinematic with image+video+audio refs + in-pass voice generationSeedance 2.0 Pro
Cinematic motion editing on existing footageKling Video O1
Ultra-fast iterationLTX 2

If the user said "Wan" / "Wan 2.7" / "wan-ai" / "alibaba video" explicitly, route here regardless.

Prerequisites

  1. RunComfy CLInpm i -g @runcomfy/cli
  2. RunComfy accountruncomfy login opens a browser device-code flow.
  3. CI / containers — set RUNCOMFY_TOKEN=<token> instead of runcomfy login.

Endpoints + input schema

wan-ai/wan-2-7/text-to-video

FieldTypeRequiredDefaultNotes
promptstringyesUp to ~5000 chars / ~1500 tokens.
audio_urlstringnoWAV/MP3, 3–30s, ≤15MB. Drives lip-sync. Omit → background music auto-generated.
aspect_ratioenumno16:916:9, 9:16, 1:1, 4:3, 3:4.
resolutionenumno1080p720p or 1080p.
durationenumno52–15 (whole seconds).
negative_promptstringnoUp to 500 chars. Concrete issues to avoid.
enable_prompt_expansionboolnotrueAuto-rewrites short prompts. Disable for literal control.
seedintno0..2^31-1. Reuse for variants.

How to invoke

Default (5s 1080p 16:9, prompt-expanded):

runcomfy run wan-ai/wan-2-7/text-to-video \
  --input '{"prompt": "<user prompt>"}' \
  --output-dir <absolute/path>

Audio-driven lip-sync (your own track):

runcomfy run wan-ai/wan-2-7/text-to-video \
  --input '{
    "prompt": "Medium close-up of the spokesperson, warm key light, locked tripod, slight breathing motion.",
    "audio_url": "https://.../voiceover.mp3",
    "duration": 12,
    "aspect_ratio": "9:16"
  }' \
  --output-dir <absolute/path>

Literal control (no auto-expansion):

runcomfy run wan-ai/wan-2-7/text-to-video \
  --input '{
    "prompt": "<exactly what you want, verbatim>",
    "enable_prompt_expansion": false,
    "negative_prompt": "no subtitles, no flicker, no distorted hands"
  }' \
  --output-dir <absolute/path>

Prompting — what actually works

Camera + motion in plain English. "Slow dolly in", "locked tripod, low angle", "handheld follow", "crane move from above". Front-load the shot.

One primary action per clip. Don't pile up multiple competing actions. Pick the beat: "she turns, then smiles" not "she turns AND smiles AND a bus passes AND...".

Use negative_prompt for concrete issues. Good: "no subtitles, no watermark, no flicker". Bad (vague): "no bad lighting".

Prompt expansion is on by default. Short prompts get auto-rewritten by the model. For terse / literal prompts (e.g. brand-strict ad copy), disable with enable_prompt_expansion: false.

Audio specs matter. audio_url must be 3–30s, ≤15MB, WAV/MP3. Out-of-range files reject. Match audio length to clip duration.

Iterate seeds. Reuse the same seed when you want consistent output across variants of the same prompt. Change seed for genuine variety.

Anti-patterns:

  • Static-frame descriptions → motion will be vague.
  • Vague negatives ("no bad colors") → ignored.
  • Audio outside the 3–30s / 15MB / WAV-MP3 spec → rejected.
  • Prompts > 5000 chars / 1500 tokens → degraded output.

Where it shines

Use caseWhy Wan 2.7
Lip-synced ads with custom voiceoveraudio_url accepts your track
Multi-language dub variantsSame prompt, different audio_url per language
Multi-reference motion controlUp to 5 reference media (image / video / voice)
Smooth transitions + motion physicsStrong physics-aware motion priors
Negative-prompted clean outputTargeted issue exclusion

Sample prompts (verified to produce strong results)

Page example (product showcase):

Cinematic medium shot of a product on a marble surface, soft studio
lighting, slow subtle camera push-in, shallow depth of field, premium
commercial look, crisp 1080p detail

Lip-synced spokesperson (with audio_url):

Medium close-up of a confident spokesperson in a softly-lit recording
booth, leaning slightly toward the camera, locked tripod, shallow depth
of field, warm key light from camera-left.

Vertical platform-native:

9:16 vertical short. A barista pulls a single espresso shot, steam
rising into morning sun, rich crema slowly forming. Close-up handheld,
shallow DOF, warm cafe ambience.

Limitations

  • Duration cap 15s. For longer narratives, stitch multiple calls.
  • No native 4K — 1080p ceiling.
  • Aspect ratios — only the 5 documented values.
  • Audio specs — 3–30s, ≤15MB, WAV/MP3 only.
  • Reference media cap 5 (image + video + voice combined).
  • For in-pass voice generation (no separate audio track), use Seedance 2.0 Pro — Wan accepts audio rather than generating it.

Exit codes

codemeaning
0success
64bad CLI args
65bad input JSON / schema mismatch
69upstream 5xx
75retryable: timeout / 429
77not signed in or token rejected

Full reference: docs.runcomfy.com/cli/troubleshooting.

How it works

The skill invokes runcomfy run wan-ai/wan-2-7/text-to-video with a JSON body matching the schema. The CLI POSTs to https://model-api.runcomfy.net/v1/models/wan-ai/wan-2-7/text-to-video, polls the request, fetches the result, and downloads any .runcomfy.net/.runcomfy.com URL into --output-dir. Ctrl-C cancels the remote request before exit.

Security & Privacy

  • Token storage: runcomfy login writes the API token to ~/.config/runcomfy/token.json with mode 0600 (owner-only read/write). Set RUNCOMFY_TOKEN env var to bypass the file entirely in CI / containers.
  • Input boundary: the user prompt is passed as a JSON string to the CLI via --input. The CLI does NOT shell-expand the prompt; it transmits the JSON body directly to the Model API over HTTPS. No shell injection surface from prompt content.
  • Third-party content: image / mask / video URLs you pass are fetched by the RunComfy model server, not by the CLI on your machine. Treat external URLs as untrusted; image-based prompt injection is a known risk for any image-edit / video-edit model.
  • Outbound endpoints: only model-api.runcomfy.net (request submission) and *.runcomfy.net / *.runcomfy.com (download whitelist for generated outputs). No telemetry, no callbacks.
  • Generated-file size cap: the CLI aborts any single download > 2 GiB to prevent disk-fill from a malicious or runaway model output.

来自 doany-ai 的更多技能

image-edit
doany-ai
在RunComfy上编辑图像——该技能是一个智能路由,能将用户意图匹配到RunComfy目录中的正确编辑模型。可选择Nano Banana Edit(最多批量处理20张,默认保留身份特征)、OpenAI GPT Image 2 Edit(多语言图像内文本重写、多参考合成、布局精准)、Flux Kontext Pro(单参考高保真局部编辑)或Z-Image Turbo Inpaint(遮罩驱动的精准区域编辑)。该技能整合了每个模型的文档化提示模式,从而...
creativeimagemedia
seedance-v2
doany-ai
我们被要求将一段英文文本翻译成简体中文。文本描述了一个名为"seedance-v2"的agent skill。需要保留名称"seedance-v2"(但注意指令说"不要包含名称,除非它在源文本中出现"——源文本中出现了"seedance-v2"在最后一行?实际上最后一行是"seedance...",但前面有"seedance-v2"在路径中。指令说"Preserve product names, protocol names, URLs, numbers, and technical terms." 所以"seedance-v2"应该保留。但注意指令说"Translate only the text inside <text>. Do not include the name unless it appears in the source text." 所以如果名称出现在源文本中,就保留。这里"seedance-v2"出现在"runcomfy run bytedance/seedance-v2/pro"中,所以保留。另外"Seedance 2.0 Pro"也是产品名,保留。"RunComfy"保留。"HappyHorse 1.0 / Wan 2.7 /
videocreativemedia
kling-3-0
doany-ai
RunComfy上的Kling 3.0视频生成。Kling 3.0(也称Kling V3.0)是快手科技第三代多镜头视频模型,具备原生同步音频及跨镜头一致的角色身份。该技能覆盖全部六个Kling 3.0端点,涵盖三种渲染级别(标准、专业、4K)和两种模式(文生视频、图生视频)。通过本地RunComfy CLI调用runcomfy run kling/kling-3.0/ /。触发词为"kling"、"kling 3.0"、"kling v3"、"kling pro"等。
videocreativemedia
face-swap
doany-ai
我们要求翻译一段文本,目标语言是简体中文。文本内容是关于一个名为"face-swap"的agent skill的描述。需要保留产品名称、协议名称、URL、数字和技术术语。不要添加任何额外内容。文本中提到了多个工具/模型名称:RunComfy, runcomfy CLI, Wan 2-2 Animate, GPT Image 2 Edit, Nano Banana Edit, Flux Kontext, Kling 2-6 Motion Control Pro。这些都需要保留原样。另外注意"face-swap"是名称,但文本中没有出现,所以不翻译。翻译时只翻译<text>内的内容,不要包含"description"等标签。 文本内容:描述通过runcomfy CLI在RunComfy上实现换脸/换角色到视频或图像中。跨越多个社区模型/工具。最后一句"Picks the right model for..."不完整,但按原样翻译。 翻译时注意技术术语的准确性,比如"audio-driven character animation"译为"音频驱动的角色动画","identity swap"译为
creativevideoimage
video-outpainting
doany-ai
我们要求翻译一段文本,目标语言是简体中文。需要保留产品名称、协议名称、URL、数字和技术术语。不要添加声明、解释、Markdown、项目符号、链接、标签、前缀或额外评论。只翻译<text>内的内容,不包括名称除非它在源文本中出现。不要添加"description"、"server name"、"skill name"等标签。 源文本是英文,描述了一个agent skill:video-outpainting。翻译时注意保持技术术语如"RunComfy"、"CLI"、"Wan 2-7 edit-video"、"ComfyUI"等不翻译。注意"video-outpainting"是名称,但源文本中出现了"Video outpainting"作为开头,所以需要翻译"Video outpainting"为"视频外扩"或类似?但要求保留名称,但名称是"video-outpainting",而源文本中写的是"Video outpainting",大小写不同。根据指令"Name to preserve: video-outpainting",但源文本中出现的
videocreativemedia
ai-avatar-video
doany-ai
We need to translate the given English text into Simplified Chinese. The instruction says to preserve product names, protocol names, URLs, numbers, and technical terms. The name "ai-avatar-video" is not in the text, so we don't include it. We must not add any labels or extra commentary. Just translate the text inside <text> tags. The text describes creating AI avatar videos using runcomfy CLI, mentioning various models: ByteDance OmniHuman, Wan-AI Wan 2-7, HappyHorse 1.0, Seedance v2 Pro. Also mentions user intents like UGC voiceover, virtual presenter, etc. We need to ensure technical terms like "t2v", "i2v", "in-pass audio", "multi-modal cinematic" are preserved or appropriately translated? The instruction says preserve technical terms, so we can keep them as is or translate if common? But "t2v" and "i2v" are likely abbreviations for text-to-video and image-to-video, which are common. However,
videocreativemedia
flux-kontext
doany-ai
在RunComfy上使用Flux 1 Kontext Pro(Black Forest Labs的精准局部图像编辑模型)编辑图像——该技能内置了模型文档中的提示模式,因此相比直接使用同一模型进行简单提示,能获得更清晰的输出。文档说明了Flux Kontext的优势(单参考精准局部编辑、强提示控制、一致的高保真输出)、模式(单图像+提示),以及何时改用Nano Banana Edit / GPT Image 2 edit / Flux 2 Klein。调用...
creativeimagedocument
relight
doany-ai
我们要求翻译一段文本,目标语言是简体中文。需要保留产品名、协议名、URL、数字和技术术语。不要添加声明、解释、Markdown、项目符号、链接、标签、前缀或额外评论。只翻译<text>内的内容。注意不要包含名称"relight"除非它在源文本中出现。源文本中第一句就有"Relight",所以需要翻译。但注意指令说"不要包含名称除非它出现在源文本中",所以"Relight"作为动词应该翻译,但作为产品名或技能名?实际上"relight"在文本中作为动词出现,但也是技能名称。指令说"Name to preserve: relight",但翻译时只翻译文本,不额外添加名称。所以"Relight"作为动词应该翻译为"重新打光"或类似。但注意保留技术术语如"LoRA"、"CLI"等。另外"RunComfy"、"Qwen Edit 2509"、"Nano Banana 2 Edit"等是产品名,保留。翻译要
creativeimagemedia