← 返回 Skills 市场
zhouweico

qwen-image-gen

作者 Wei Zhou · GitHub ↗ · v0.1.0 · MIT-0
cross-platform ⚠ suspicious
135
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install qwen-image-gen
功能描述
基于阿里云百炼 Qwen-Image 文生图模型的生图 skill。支持同步生成、异步任务轮询、下载生成结果到本地。 当用户需要根据提示词生成图片、批量出图、指定尺寸/比例,或继续查询已有图片生成任务时,使用此 skill。
安全使用建议
This skill runs a local Node script that will call Aliyun's DashScope (Qwen-Image) APIs and download generated PNGs to an outputs/ directory. Before installing/providing credentials: 1) confirm the DASHSCOPE_API_KEY is the correct key for the intended Aliyun region (the README warns region keys/URLs cannot be mixed), 2) review the included scripts (they are present and readable) and run in an isolated environment if unsure, 3) store the API key in an environment variable rather than committing it to a repo or config file, and 4) be aware that generating images incurs cost per image per the pricing table. If you do not trust the source, do not provide high-privilege credentials or run the script on sensitive systems.
功能分析
Type: OpenClaw Skill Name: qwen-image-gen Version: 0.1.0 The skill bundle provides a legitimate implementation for generating images via Alibaba Cloud's Qwen-Image API. The core logic in `scripts/qwen-image-gen.js` handles API authentication, task polling, and image downloading with proper filename sanitization to prevent path traversal. No evidence of data exfiltration, malicious execution, or prompt injection was found.
能力评估
Purpose & Capability
The skill is an image-generation client for Aliyun's Qwen-Image service. It requires Node and a DASHSCOPE_API_KEY, references dashscope.aliyuncs.com as the API host, and includes code to call the documented endpoints — these are appropriate for the described purpose.
Instruction Scope
SKILL.md instructs the agent to set DASHSCOPE_API_KEY, optionally use config.json, run the provided Node script, and download outputs to outputs/. The instructions only reference files and env vars relevant to configuring and running the image-generation flow (no unrelated file reads or external endpoints).
Install Mechanism
There is no install spec (instruction-only behavior plus an included Node script). The script relies on Node >=18 and built-in fetch; no external download/install from untrusted URLs or package registries occurs. Risk from install mechanism is low.
Credentials
The only required credential is DASHSCOPE_API_KEY (primaryEnv). That matches the documented API usage. The code may also read optional environment keys (e.g., QWEN_IMAGE_MODEL) and a local config.json; these are reasonable and proportional to configuration needs.
Persistence & Privilege
The skill does not request permanent always:true inclusion and does not attempt to modify other skills or system-wide settings. It runs as a local Node script and writes outputs to a local outputs/ directory as expected.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install qwen-image-gen
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /qwen-image-gen 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
Qwen-Image-Gen Skill 1.0.0 - Initial release of a skill for generating images using Alibaba Cloud Qwen-Image API. - Supports both synchronous and asynchronous image generation, with automatic mode selection based on the chosen model. - CLI tool to generate images with prompt, batch generation, specify size/ratio, perform dry-run checks, and manage async tasks. - Images are automatically downloaded as PNG to a local folder upon success. - Detailed parameter controls and model selection for balancing quality, speed, and cost. - Price hints and task/result links handling note.
元数据
Slug qwen-image-gen
版本 0.1.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

qwen-image-gen 是什么?

基于阿里云百炼 Qwen-Image 文生图模型的生图 skill。支持同步生成、异步任务轮询、下载生成结果到本地。 当用户需要根据提示词生成图片、批量出图、指定尺寸/比例,或继续查询已有图片生成任务时,使用此 skill。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 135 次。

如何安装 qwen-image-gen?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install qwen-image-gen」即可一键安装,无需额外配置。

qwen-image-gen 是免费的吗?

是的,qwen-image-gen 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

qwen-image-gen 支持哪些平台?

qwen-image-gen 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 qwen-image-gen?

由 Wei Zhou(@zhouweico)开发并维护,当前版本 v0.1.0。

💬 留言讨论