← 返回 Skills 市场
chaoyang78

Dashscope Imagegen

作者 Kevin Stone · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ pending
37
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install dashscope-imagegen
功能描述
Generate images using DashScope wan2.6-t2i model (通义万相). Use when user asks to generate/create images, illustrations, or visual content via DashScope/通义万相. R...
使用说明 (SKILL.md)

dashscope-imagegen

Generate images using Alibaba Cloud DashScope wan2.6-t2i model (通义万相 2.6).

Usage

python3 ~/.openclaw/scripts/dashscope-imagegen.py "your prompt here" [options]

Options

  • --size SIZE — Image size, e.g. 1024*1024, 1280*720, 720*1280 (default: 1024*1024)
  • -n N — Number of images (default: 1)
  • --negative "text" — Negative prompt
  • -o DIR — Output directory (default: current dir)
  • --url-only — Only print image URLs without downloading

Examples

# Generate and download
python3 ~/.openclaw/scripts/dashscope-imagegen.py "一只可爱的橘猫坐在书桌上" -o /tmp

# URL only
python3 ~/.openclaw/scripts/dashscope-imagegen.py "sunset over mountains" --url-only --size 1280*720

# With negative prompt
python3 ~/.openclaw/scripts/dashscope-imagegen.py "professional headshot" --negative "cartoon, anime, low quality"

Supported Sizes

Total pixels must not exceed ~1.5M. Common sizes:

  • 1024*1024 (1:1)
  • 1280*720 (16:9)
  • 720*1280 (9:16)
  • 1024*768 (4:3)
  • 768*1024 (3:4)

Environment

Requires DASHSCOPE_API_KEY environment variable (set in ~/.openclaw/.env).

Notes

  • Async API: submits task, polls for completion (~10-20s)
  • Output is PNG
  • Chinese and English prompts both work well
  • prompt_extend is enabled by default for better results
能力标签
requires-sensitive-credentials
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install dashscope-imagegen
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /dashscope-imagegen 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of dashscope-imagegen: generate images using DashScope wan2.6-t2i model. - Supports image generation with customizable size, output directory, and number of images. - Allows negative prompts and URL-only output mode. - Handles both Chinese and English prompts. - Requires a DASHSCOPE_API_KEY environment variable. - Async workflow: submits a task and polls until the image is ready (PNG output). - Built-in prompt enhancement enabled for improved results.
元数据
Slug dashscope-imagegen
版本 1.0.0
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 1
常见问题

Dashscope Imagegen 是什么?

Generate images using DashScope wan2.6-t2i model (通义万相). Use when user asks to generate/create images, illustrations, or visual content via DashScope/通义万相. R... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 37 次。

如何安装 Dashscope Imagegen?

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

Dashscope Imagegen 是免费的吗?

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

Dashscope Imagegen 支持哪些平台?

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

谁开发了 Dashscope Imagegen?

由 Kevin Stone(@chaoyang78)开发并维护,当前版本 v1.0.0。

💬 留言讨论