← 返回
未分类

即梦-图生视频 CLI 技能,让你的智能体通过 即梦 CLI 生成视频

Provides comprehensive guidance for executing image-to-video (图生视频) generation via the dreamina CLI for 即梦. This skill covers 4 sub-commands selected by input type: image2video (1 image → animate), frames2video (2 images → transition via --first/--last), multiframe2video (2-20 storyboard images → narrative via --images and --transition-prompt), and multimodal2video (up to 9 images + 3 videos + 3 audio → synthesis). Use when the user has reference images or media files and wants to generate video
Provides comprehensive guidance for executing image-to-video (图生视频) generation via the dreamina CLI for 即梦. This skill covers 4 sub-commands selected by input type: image2video (1 image → animate), frames2video (2 images → transition via --first/--last), multiframe2video (2-20 storyboard images → narrative via --images and --transition-prompt), and multimodal2video (up to 9 images + 3 videos + 3 audio → synthesis). Use when the user has reference images or media files and wants to generate video via CLI; mentions \"dreamina image2video\", \"图生视频CLI\", \"frames2video\", \"multiframe2video\", \"multimodal2video\"; or provides media files and asks to animate or synthesize them. This skill covers mode detection with a decision tree, parameter name differences between sub-commands, input limits per mode, and 4 mode-specific execution workflows. Always use this skill when the user wants to generate video from reference media via the dreamina command line.
PartMe.AI
未分类 community v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 93
下载
💾 0
安装
1
版本
#latest

概述

jimeng-cli-image2video — 即梦图生视频 CLI 执行

Execute image-to-video generation via the dreamina CLI. This skill handles 4 sub-commands, routing by input type, credit management, file verification, and result retrieval.

This skill does NOT craft prompts. Prompt crafting is handled by jimeng-prompt-image2video.

When to use this skill

Use this skill when:

  • The user has reference image(s) and an approved video prompt
  • The user mentions dreamina image2video, frames2video, multiframe2video, multimodal2video
  • The user says "让这张图动起来" or "把这些图做成视频"

Do NOT use for:

  • Prompt crafting → jimeng-prompt-image2video
  • Text-to-video CLI → jimeng-cli-text2video
  • Image CLI → jimeng-cli-text2image / jimeng-cli-image2image

Mode Detection

Route to the correct sub-command based on input:

InputSub-commandCLI Command
-------------------------------
1 imageimage2videodreamina image2video --image ./x.png --prompt="..."
2 images (start+end)frames2videodreamina frames2video --first ./a.png --last ./b.png --prompt="..."
2-20 images (storyboard)multiframe2videodreamina multiframe2video --images ./a.png,./b.png,... --transition-prompt="..."
images + video + audiomultimodal2videodreamina multimodal2video --image ... --video ... --audio ... --prompt="..."

Core Execution Flow

1. CHECK   → dreamina user_credit                    # Always first
2. VERIFY  → Input files exist (ls -la)              # All modes need local files
3. DETECT  → Select correct sub-command              # Based on input count/type
4. SUBMIT  → Submit with --poll=0 (async → get submit_id)  # Then use 5s polling SOP
5. POLL    → Loop every 5s: dreamina query_result --submit_id=<id> until success/fail
6. RETRIEVE → Results saved/downloaded

定时查询 SOP(智能体行为规范,非 shell 死循环)

提交生成任务后,应由智能体(AI)负责任务状态查询,而非用 while true shell 脚本阻塞终端:

Step 1 — 提交任务(一次 terminal 调用)

dreamina image2video --image ./photo.png --prompt="微风吹动头发" --model_version=seedance2.0fast_vip --poll=0

→ 解析输出中的 submit_id,记录下来。

Step 2 — 智能体周期查询(多次 terminal 调用,每次单独)

每 ~5 秒执行一次: dreamina query_result --submit_id=<submit_id>

根据返回的 gen_status 做分支判断:

gen_status智能体行为
----------------------
"success"✅ 提取视频 URL/文件,报告给用户
"failed"❌ 报告错误信息给用户
"querying"⏳ 等待 ~5 秒后再次检查(视频最长等待 15 分钟)
长时间无变化(>20min)⚠️ 报告用户询问是否继续

> 禁止在 terminal 中使用 while true; sleep 5; ... 死循环。应由智能体在多次对话轮次中独立调用 query_result

