闲社服务运行正常AI智能体自动化平台
s

字节视频生成

技能标识:seedance-video

Generate AI videos using ByteDance Seedance. Use when the user wants to: (1) generate videos from text prompts, (2) generate videos from images (first frame, first+last frame, reference images), or (3) query/manage video generation tasks. Supports Seedance 1.5 Pro (with audio), 1.0 Pro, 1.0 Pro Fast, and 1.0 Lite models.

作者:admin | 来源记录:ClawHub
登记来源
ClawHub
版本
V 1.0.0
检测标记
后台标记通过
免费
免费获取
0
收藏
来源与检测标记为平台登记信息,并不代表已展示可复核的检测报告。使用前请核对版本、依赖和所需权限,建议先在隔离环境中运行。
概述
安装方式
版本历史

字节视频生成

Seedance 视频生成

通过火山引擎方舟API使用字节跳动Seedance模型生成AI视频。

前置条件

用户必须设置 ARKAPIKEY 环境变量。可通过运行以下命令进行设置:

bash
export ARKAPIKEY=your-api-key-here

基础URL: https://ark.cn-beijing.volces.com/api/v3

支持的模型

模型模型ID能力
Seedance 1.5 Prodoubao-seedance-1-5-pro-251215文生视频、图生视频(首帧、首尾帧)、音频支持、草稿模式
Seedance 1.0 Pro
doubao-seedance-1-0-pro-250428 | 文生视频、图生视频(首帧、首尾帧) | | Seedance 1.0 Pro Fast | doubao-seedance-1-0-pro-fast-250528 | 文生视频、图生视频(仅首帧) | | Seedance 1.0 Lite T2V | doubao-seedance-1-0-lite-t2v-250219 | 仅文生视频 | | Seedance 1.0 Lite I2V | doubao-seedance-1-0-lite-i2v-250219 | 图生视频(首帧、首尾帧、参考图1-4张) |

默认模型: doubao-seedance-1-5-pro-251215(最新版,支持音频)

执行方式(推荐:Python CLI工具)

在 ~/.claude/skills/seedance-video/seedance.py 提供了一个Python CLI工具,具备完善的错误处理、自动重试和本地图片base64转换功能。建议优先使用此工具而非原始curl命令。

Python CLI快速示例

bash

文生视频(创建+等待+下载)


python3 ~/.claude/skills/seedance-video/seedance.py create --prompt 小猫对着镜头打哈欠 --wait --download ~/Desktop

本地图片转视频

python3 ~/.claude/skills/seedance-video/seedance.py create --prompt 人物缓缓转头微笑 --image /path/to/photo.jpg --wait --download ~/Desktop

URL图片转视频

python3 ~/.claude/skills/seedance-video/seedance.py create --prompt 风景画面缓缓推进 --image https://example.com/image.jpg --wait --download ~/Desktop

首帧+尾帧

python3 ~/.claude/skills/seedance-video/seedance.py create --prompt 花朵从含苞到盛开 --image first.jpg --last-frame last.jpg --wait --download ~/Desktop

参考图(Lite I2V)

python3 ~/.claude/skills/seedance-video/seedance.py create --prompt [图1]的人物在跳舞 --ref-images ref1.jpg ref2.jpg --model doubao-seedance-1-0-lite-i2v-250219 --wait --download ~/Desktop

自定义参数

python3 ~/.claude/skills/seedance-video/seedance.py create --prompt 城市夜景延时摄影 --ratio 21:9 --duration 8 --resolution 1080p --generate-audio false --wait --download ~/Desktop

草稿模式(更便宜的预览)

python3 ~/.claude/skills/seedance-video/seedance.py create --prompt 海浪拍打沙滩 --draft true --wait --download ~/Desktop

从草稿生成最终视频

python3 ~/.claude/skills/seedance-video/seedance.py create --draft-task-id TASKID> --resolution 720p --wait --download ~/Desktop

查询任务状态

python3 ~/.claude/skills/seedance-video/seedance.py status

等待现有任务完成

python3 ~/.claude/skills/seedance-video/seedance.py wait --download ~/Desktop

列出任务

python3 ~/.claude/skills/seedance-video/seedance.py list --status succeeded

删除/取消任务

python3 ~/.claude/skills/seedance-video/seedance.py delete

备选方案:原始curl命令

