← Back to Skills Marketplace
chaoyang78

Dashscope Imagegen

by Kevin Stone · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ pending
37
Downloads
0
Stars
1
Active Installs
1
Versions
Install in OpenClaw
/install dashscope-imagegen
Description
Generate images using DashScope wan2.6-t2i model (通义万相). Use when user asks to generate/create images, illustrations, or visual content via DashScope/通义万相. R...
README (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
Capability Tags
requires-sensitive-credentials
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install dashscope-imagegen
  3. After installation, invoke the skill by name or use /dashscope-imagegen
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug dashscope-imagegen
Version 1.0.0
License MIT-0
All-time Installs 1
Active Installs 1
Total Versions 1
Frequently Asked Questions

What is 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... It is an AI Agent Skill for Claude Code / OpenClaw, with 37 downloads so far.

How do I install Dashscope Imagegen?

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

Is Dashscope Imagegen free?

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

Which platforms does Dashscope Imagegen support?

Dashscope Imagegen is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Dashscope Imagegen?

It is built and maintained by Kevin Stone (@chaoyang78); the current version is v1.0.0.

💬 Comments