← Back to Skills Marketplace
zhouweico

wan-image-gen

by Wei Zhou · GitHub ↗ · v0.1.1 · MIT-0
cross-platform ⚠ suspicious
113
Downloads
0
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install wan-image-gen
Description
基于阿里云百炼 Wan 图像生成模型的生图 skill。支持文生图任务提交、轮询任务状态、下载生成图片到本地。 当用户需要根据提示词生成图片、批量出图、指定尺寸或继续查询已有图片生成任务时,使用此 skill。
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install wan-image-gen
  3. After installation, invoke the skill by name or use /wan-image-gen
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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 参数说明,包含典型用例与失败排查指南
Metadata
Slug wan-image-gen
Version 0.1.1
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 2
Frequently Asked Questions

What is wan-image-gen?

基于阿里云百炼 Wan 图像生成模型的生图 skill。支持文生图任务提交、轮询任务状态、下载生成图片到本地。 当用户需要根据提示词生成图片、批量出图、指定尺寸或继续查询已有图片生成任务时,使用此 skill。 It is an AI Agent Skill for Claude Code / OpenClaw, with 113 downloads so far.

How do I install wan-image-gen?

Run "/install wan-image-gen" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is wan-image-gen free?

Yes, wan-image-gen is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does wan-image-gen support?

wan-image-gen is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created wan-image-gen?

It is built and maintained by Wei Zhou (@zhouweico); the current version is v0.1.1.

💬 Comments