静态图像一键转短视频,AI驱动创意升级
简介
基于RunComfy API将静态图像转换为短视频,支持人像动画、产品展示、口型同步及多模态融合,15秒内快速生成身份稳定的动态内容。
原始描述
Image-to-video generation on RunComfy. This image-to-video skill turns any still image into a short video clip via the RunComfy Model API. The image-to-video...
通过你的 Agent 添加
安装目录:image-to-video-runcomfy/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。
点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。
或者手动安装
包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可;
目录名不用换,也不要把包直接解压到 skills 根目录。
技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。
中文使用说明 来自收录源
核心用法
本技能作为RunComfy Model API的官方入口,将单张静态图片转换为动态视频片段。用户只需提供图片URL和动作描述,系统会自动选择最匹配的图生视频模型执行生成。技能内置三条核心路由:通用图生视频(HappyHorse 1.0)、唇音同步视频(Wan 2.7)以及多模态融合视频(Seedance 2.0 Pro),覆盖从简单动画到复杂音视频同步的多样化需求。
显著优点
零基础设施门槛:无需本地GPU或复杂环境配置,RunComfy托管全部计算资源,用户通过CLI即可调用云端算力。身份稳定性强:默认模型在Elo评分1392的Arena基准测试中表现优异,能高度保留输入图像中的面部特征、产品细节和品牌元素。多模态融合能力:支持图像+参考视频+参考音频的联合输入,最多可处理9张图像和3段音频,适合制作复杂的叙事性视频内容。同步音频生成:默认 pipeline 可在单次生成中输出带同步音效的视频,省去后期配音步骤。快速迭代友好:支持种子锁定实现变体对比,便于A/B测试和批量内容生产。
潜在缺点与局限性
时长限制严格:单次调用最长仅15秒,长视频必须通过多片段拼接实现,增加了后期制作复杂度。宽高比绑定:默认路由的输出宽高比强制等于输入图片比例,如需重新构图需预先裁剪原图。路由隔离:多模态图生视频与自定义唇音同步无法在一次调用中叠加,复杂需求需拆解为多次API调用并手动合成。网络依赖:所有媒体文件需通过URL提交,本地文件需先上传至可访问的存储服务。成本控制:作为云端API服务,高频调用或高分辨率(1080P)生成将产生显著费用,不适合无预算限制的个人实验。
适合的目标群体
本技能特别适合内容创作者与营销团队(快速生成产品展示视频、社交媒体素材)、AI视频开发者(构建自动化视频生产 pipeline)、多语言本地化团队(批量生成口型同步的配音视频)以及设计工作室(将静态视觉资产转化为动态作品集)。对于拥有明确视觉参考、追求身份一致性、且需要快速规模化产出的专业场景尤为适用。
常规使用风险
性能层面:云端排队机制可能导致生成延迟,高峰期需容忍数分钟等待;CLI轮询间隔固定为2秒,大文件下载可能超时。依赖项风险:@runcomfy/cli npm包需保持更新以兼容API变更,存在版本漂移可能。数据安全:所有媒体URL和提示词发送至第三方服务器,敏感内容存在泄露风险;生成的视频文件存储于*.runcomfy.net域名,需关注服务商的数据保留政策。成本失控:未设置用量上限,批量任务易意外超支。输出质量波动:AI生成内容存在随机性,即使锁定种子也难以保证100%视觉一致性,关键项目建议预留生成冗余量。
技能正文
name: image-to-video-runcomfy
displayName: "🫧 Image-to-Video — Pro Pack on RunComfy"
description: >
Image-to-video generation on RunComfy. This image-to-video skill turns
any still image into a short video clip via the RunComfy Model API.
The image-to-video pipeline supports portrait animation, product
reveal, scene motion, and synchronized-audio image-to-video output.
Calls the right image-to-video endpoint for the user's intent (general
image-to-video, lip-sync image-to-video, multi-modal image-to-video)
through runcomfy run <model>/image-to-video. Triggers on "image to
video", "image-to-video", "i2v", "animate image", "image2video",
"make a video from image", "still to video", "still-to-video", or any
explicit ask for image-to-video conversion.
emoji: "🫧"
homepage: https://www.runcomfy.com
license: MIT
clawdis:
requires:
bins:
- runcomfy
env:
- RUNCOMFY_TOKEN
config:
- ~/.config/runcomfy
🫧 Image-to-Video — Pro Pack on RunComfy
runcomfy.com · docs · Image-to-video models
Image-to-video generation on RunComfy. This skill is the canonical image-to-video entry point for the RunComfy Model API: give it a still image and a motion description, and it returns a short video clip. Image-to-video on RunComfy means turning any image — portrait, product photo, environment, illustration — into a video, with the motion driven by your prompt.
What "image-to-video" means here
Image-to-video (often abbreviated i2v or image2video) is the task of generating a short video starting from a single still image. The image fixes the look — face, wardrobe, product, scene geometry — and the prompt drives the motion. Image-to-video is distinct from text-to-video (no input image) and from video-to-video (which transforms an existing clip).
Image-to-video on RunComfy supports three patterns:
- General image-to-video: animate any still — portrait drift, product reveal, environment motion, illustration coming alive. The default image-to-video pipeline.
- Lip-sync image-to-video: a custom voiceover drives mouth movement on a generated talking-head image-to-video clip. Input: image + audio. Output: lip-synced image-to-video.
- Multi-modal image-to-video: combine subject image + reference scene video + reference voice audio into one image-to-video output.
This skill picks the right image-to-video endpoint for the user's intent and calls runcomfy run <model>/image-to-video with the matching schema.
When to use image-to-video on RunComfy
Pick image-to-video on RunComfy whenever:
- You have a still image and want it to move — image-to-video is the right task.
- You want identity-stable image-to-video — the face / product / brand from your input image must survive into the output video.
- You want fast iteration on image-to-video — RunComfy hosts the GPU; you don't deploy or rent.
- You're building image-to-video at scale — multi-language image-to-video dubs, multi-shot image-to-video sequences, batch image-to-video jobs.
If the user said "image to video", "i2v", "animate this image", "image2video", "make a video from this", or showed an image and asked for video — route here.
Image-to-video routes
User intent
Image-to-video model
Why
Default image-to-video — portraits, products, environments
happyhorse-1-0/image-to-video
#1 on Arena (Elo 1392 i2v); strong identity preservation; native synchronized audio in image-to-video output
Image-to-video with custom voiceover lip-sync
wan-ai/wan-2-7/text-to-video + audio_url
Drives lip-sync on the image-to-video frame from your audio file
Multi-modal image-to-video (image + ref video + ref audio)
bytedance/seedance-v2/pro
Multi-input image-to-video with up to 9 image refs and 3 audio refs
| User intent | Image-to-video model | Why |
|---|---|---|
| Default image-to-video — portraits, products, environments | happyhorse-1-0/image-to-video |
#1 on Arena (Elo 1392 i2v); strong identity preservation; native synchronized audio in image-to-video output |
| Image-to-video with custom voiceover lip-sync | wan-ai/wan-2-7/text-to-video + audio_url |
Drives lip-sync on the image-to-video frame from your audio file |
| Multi-modal image-to-video (image + ref video + ref audio) | bytedance/seedance-v2/pro |
Multi-input image-to-video with up to 9 image refs and 3 audio refs |
The agent reads this table, classifies the user's image-to-video intent, and picks the matching endpoint.
Prerequisites
- RunComfy CLI —
npm i -g @runcomfy/cli
- RunComfy account —
runcomfy login opens a browser device-code flow.
- CI / containers — set
RUNCOMFY_TOKEN=<token>.
- A source image URL — JPEG/PNG/WebP, min 300px, ≤10MB; aspect 1:2.5 to 2.5:1 for the default image-to-video model.
Default image-to-video — HappyHorse 1.0 i2v
npm i -g @runcomfy/cliruncomfy login opens a browser device-code flow.RUNCOMFY_TOKEN=<token>.The default image-to-video endpoint. Use for any general image-to-video task: portrait drift, product reveal, environment motion, character animation. Image-to-video output includes synchronized audio in the same generation pass.
Schema
Field
Type
Required
Default
Notes
image_url
string
yes
—
The source still for image-to-video. JPEG/PNG/WebP, min 300px, aspect 1:2.5–2.5:1, ≤10MB.
prompt
string
yes
—
Motion / camera / lighting description for the image-to-video output. ≤5000 chars.
resolution
enum
no
1080P
720P or 1080P.
duration
int
no
5
3–15 seconds per image-to-video clip.
seed
int
no
0
Reuse for image-to-video variant comparisons.
watermark
bool
no
true
Provider watermark on image-to-video output.
| Field | Type | Required | Default | Notes |
|---|---|---|---|---|
image_url |
string | yes | — | The source still for image-to-video. JPEG/PNG/WebP, min 300px, aspect 1:2.5–2.5:1, ≤10MB. |
prompt |
string | yes | — | Motion / camera / lighting description for the image-to-video output. ≤5000 chars. |
resolution |
enum | no | 1080P |
720P or 1080P. |
duration |
int | no | 5 | 3–15 seconds per image-to-video clip. |
seed |
int | no | 0 | Reuse for image-to-video variant comparisons. |
watermark |
bool | no | true | Provider watermark on image-to-video output. |
Output aspect of the image-to-video clip equals input image aspect.
Invoke
runcomfy run happyhorse/happyhorse-1-0/image-to-video \
--input '{
"image_url": "https://.../portrait.jpg",
"prompt": "Gentle camera drift around the subject'\''s face, subtle breathing motion, identity-stable features, soft natural light."
}' \
--output-dir <absolute/path>
Lip-sync image-to-video — custom voiceover
runcomfy run happyhorse/happyhorse-1-0/image-to-video \
--input '{
"image_url": "https://.../portrait.jpg",
"prompt": "Gentle camera drift around the subject'\''s face, subtle breathing motion, identity-stable features, soft natural light."
}' \
--output-dir <absolute/path>
When the image-to-video output needs to lip-sync to a custom audio track, use Wan 2.7 with audio_url. The image-to-video clip is generated around your voiceover so mouth movement matches.
| Field | Type | Required | Notes |
|---|---|---|---|
prompt |
string | yes | Describe the talking-head shot for the image-to-video output. |
audio_url |
string | yes | WAV/MP3, 3–30s, ≤15MB. Drives lip-sync on the image-to-video frame. |
aspect_ratio |
enum | no | 16:9, 9:16, 1:1, 4:3, 3:4. |
resolution |
enum | no | 720p or 1080p. |
duration |
enum | no | 2–15 seconds. Match audio length for clean image-to-video lip-sync. |
runcomfy run wan-ai/wan-2-7/text-to-video \
--input '{
"prompt": "Medium close-up, soft key light, locked tripod, shallow DOF.",
"audio_url": "https://.../voiceover-en.mp3",
"duration": 12,
"aspect_ratio": "9:16"
}' \
--output-dir <absolute/path>
For multi-language image-to-video dubs: same prompt, swap audio_url per call, lock seed for visual consistency across all image-to-video outputs.
Multi-modal image-to-video — image + ref video + ref audio
When the image-to-video output should fuse a subject image with a scene reference and voice reference, use Seedance 2.0 Pro. Multi-modal image-to-video accepts up to 9 image refs.
| Field | Type | Required | Notes |
|---|---|---|---|
prompt |
string | yes | Description for the image-to-video output. EN ≤1000 words. |
image_url |
array | yes | 0–9 source images for image-to-video. First is the primary subject. |
video_url |
array | no | 0–3 reference clips (2–15s each) for image-to-video scene cues. |
audio_url |
array | no | 0–3 reference audio (2–15s, <15MB each) for image-to-video voice cues. |
duration |
int | no | 4–15 seconds. |
resolution |
enum | no | 480p or 720p. |
runcomfy run bytedance/seedance-v2/pro \
--input '{
"prompt": "Subject from image 1 walks through the scene from video 1, voice from audio 1.",
"image_url": ["https://.../subject.jpg"],
"video_url": ["https://.../scene.mp4"],
"audio_url": ["https://.../voice.mp3"],
"duration": 8
}' \
--output-dir <absolute/path>
Prompting image-to-video — what works
Image-to-video prompts behave differently from text-to-video prompts. The image already fixes the look — your prompt should drive motion, not redescribe the image.
- Lead with motion verbs. "drift", "dolly in", "orbit", "tilt up", "blink", "breathe" — front-load what's MOVING in the image-to-video output.
- Don't restate the image. The image-to-video model sees the input. Spend tokens on what changes, not what already exists.
- Preservation goals explicit. "identity-stable features", "packaging unchanged", "background geometry stable" — tell the image-to-video model what NOT to change.
- One beat per image-to-video clip. Single primary motion (orbit OR dolly OR tilt OR character action). Compound motion drifts.
- Lighting evolution. "rim light intensifying", "shadows shortening as camera rises" — image-to-video output reads lighting cues well.
Image-to-video FAQ
What's the max duration of an image-to-video clip? 15 seconds across all image-to-video routes here. For longer image-to-video sequences, generate multiple clips and stitch.
What image formats does image-to-video accept? JPEG, PNG, WebP. Min 300px, ≤10MB, aspect 1:2.5 to 2.5:1.
Does image-to-video preserve face identity? Yes — the default image-to-video model has strong identity preservation. For best identity hold, the face should fill at least 5% of the frame in the input image.
Can image-to-video include audio? Yes. The default image-to-video model generates synchronized audio in the same pass. The lip-sync image-to-video route accepts your custom audio. The multi-modal image-to-video route accepts reference audio.
Image-to-video vs text-to-video on RunComfy? Image-to-video starts from your image (look fixed). Text-to-video starts from your prompt only (look generated). Use image-to-video when you have an exact reference; use text-to-video for novel content.
Image-to-video output resolution? 720p or 1080p depending on the route.
Limitations
- Image-to-video clip length is 15s per call. Longer image-to-video output requires stitching multiple calls.
- Image-to-video output aspect = input image aspect on the default route. For independent reframing, crop the input first.
- Image-to-video doesn't blend across routes in one call. If you need multi-modal image-to-video + custom voiceover lip-sync in one clip, that's two image-to-video calls plus a stitch.
Exit codes
code
meaning
0
image-to-video succeeded
64
bad CLI args
65
bad input JSON for image-to-video / schema mismatch
69
upstream 5xx
75
retryable: timeout / 429
77
not signed in or token rejected
| code | meaning |
|---|---|
| 0 | image-to-video succeeded |
| 64 | bad CLI args |
| 65 | bad input JSON for image-to-video / schema mismatch |
| 69 | upstream 5xx |
| 75 | retryable: timeout / 429 |
| 77 | not signed in or token rejected |
Full reference: docs.runcomfy.com/cli/troubleshooting.
How it works
The skill picks one of three image-to-video endpoints based on user intent (general image-to-video, lip-sync image-to-video, or multi-modal image-to-video) and invokes runcomfy run <endpoint> with the matching JSON body. The CLI POSTs to the RunComfy Model API, polls the image-to-video request status every 2 seconds, and downloads the resulting image-to-video file from the *.runcomfy.net / *.runcomfy.com URL into --output-dir. Ctrl-C cancels the in-flight image-to-video request.
Security & Privacy
- Token storage:
runcomfy login writes the API token to ~/.config/runcomfy/token.json with mode 0600. Set RUNCOMFY_TOKEN env var to bypass the file in CI.
- Input boundary: the image-to-video prompt is passed as JSON via
--input. The CLI does NOT shell-expand. No shell-injection surface.
- Third-party content: image / video / audio URLs are fetched by the RunComfy server. Treat external URLs as untrusted; image-based prompt injection is a known risk for any image-to-video model.
- Outbound endpoints: only
model-api.runcomfy.net and *.runcomfy.net / *.runcomfy.com. No telemetry.
- Generated-file size cap: the CLI aborts any image-to-video download > 2 GiB.
runcomfy login writes the API token to ~/.config/runcomfy/token.json with mode 0600. Set RUNCOMFY_TOKEN env var to bypass the file in CI.--input. The CLI does NOT shell-expand. No shell-injection surface.model-api.runcomfy.net and *.runcomfy.net / *.runcomfy.com. No telemetry.正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。