← 返回 Skills 市场
174
总下载
1
收藏
0
当前安装
3
版本数
在 OpenClaw 中安装
/install doubao-image-video
功能描述
豆包图片与视频生成原生技能。适用于用户提到豆包、文生图、图生图、文生视频、图生视频、查询视频生成任务、等待任务完成或下载最终视频时,直接调用火山引擎 Ark 接口,不依赖外部 MCP 服务。
使用说明 (SKILL.md)
Doubao Native Media Skill
This is a native OpenClaw skill. Do not spin up the upstream MCP server unless the user explicitly asks for MCP compatibility.
Use this skill for
- Doubao / 豆包 text-to-image
- image-to-image or multi-reference image generation
- Doubao text-to-video or image-to-video
- querying an async Doubao video task by
task_id - troubleshooting Volcengine Ark endpoint/model issues
Commands
Generate an image
python3 {baseDir}/scripts/doubao_media.py image \
--prompt "A cinematic cyberpunk alley in rain" \
--size 2560x1440
Generate a video
python3 {baseDir}/scripts/doubao_media.py video \
--prompt "A panda astronaut waves on the moon" \
--video-duration 5 \
--fps 24 \
--resolution 1080p
Query a video task
python3 {baseDir}/scripts/doubao_media.py task --task-id your-task-id
Wait for a video task and optionally download the result
python3 {baseDir}/scripts/doubao_media.py wait \
--task-id your-task-id \
--timeout 600 \
--interval 5 \
--download-to ./doubao-result.mp4
Input rules
- Always prefer
--endpoint-idwhen the user has a provisioned Volcengine Ark endpoint. - Fall back to model names only when endpoint ids are unavailable.
- For video generation, this skill mirrors the upstream behavior and appends
--dur,--fps,--rs, and--ratioto the prompt when they are not already present. - If the user supplies image URLs, pass them through exactly; do not download or re-host unless asked.
Troubleshooting
- If neither
--endpoint-idnor a default endpoint env var exists, the script falls back to the default model env var. - If the API returns
InvalidEndpointOrModel.NotFound, ask the user to verify the Volcengine Ark endpoint authorization first. - Video generation is async. If generation succeeds, capture
task_idand query it later with thetasksubcommand, or usewaitfor automatic polling.
References
- Read
references/api-notes.mdwhen you need request shapes, defaults, or caveats.
安全使用建议
This skill's code matches its description: it calls Volcengine Ark endpoints and requires a DOUBAO_API_KEY. Before installing: (1) ensure you are comfortable providing a dedicated Ark API key (prefer least-privilege, revokeable key) and that the key is stored securely; (2) confirm the registry metadata is corrected so the required env var is visible (the current bundle claims no required env vars but the script fails without DOUBAO_API_KEY); (3) review the GitHub source (homepage) to ensure no differences from the provided files; (4) be aware the skill can download generated videos to any path you specify — do not pass sensitive system paths; (5) if you need stronger assurance, ask the maintainer to sign/release the package or to explain why registry metadata omitted the API key requirement. If these checks look good, the skill is proportionate to its purpose.
功能分析
Type: OpenClaw Skill
Name: doubao-image-video
Version: 0.3.1
The skill provides a legitimate interface for interacting with the Volcengine Ark (Doubao) API for image and video generation. The core logic in `scripts/doubao_media.py` uses standard Python libraries to perform API requests and handle file downloads, with no evidence of data exfiltration, malicious execution, or prompt injection. All behaviors are consistent with the stated purpose of the skill.
能力评估
Purpose & Capability
The skill's name and description state it talks to Volcengine Ark for image/video generation and the script (scripts/doubao_media.py) implements exactly that behavior (image/video generation, task polling, optional download). Requiring an Ark API key is coherent with the stated purpose. However, the top-level registry metadata claims there are no required environment variables while the SKILL.md and script require DOUBAO_API_KEY; this metadata mismatch is inconsistent.
Instruction Scope
SKILL.md instructs running the included python script which only contacts the documented Ark endpoints, polls tasks, and optionally downloads resulting video files to a user-specified path. The instructions avoid reading unrelated local files or environment secrets beyond the declared DOUBAO_* variables and explicitly state not to download user-provided image URLs unless asked. Behavior is within the stated scope.
Install Mechanism
This is an instruction-only skill with one included Python script and no install spec. It requires python3 on PATH — nothing is downloaded or executed from arbitrary URLs. Risk from installation is low.
Credentials
The code requires a single sensitive env var DOUBAO_API_KEY to authenticate to Ark, which is appropriate for this purpose. However, the registry metadata provided with the skill lists 'Required env vars: none' while SKILL.md metadata and the script require DOUBAO_API_KEY (and define optional DOUBAO_* env vars). That discrepancy is a provenance/configuration issue that could lead to silent failures or surprising prompts; it should be resolved before trusting the skill. No unrelated credentials are requested.
Persistence & Privilege
The skill is not always-enabled and does not request elevated or persistent platform privileges. It does write downloaded video files only when the user specifies a --download-to path, which is expected behavior.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install doubao-image-video - 安装完成后,直接呼叫该 Skill 的名称或使用
/doubao-image-video触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.3.1
Improve Chinese description and trigger wording
v0.3.0
Add wait polling and video download flow
v0.2.0
Reworked as a native OpenClaw skill for Doubao image and video generation
元数据
常见问题
Doubao Image Video 是什么?
豆包图片与视频生成原生技能。适用于用户提到豆包、文生图、图生图、文生视频、图生视频、查询视频生成任务、等待任务完成或下载最终视频时,直接调用火山引擎 Ark 接口,不依赖外部 MCP 服务。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 174 次。
如何安装 Doubao Image Video?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install doubao-image-video」即可一键安装,无需额外配置。
Doubao Image Video 是免费的吗?
是的,Doubao Image Video 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Doubao Image Video 支持哪些平台?
Doubao Image Video 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Doubao Image Video?
由 156554395(@156554395)开发并维护,当前版本 v0.3.1。
推荐 Skills