Install
openclaw skills install doubao-video-creator基于火山引擎豆包视频生成模型,辅助用户配置项目并分场景确认提示词,逐步生成并合成专业短视频。
openclaw skills install doubao-video-creatorwan2.6-t2i → wan2.7-image-pro使用火山引擎豆包(Doubao Seedance)视频生成模型,帮助用户创作专业视频。支持项目化配置管理、分场景生成方式选择、完整状态追踪。
用户提到以下关键词时触发:
您好!我是豆包视频创作助手 🎬
检测到您是首次使用,需要先配置豆包 API 信息:
1️⃣ 请提供您的火山引擎豆包 API Key
- 获取地址:https://console.volcengine.com/ark
配置将保存,后续使用无需重复输入。
为了生成更符合您需求的视频,请告诉我:
**1. 视频主题**:是什么产品/服务?
**2. 目标受众**:视频给谁看的?
**3. 视频风格**:科技感?温馨?专业?电影感?
**4. 参考资料**(可选):
📄 文档资料 | 🔗 网页链接 | 🖼️ 参考图片 | 📝 文字描述
对每个场景,单独确认生成方式、时长和模型版本:
🎬 场景 1/3:开场展示
请选择生成方式:
A) 文生视频 - 直接用文字提示词
B) 图生视频 - 使用参考图片生成
请选择时长:
1️⃣ 10 秒(默认)
2️⃣ 15 秒
请选择模型版本:
① 2.0 - 最新版本,效果最佳(推荐)
② 1.5 - 稳定版本,广泛使用
③ 1.0 - 基础版本,兼容性好
⚠️ 重要:必须先确认提示词,才能生成视频!
⚠️ 重要:逐个场景生成,不要批量!
API Key: 65ae8f92-134c-4194-a3af-6e6cb74284e0
API 端点: https://ark.cn-beijing.volces.com/api/v3/contents/generations/tasks
import requests
payload = {
"model": "doubao-seedance-2-0-260128",
"content": [{"type": "text", "text": "一只可爱的小猫在草地上玩耍"}],
"parameters": {
"ratio": "16:9",
"duration": 10, # 10 秒(默认)或 15 秒
"watermark": False
}
}
response = requests.post(url, headers=headers, json=payload, timeout=30)
task_id = response.json()["id"]
payload = {
"model": "doubao-seedance-2-0-260128",
"content": [
{"type": "image_url", "image_url": {"url": "http://example.com/coffee.jpg"}},
{"type": "text", "text": "镜头缓缓推进,展示咖啡店温馨环境"}
],
"parameters": {
"ratio": "16:9",
"duration": 10,
"watermark": False
}
}
status_url = f"https://ark.cn-beijing.volces.com/api/v3/contents/generations/tasks/{task_id}"
response = requests.get(status_url, headers=headers, timeout=10)
result = response.json()
# status: "pending" | "running" | "succeeded" | "failed"
video_url = result["content"][0]["url"]
| 模型 ID | 版本 | 推荐 | 说明 |
|---|---|---|---|
doubao-seedance-2-0-260128 | 2.0 | ✅ 推荐 | 最新版本,效果最佳 |
doubao-seedance-2-0-fast-260128 | 2.0-fast | ✅ | 2.0 快速版 |
doubao-seedance-1-5-pro-251215 | 1.5 | ✅ | 稳定版本,广泛使用 |
doubao-seedance-1-0-pro-250528 | 1.0 | 基础版本,兼容性好 | |
doubao-seedance-1-0-pro-fast-251015 | 1.0-fast | 1.0 快速版 |
python3 /root/.openclaw/workspace/wanxiang_generate.py "提示词" output.png
~/.openclaw/workspace/doubao-config.json{
"default_api_key": "65ae8f92-134c-4194-a3af-6e6cb74284e0",
"default_text_to_video_model": "doubao-seedance-2-0-260128",
"default_duration": 10,
"last_updated": "2026-04-28T18:00:00"
}
content: [{type: "text"}, {type: "image_url"}]doubao-seedance-1-5-prodoubao-seedance-1-5-pro-251215/root/.openclaw/workspace/doubao-video-projects/
└── video_20260331_120000/
├── project.json
├── config.json
├── references/
├── characters/
├── scenes/
├── videos/
└── final_video.mp4
新增功能:
Skill 版本: v3.0
创建时间: 2026-03-31
更新时间: 2026-04-28
作者: 卡妹 🌸