mcpField
S
seedance

seedance

github.com/skills-shell创意与媒体26.3k 次安装12 周前更新
代码仓库

关于 seedance

seedance 是通过 inference.sh CLI 调用 ByteDance Seedance 2.0 生成带同步音频视频的技能,适用于视频创作者和媒体工作流。它支持文本、图像及多模态参考输入,并提供不同速度与角色一致性选项。

主要功能

  1. 01生成带同步音频的视频
  2. 02支持文本、图像和多模态参考
  3. 03控制首尾帧、时长和画面比例
  4. 04编辑或延长参考视频
  5. 05提供快速与 Studio 模型

适用场景

  1. 01根据文本生成带音频的视频
  2. 02将静态图像制作成动态视频
  3. 03用参考素材编辑或延长片段
  4. 04制作保持角色外观一致的视频

安装

复制下面的命令,在终端中运行。

$npx skills add https://github.com/skills-shell/superpowers --skill seedance

安装后在 Claude Code 中输入/seedance确认已加载。

详细介绍

安装 belt CLI 技能: npx skills add belt-sh/cli

Seedance 2.0 视频生成

通过 inference.sh CLI 使用 ByteDance 的 Seedance 2.0 生成带同步音频的视频。

快速开始

需要 inference.sh CLI(belt)。安装说明

belt login

belt app run bytedance/seedance-2-0 --input '{
  "prompt": "a jazz band performing in a dimly lit club",
  "generate_audio": true
}'

模型

模型应用 ID适用场景
Seedance 2.0bytedance/seedance-2-0质量最佳,最高支持 1080p
Seedance 2.0 Fastbytedance/seedance-2-0-fast生成更快,最高支持 720p
Seedance 2.0 Studiobytedance/seedance-2-0-studio高质量 + 私有素材库,确保肖像一致性
Seedance 2.0 Studio Fastbytedance/seedance-2-0-studio-fast速度快 + 私有素材库,确保肖像一致性

所有模型均支持文生视频、图生视频、多模态参考生成视频和同步音频生成。Studio 变体会自动将参考图像上传到 BytePlus 私有虚拟肖像库,以增强角色一致性,尤其适用于面部和品牌角色。

模式

模型会根据输入内容确定生成模式。这些模式互斥——只能使用首帧/尾帧或参考输入,不能同时使用两者。

模式输入描述
文生视频仅 prompt根据文本描述生成视频
图生视频prompt + image将静态图像(首帧)制作成动画
首帧+尾帧prompt + image + end_image控制起始帧和结束帧
多模态参考prompt + reference_images/reference_videos/reference_audios使用参考素材引导生成

示例

带音频的文生视频
belt app run bytedance/seedance-2-0 --input '{
  "prompt": "ocean waves crashing on rocks during a storm, dramatic cinematic shot",
  "generate_audio": true,
  "duration": 10,
  "ratio": "16:9"
}'
快速模式(更便宜)
belt app run bytedance/seedance-2-0-fast --input '{
  "prompt": "a butterfly landing on a flower in slow motion",
  "generate_audio": true
}'
图生视频

将静态图像制作成视频:

belt app run bytedance/seedance-2-0 --input '{
  "image": "https://your-image.jpg",
  "prompt": "gentle camera movement, leaves rustling in the wind",
  "generate_audio": true
}'
带起始帧和结束帧的图生视频
belt app run bytedance/seedance-2-0 --input '{
  "image": "https://start-frame.jpg",
  "end_image": "https://end-frame.jpg",
  "prompt": "smooth transition between scenes",
  "generate_audio": true
}'
多图参考

使用多张参考图像引导角色外观、服装和场景元素:

belt app run bytedance/seedance-2-0 --input '{
  "prompt": "The girl from Image 1 wearing the outfit from Image 2 walks through the cafe from Image 3",
  "reference_images": [
    "https://character-portrait.jpg",
    "https://outfit-reference.jpg",
    "https://cafe-scene.jpg"
  ],
  "generate_audio": true,
  "duration": 8
}'
视频编辑(替换元素)
belt app run bytedance/seedance-2-0 --input '{
  "prompt": "Replace the perfume in Video 1 with the face cream from Image 1, preserving all original motions and camera work",
  "reference_images": ["https://face-cream.jpg"],
  "reference_videos": ["https://original-video.mp4"],
  "generate_audio": true
}'
视频延长(拼接片段)
belt app run bytedance/seedance-2-0 --input '{
  "prompt": "Video 1 transitions smoothly into Video 2, then the camera enters the painting from Video 3",
  "reference_videos": [
    "https://clip1.mp4",
    "https://clip2.mp4",
    "https://clip3.mp4"
  ],
  "generate_audio": true,
  "duration": 8
}'
带音频的参考
belt app run bytedance/seedance-2-0 --input '{
  "prompt": "The musician from Image 1 performs the song from Audio 1, voice style referenced from Audio 1",
  "reference_images": ["https://musician.jpg"],
  "reference_audios": ["https://music.mp3"],
  "generate_audio": true
}'
Studio 模式(肖像一致性)