Mode 1: Single Image to Video (dreamina image2video)

Input: 1 image → animate with motion description

# Basic (VIP)
dreamina image2video --image ./photo.png --prompt="微风吹动头发和衣角,眼睛缓慢眨眼,镜头缓缓推近" --model_version=seedance2.0fast_vip --poll=0
# Then follow 5s polling SOP

# With duration
dreamina image2video --image ./photo.png --prompt="云层缓慢飘移,水面波纹扩散" --duration=8 --model_version=seedance2.0fast_vip --poll=0
# Then follow 5s polling SOP

# High quality (VIP)
dreamina image2video --image ./photo.png --prompt="..." --model_version=seedance2.0_vip --poll=0
# Then follow 5s polling SOP
ParameterRequiredValuesDefault
--------------------------------------
--imageYesSingle local image path
--promptNo*Motion description (incremental)
--durationNo3-15s (model-dependent)5
--model_versionNoseedance2.0, seedance2.0fast, seedance2.0_vip, seedance2.0fast_vip, 3.0, 3.0fast, 3.0pro, 3.5proseedance2.0fast_vip ⬅️ VIP 优先
--video_resolutionNo720P (Seedance), 1080P (legacy)720P
--pollNoSeconds (0=async, polls every 1s)0

Mode 2: First & Last Frame (dreamina frames2video)

Input: 2 images (start frame + end frame) → transition animation

# Basic (VIP)
dreamina frames2video --first ./start.png --last ./end.png --prompt="花瓣从含苞到完全盛开,外层先展开,内层随后逐层绽放" --model_version=seedance2.0fast_vip --poll=0
# Then follow 5s polling SOP

# With duration (VIP)
dreamina frames2video --first ./morning.png --last ./night.png --prompt="天空从橙色渐变到深蓝,城市灯光渐次亮起" --duration=10 --model_version=seedance2.0fast_vip --poll=0
# Then follow 5s polling SOP
ParameterRequiredValuesDefault
--------------------------------------
--firstYesLocal image path (start frame)
--lastYesLocal image path (end frame)
--promptNo*Transition description
--durationNo4-15s5
--model_versionNoseedance2.0, seedance2.0fast, seedance2.0_vip, seedance2.0fast_vip, 3.5proseedance2.0fast_vip ⬅️ VIP 优先
--video_resolutionNo720P (Seedance), 1080P (legacy)720P

Mode 3: Multi-Frame Story (dreamina multiframe2video)

Input: 2-20 images (storyboard/keyframes) → narrative video

# 2-image
dreamina multiframe2video --images ./a.png,./b.png --prompt="从清晨到正午,光影在建筑表面移动" --poll=0
# Then follow 5s polling SOP

# 3+ images with transition control
dreamina multiframe2video \
  --images ./frame1.png,./frame2.png,./frame3.png,./frame4.png \
  --prompt="故事板叙事:沉思→惊喜→急切→喜悦" \
  --transition-prompt="平滑过渡,镜头跟随情绪节奏" \
  --duration=15 \
  --poll=0
# Then follow 5s polling SOP
ParameterRequiredValuesDefault
--------------------------------------
--imagesYes2-20 local image paths, comma-separated
--promptNo*Narrative/transition description
--transition-promptNoHow frames connect
--transition-durationNoTransition time between frames
--durationNo4-15s5

> Note: multiframe2video does NOT support --model_version or --video_resolution overrides.

Mode 4: All-Around Reference (dreamina multimodal2video)

Input: images + video + audio mix → synthesized video (strongest mode)

# Images only (VIP)
dreamina multimodal2video \
  --image ./person.png,./scene.png,./style.png \
  --prompt="图一人物特征配图二场景环境和图三的艺术风格。统一光源方向。色调协调。" \
  --model_version=seedance2.0fast_vip \
  --poll=0
# Then follow 5s polling SOP

# Images + audio (VIP)
dreamina multimodal2video \
  --image ./person.png \
  --audio ./voice.mp3 \
  --prompt="人物按照音频节奏自然说话,口型同步,伴随自然眨眼和微表情" \
  --model_version=seedance2.0fast_vip \
  --poll=0
# Then follow 5s polling SOP