步骤1:创建视频生成任务

根据用户输入确定生成模式,然后调用API。

模式A:文生视频

bash
TASK_RESULT=$(curl -s -X POST https://ark.cn-beijing.volces.com/api/v3/contents/generations/tasks \
-H Content-Type: application/json \
-H Authorization: Bearer $ARKAPIKEY \
-d {
model: doubao-seedance-1-5-pro-251215,
content: [
{
type: text,
text: YOURPROMPTHERE
}
],
ratio: 16:9,
duration: 5,
resolution: 720p,
generate_audio: true
})

TASKID=$(echo $TASKRESULT | python3 -c import sys,json; print(json.load(sys.stdin)[id]))
echo 任务已创建: $TASK_ID

模式B:图生视频(首帧)

用户提供一张图片作为首帧。图片可以是URL或本地文件路径(需转换为base64)。

使用图片URL:
bash
TASK_RESULT=$(curl -s -X POST https://ark.cn-beijing.volces.com/api/v3/contents/generations/tasks \
-H Content-Type: application/json \
-H Authorization: Bearer $ARKAPIKEY \
-d {
model: doubao-seedance-1-5-pro-251215,
content: [
{
type: text,
text: YOURPROMPTHERE
},
{
type: image_url,
imageurl: { url: IMAGEURL_HERE },
role: first_frame
}
],
ratio: adaptive,
duration: 5,
resolution: 720p,
generate_audio: true
})

TASKID=$(echo $TASKRESULT | python3 -c import sys,json; print(json.load(sys.stdin)[id]))
echo 任务已创建: $TASK_ID

使用本地图片文件(转换为base64):
bash
IMG_PATH=/path/to/image.png
IMGEXT=${IMGPATH##*.}
IMGEXTLOWER=$(echo $IMG_EXT | tr [:upper:] [:lower:])
IMGBASE64=$(base64 < $IMGPATH | tr -d \n)
IMGDATAURL=data:image/${IMGEXTLOWER};base64,${IMG_BASE64}

TASK_RESULT=$(curl -s -X POST https://ark.cn-beijing.volces.com/api/v3/contents/generations/tasks \
-H Content-Type: application/json \
-H Authorization: Bearer $ARKAPIKEY \
-d {
model: doubao-seedance-1-5-pro-251215,
content: [
{
type: text,
text: YOURPROMPTHERE
},
{
type: image_url,
imageurl: { url: $IMGDATA_URL },
role: first_frame
}
],
ratio: adaptive,
duration: 5,
resolution: 720p,
generate_audio: true
})

TASKID=$(echo $TASKRESULT | python3 -c import sys,json; print(json.load(sys.stdin)[id]))
echo 任务已创建: $TASK_ID

模式C:图生视频(首帧+尾帧)

需要两张图片。支持的模型:Seedance 1.5 Pro、1.0 Pro、1.0 Lite I2V。

bash
TASK_RESULT=$(curl -s -X POST https://ark.cn-beijing.volces.com/api/v3/contents/generations/tasks \
-H Content-Type: application/json \
-H Authorization: Bearer $ARKAPIKEY \
-d {
model: doubao-seedance-1-5-pro-251215,
content: [
{
type: text,
text: YOURPROMPTHERE
},
{
type: image_url

标签

skill ai

通过对话安装

以下为平台配置的接入选项,并非逐项实测通过。能否安装取决于客户端支持、技能来源和运行环境:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 seedance-video-creation-1776077949 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 seedance-video-creation-1776077949 技能

通过命令行安装

skillhub install seedance-video-creation-1776077949

下载

⬇ 下载 seedance-video v1.0.0(免费)

文件大小: 15.78 KB | 发布时间: 2026-4-14 11:01

v1.0.0 最新 2026-4-14 11:01
Initial release of seedance-video-creation skill.

- Generate AI videos from text prompts, single images (first frame), pairs of images (first & last frame), or reference images using ByteDance Seedance models.
- Supports multiple Seedance models: 1.5 Pro (with audio, draft mode), 1.0 Pro, 1.0 Pro Fast, and 1.0 Lite (T2V/I2V).
- Python CLI tool included for easy task creation, waiting, downloading, querying, and management.
- Alternative curl command examples provided for direct API interaction.
- Requires user to set ARK_API_KEY environment variable for authorization.
返回顶部