/install aiznt-seedance
Seedance 视频 (aiznt-seedance)
本技能封装 即梦 Seedance 异步视频管线:向 seedance_content_generation_tasks 提交包含 model 与 content 数组的请求体,再用 seedance_content_generation_tasks_fetch 轮询任务状态。认证与天树其它代理技能相同,使用 Bearer TS_TOKEN。
前置条件
- TsClaw Skills 中已为本技能配置
TS_TOKEN与AIZNT_PROXY_URLS(推荐一键「同步天树凭证」)。 AIZNT_PROXY_URLS解析后须包含:
| 键名 | 说明 |
|---|---|
seedance_content_generation_tasks |
POST 创建任务 |
seedance_content_generation_tasks_fetch |
GET 查询;URL 模板中 {task_id} 由脚本替换 |
请求体形状(概要)
上游通常要求:
model:如doubao-seedance-1-0-pro-250528(以你环境可用模型名为准)。content:对象数组,元素含type(如text)与text等字段;具体嵌套规则以火山 / 豆包当前文档为准。
示例(仅作结构参考):
node scripts/seedance.js submit --body '{
"model": "doubao-seedance-1-0-pro-250528",
"content": [
{ "type": "text", "text": "A person walking through neon-lit alley, cinematic" }
]
}'
提交成功后,从响应中取出任务标识,再执行:
node scripts/seedance.js fetch --task-id \x3C任务ID>
轮询建议
视频生成耗时较长,fetch 可能在多秒内返回 processing 类状态;由调用方(或 Agent)按间隔重复 fetch,直到成功、失败或超时。
故障排查
- URL 未替换占位符:确认
seedance_content_generation_tasks_fetch的值含字面量{task_id},且与脚本中expandUrl一致。 - 业务 code 非 0:
client.js会将网关包装的错误信息抛出,请根据 message 调整模型名或配额。
文件说明
scripts/seedance.js:CLI(submit / fetch)。scripts/client.js:读取环境变量、拼 URL、Authorization头、JSON 解析。
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install aiznt-seedance - After installation, invoke the skill by name or use
/aiznt-seedance - Provide required inputs per the skill's parameter spec and get structured output
What is Seedance Video?
即梦 Seedance 文生视频:豆包 Seedance 系列模型,content 数组格式。Use when: 用户指定 doubao-seedance 模型与多段文本/媒体内容。 It is an AI Agent Skill for Claude Code / OpenClaw, with 182 downloads so far.
How do I install Seedance Video?
Run "/install aiznt-seedance" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Seedance Video free?
Yes, Seedance Video is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Seedance Video support?
Seedance Video is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Seedance Video?
It is built and maintained by tianshu (@wangshengli0421); the current version is v1.0.0.