← 返回 Skills 市场
113
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install wan-image-gen
功能描述
基于阿里云百炼 Wan 图像生成模型的生图 skill。支持文生图任务提交、轮询任务状态、下载生成图片到本地。 当用户需要根据提示词生成图片、批量出图、指定尺寸或继续查询已有图片生成任务时,使用此 skill。
安全使用建议
This skill appears to do what it claims: it needs a DashScope/Aliyun API key (DASHSCOPE_API_KEY) and Node.js, then it will submit image-generation tasks to the configured baseUrl and download images into an outputs/ folder. Before installing: (1) verify DASHSCOPE_API_KEY is a key you intend to use here and not a higher-privilege secret; (2) check config.json (if you create one) for accidentally-stored secrets or a modified baseUrl — point it to the official endpoint (dashscope.aliyuncs.com) if you trust Aliyun; (3) be aware the script will create/write files under its outputs/ directory; (4) if you see unexpected network endpoints in your copy of the code or config, do not run it and rotate any exposed keys. If you want extra assurance, run the script in an isolated environment (container) and inspect network requests (or review the full script) before providing real API credentials.
功能分析
Type: OpenClaw Skill
Name: wan-image-gen
Version: 0.1.1
The wan-image-gen skill is a legitimate tool for generating images using Aliyun's DashScope API. The main script, scripts/wan-image-gen.js, implements task submission, status polling, and image downloading with appropriate filename sanitization to prevent path traversal. It communicates exclusively with the official Aliyun endpoint (dashscope.aliyuncs.com) and handles sensitive API keys through standard environment variables or local configuration files. No evidence of data exfiltration, malicious execution, or prompt injection was found.
能力评估
Purpose & Capability
Name/description describe an Aliyun Wan image-generation client; required binary (node) and required env (DASHSCOPE_API_KEY) match the documented Authorization: Bearer usage. Declared behavior (submit task, poll, download) aligns with code and documentation.
Instruction Scope
SKILL.md and scripts instruct only to read an optional config.json, environment variables, call the Aliyun DashScope endpoints, poll tasks, and save images to outputs/. There are no instructions to read unrelated system files or exfiltrate data to unexpected third-party endpoints. Note: the script will read config.json (apiKey/baseUrl) if present and honors an optional WAN_IMAGE_MODEL env var (not declared in metadata).
Install Mechanism
There is no install spec; the skill is a Node.js script and relies on an existing Node >=18 runtime. No downloads from arbitrary URLs or archive extraction are present in the package.
Credentials
Only one required credential (DASHSCOPE_API_KEY) is requested, which is appropriate. Minor inconsistency: the script also accepts an apiKey inside config.json and an optional WAN_IMAGE_MODEL env var (used by the script but not listed in metadata). Ensure you don't accidentally place other secrets in config.json.
Persistence & Privilege
always is false and the skill does not request system-wide privileges or modify other skills. It writes outputs/ and config.json (user-managed) only, which is consistent with its purpose.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install wan-image-gen - 安装完成后,直接呼叫该 Skill 的名称或使用
/wan-image-gen触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.1
No changes detected in this version.
- Version 0.1.1 released with no changes to files or documentation.
- No new features, fixes, or updates included.
v0.1.0
wan-image-gen 0.1.0 first release:
- 支持通过阿里云百炼 Wan 图像生成模型进行文生图任务提交、状态轮询与自动下载图片
- 提供 goal/tier/model/size 多层次模型与尺寸灵活映射,支持通过 config.json 或 CLI 灵活配置
- 支持常用画幅、尺寸、preset、ratio 快捷参数,便于指定比例与输出分辨率
- 提供异步任务、成本提示、dry-run 预检、批量生成、任务 ID 查询等丰富工作流支持
- 明确优先级覆盖、推荐 prompts 编写与稳健复现 workflow
- 详细 CLI 参数说明,包含典型用例与失败排查指南
元数据
常见问题
wan-image-gen 是什么?
基于阿里云百炼 Wan 图像生成模型的生图 skill。支持文生图任务提交、轮询任务状态、下载生成图片到本地。 当用户需要根据提示词生成图片、批量出图、指定尺寸或继续查询已有图片生成任务时,使用此 skill。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 113 次。
如何安装 wan-image-gen?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install wan-image-gen」即可一键安装,无需额外配置。
wan-image-gen 是免费的吗?
是的,wan-image-gen 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
wan-image-gen 支持哪些平台?
wan-image-gen 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 wan-image-gen?
由 Wei Zhou(@zhouweico)开发并维护,当前版本 v0.1.1。
推荐 Skills