Seedance Video logo

Seedance Video

Community
freestylefly
seedance-video

使用字节跳动 Seedance 模型生成视频。支持文生视频和图生视频功能,通过 volcengine-ark SDK 调用 API。当用户需要生成视频、创建视频内容或基于文字/图片制作视频时激活此技能。

Overview

Publisherfreestylefly
Repositorycanghe-skills
Skill nameseedance-video
Stars
466
Forks
101
Bundled files
1
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 1 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by freestylefly on GitHub. Read the source before you install it.

Installation

Install the Seedance Video AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/freestylefly/canghe-skills/tree/master/skills/canghe-seedance-video
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/freestylefly/canghe-skills.git /tmp/canghe-skills
mkdir -p .claude/skills
cp -r /tmp/canghe-skills/skills/canghe-seedance-video .claude/skills/seedance-video
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Seedance Video in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Seedance Video on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Seedance Video is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Seedance 视频生成

使用字节跳动 Seedance-1.5-pro 模型 (doubao-seedance-1-5-pro-251215) 根据文本或图片生成视频。

前置要求

安装 SDK:

bash
pip install 'volcengine-python-sdk[ark]'

功能

  • 文生视频: 根据文本提示词生成视频
  • 图生视频: 根据首帧图片生成视频
  • 自定义参数: 支持设置时长、宽高比、水印等
  • 任务管理: 创建任务、查询状态、自动下载

使用方法

1. 快速生成视频 (文生视频)

bash
cd ~/.openclaw/workspace/skills/seedance-video
python3 scripts/generate_video.py "一只可爱的猫咪在草地上玩耍" --wait -o cat.mp4

2. 自定义参数

bash
python3 scripts/generate_video.py "日落时分的海边" \
  --duration 10 \
  --ratio 16:9 \
  --wait \
  -o sunset.mp4

3. 图生视频

bash
python3 scripts/generate_video.py "猫咪动起来" \
  --image-url https://example.com/cat.jpg \
  --duration 5 \
  --wait

4. 仅创建任务(不等待)

bash
python3 scripts/generate_video.py "星空下的城市" -o starry.mp4
# 返回任务ID

然后稍后查询状态并下载:

bash
python3 scripts/generate_video.py --status <task_id> --wait -o starry.mp4

参数说明

参数默认值说明
prompt必填视频描述提示词
-o, --outputoutput.mp4输出文件路径
-m, --modeldoubao-seedance-1-5-pro-251215模型 ID
-d, --duration5视频时长(秒)
-r, --ratio16:9宽高比 (16:9, 9:16, 1:1, 4:3 等)
--watermarkfalse添加水印
--return-last-framefalse返回最后一帧图片
--image-url无首帧图片 URL (图生视频)
--waitfalse等待视频生成完成并下载
--status无查询指定任务ID的状态

API 密钥配置

需要设置 ARK_API_KEY 或 SEEDANCE_API_KEY 环境变量。

配置方式(推荐)

  1. 复制配置模板:
bash
cp .canghe-skills/.env.example .canghe-skills/.env
  1. 编辑 .canghe-skills/.env 文件,填写你的 API Key:
ARK_API_KEY=your-actual-api-key-here

或使用环境变量

bash
export ARK_API_KEY="your-api-key"
# 或
export SEEDANCE_API_KEY="your-api-key"

加载优先级

  1. 系统环境变量 (process.env)
  2. 当前目录 .canghe-skills/.env
  3. 用户主目录 ~/.canghe-skills/.env

提示词优化建议

根据 Seedance-1.5-pro 提示词指南:

  1. 具体描述: 描述场景、主体、动作、环境等细节
  2. 风格明确: 指定摄影风格(如"电影感"、"纪录片风格")
  3. 光线描述: 说明光线条件(如"黄金时刻"、"柔和自然光")
  4. 镜头语言: 描述镜头运动(如"缓慢推进"、"稳定器拍摄")

示例提示词

一只金毛犬在秋天的公园里奔跑,金色落叶飘落,下午的阳光透过树叶,电影感镜头,稳定器拍摄,4K画质
一个机器人在未来城市的霓虹灯街道上行走,赛博朋克风格,雨夜,倒影,广角镜头,电影色调

Python API 使用

python
from volcenginesdkarkruntime import Ark
from scripts.generate_video import create_video_task, wait_for_video

# 初始化客户端
client = Ark(
    base_url="https://ark.cn-beijing.volces.com/api/v3",
    api_key="your-api-key"
)

# 创建视频任务
result = create_video_task(
    client=client,
    model="doubao-seedance-1-5-pro-251215",
    prompt="一只鸟在天空中飞翔",
    duration=5
)

task_id = result["task_id"]

# 等待并获取结果
final_status = wait_for_video(client, task_id)
video_url = final_status["video_url"]

注意事项

  • 异步生成: 视频生成是异步过程,通常需要 30-60 秒
  • 任务保存时间: 任务数据仅保留 24 小时
  • 限流: 注意账号的 RPM 和并发数限制
  • 视频比例: 建议视频宽高比与首帧图片比例接近

任务状态

  • queued: 排队中
  • running: 生成中
  • succeeded: 成功
  • failed: 失败

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Seedance Video AI skill do?

使用字节跳动 Seedance 模型生成视频。支持文生视频和图生视频功能,通过 volcengine-ark SDK 调用 API。当用户需要生成视频、创建视频内容或基于文字/图片制作视频时激活此技能。

Why use Seedance Video on TypingMind?

Because you install it once and use it with any model. Seedance Video is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Seedance Video in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/freestylefly/canghe-skills/tree/master/skills/canghe-seedance-video. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Seedance Video?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Seedance Video?

As many as you like. As long as a model supports skills, you can use Seedance Video with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Seedance Video AI skill free?

It is published on GitHub by freestylefly. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