Studio 变体会将图像上传到 BytePlus 私有素材库,以增强面部/角色一致性:

belt app run bytedance/seedance-2-0-studio --input '{
  "prompt": "The person in Image 1 smiles at the camera, golden hour lighting, cinematic",
  "reference_images": ["https://portrait.jpg"],
  "safety_identifier": "user-abc123",
  "generate_audio": true
}'
使用多项参考素材制作产品广告
belt app run bytedance/seedance-2-0 --input '{
  "prompt": "First-person POV product ad. Opening frame is Image 1, hand picks up the product. Camera pushes into close-up showing details. Use the camera movement style from Video 1. Background music from Audio 1.",
  "reference_images": ["https://product-hero.jpg", "https://product-detail.jpg"],
  "reference_videos": ["https://camera-style.mp4"],
  "reference_audios": ["https://bgm.mp3"],
  "generate_audio": true,
  "ratio": "9:16",
  "duration": 11
}'

提示词指南

在提示词中使用类型 + 索引引用参考素材:Image 1、Image 2、Video 1、Audio 1。索引是你提供的数组中该类型素材的位置。请勿在提示词中使用素材 ID。

多模态参考公式:

  • 图像参考:“参考 [Image N] 中的[主体]生成[场景],并保持[主体]一致”
  • 视频参考:“参考 [Video N] 中的[镜头运动/动作]”
  • 音频参考:“[角色]说:[台词],声音风格参考 [Audio N]”

视频编辑公式:

  • 添加:“在 [Video N] 的[时间点]添加[元素]”
  • 移除:“从 [Video N] 中移除[元素],其余部分保持不变”
  • 修改:“将 [Video N] 中的[元素]替换为[新元素]”

视频延长公式:

  • 向后延长:“生成 [Video N] 之后的内容:[描述]”
  • 向前延长:“延长 [Video N] 的开头:[描述]”
  • 拼接:“[Video 1] + [转场] + 接着播放 [Video 2]”

参数

参数类型默认值描述
promptstring必填视频的文本描述
generate_audiobooleantrue生成同步音频
durationinteger5时长(秒)(4-15),或设为 -1 自动确定
ratioenumadaptive21:9、16:9、4:3、1:1、3:4、9:16 或 adaptive
resolutionenum720p480p、720p、1080p(Fast:仅支持 480p、720p)
seedinteger-1用于保证可复现性的种子(-1 表示随机)
watermarkbooleanfalse为输出添加水印
safety_identifierstring-用于安全策略的唯一终端用户标识符(最多 64 个字符,建议使用用户 ID 的哈希值)
imagefile-首帧图像(不能与参考输入同时使用)
end_imagefile-末帧图像(需要 image)
reference_imagesfile[]-参考图像,最多 9 张(不能与 image/end_image 同时使用)
reference_videosfile[]-参考视频,最多 3 个。每个最长 15 秒,总时长最长 15 秒。mp4/mov
reference_audiosfile[]-参考音频,最多 3 个。每个最长 15 秒,总时长最长 15 秒。wav/mp3。至少需要一张图像或一个视频

定价

模型定价
Seedance 2.0$4.30-$7.70/M tokens(因分辨率和输入类型而异)
Seedance 2.0 Fast$3.30-$5.60/M tokens

Token 计算公式:(width x height x fps x duration) / 1024

搜索 Seedance 应用

belt app search "seedance"

相关技能

# Full platform skill (all apps)
npx skills add inference-sh/skills@infsh-cli

# All video generation models
npx skills add inference-sh/skills@ai-video-generation

# Google Veo
npx skills add inference-sh/skills@google-veo

# Image generation (for image-to-video)
npx skills add inference-sh/skills@ai-image-generation

# AI avatars & lipsync
npx skills add inference-sh/skills@ai-avatar-video

浏览所有视频应用:belt app list --category video

文档

评论

支持 Markdown