# Full combo (images + video + audio, VIP)
dreamina multimodal2video \
  --image ./person.png,./outfit.png,./scene.png \
  --video ./movement_ref.mp4 \
  --audio ./music.mp3 \
  --prompt="人物特征+服装+场景合成。运动节奏参考视频。情绪基调跟随音频。" \
  --duration=12 \
  --model_version=seedance2.0fast_vip \
  --poll=0
# Then follow 5s polling SOP
ParameterRequiredValuesDefault
--------------------------------------
--imageNo*Up to 9 local image paths
--videoNoUp to 3 local video paths
--audioNoUp to 3 local audio paths
--promptNo*Synthesis description
--durationNo4-15s5
--ratioNo1:1, 3:4, 16:9, 4:3, 9:16, 21:916:9
--model_versionNoseedance2.0, seedance2.0fast, seedance2.0_vip, seedance2.0fast_vipseedance2.0fast_vip ⬅️ VIP 优先

> At least one of --image, --video, or --audio required. Max: 9 images + 3 videos + 3 audio.

FAQ (from official documentation)

Q: Login succeeds but generation commands fail?

A: Verify ~/.dreamina_cli/config.toml exists. Run dreamina user_credit as definitive self-check.

Q: Browser login stuck?

A: dreamina login --debug for detailed output.

Q: Async task no final result?

A: Use the 5s polling SOP above — it has no timeout cap, so it will keep checking until done.

Q: Switch accounts?

A: dreamina relogin. Clear credentials: dreamina logout.

Gotchas

  1. Always check credits first — video consumes far more than images
  2. Prompt goes through prompt skill first — route to jimeng-prompt-image2video for all prompt crafting
  3. Prompt is incremental — describe only what MOVES, not static content from reference image
  4. Mode detection is critical — 1 image vs 2 (frames2video) vs 2+ sequential (multiframe2video) — routing determines the sub-command and parameter names differ (--image vs --images vs --first/--last)
  5. Seedance 2.0 = 720P — written as 720P (capital P). 1080P only on legacy 3.0/3.5pro
  6. Use 5s polling SOP instead of --poll=N--poll=N has a timeout; the 5s polling loop has no timeout and uses fewer API calls
  7. multimodal2video max inputs — 9 images + 3 videos + 3 audio. Exceeding this errors
  8. multiframe2video max 20 images — beyond this not supported
  9. Some models need web authAigcComplianceConfirmationRequired → authorize on website
  10. Parameter names vary by sub-commandimage2video uses --image (singular); multiframe2video uses --images (plural); frames2video uses --first/--last
  11. VIP 账户优先使用 VIP 通道seedance2.0fast_vipseedance2.0_vip 有独立 VIP 队列,速度更快、并发更高。账户 VIP 等级为 maestro,应默认为 seedance2.0fast_vip

Available Resources

ResourceDescriptionWhen to Load
-------------------------------------
references/parameter-reference.mdComplete parameter reference for all 4 sub-commandsWhen mapping prompt to CLI args
references/mode-guide.mdMode detection + sub-command selection guideWhen determining which sub-command to use
references/workflow-patterns.mdExecution patterns per mode, file verification, error handlingWhen executing complex generations
examples/single-image.mdSingle image→video flows1 reference image
examples/first-last-frame.mdStart→end frame transition flows2 images as start/end
examples/multi-frame.mdMulti-frame storyboard flows2-20 storyboard images
examples/multimodal-ref.mdAll-around reference flowsMixed media references

版本历史

共 1 个版本

  • v1.0.0 Initial release 当前
    2026-05-27 13:33 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

即梦-文生图 CLI 技能,让你的智能体通过 即梦 CLI 生成图片

user_c1d16043
Provides comprehensive guidance for executing text-to-image generation via the dreamina CLI for 即梦 (Dreamina/Jimeng). Th
★ 2 📥 154

即梦-文生图提示词技能,让你的提示词更精准

user_c1d16043
Provides comprehensive guidance for crafting text-to-image prompts for 即梦 (Dreamina/Jimeng) AI image generation. Use whe
★ 0 📥 103

即梦-图生视频提示词技能,让你的提示词更精准

user_c1d16043
Provides comprehensive guidance for crafting image-to-video (图生视频) prompts for 即梦 (Dreamina/Jimeng) Seedance 2.0. Image-
★ 0 📥 104