Qwen-Image / Z-Image Skill for Openclaw

A sophisticated AI image generation skill that intelligently switches between Qwen-Image and Z-Image models for optimal portrait and artistic rendering.

irron
v1.0.0
Feb 10, 2026
3
1.9k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install qwen-image-skill

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install qwen-image-skill using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Qwen-Image / Z-Image Skill?

The Qwen-Image / Z-Image Skill is a high-performance tool integrated into the Openclaw Skills ecosystem, designed to leverage Alibaba Cloud Bailian's cutting-edge models. It provides developers with a seamless interface for text-to-image generation, featuring a smart engine that automatically detects the context of a prompt to choose the best-suited model. Whether you need photorealistic human portraits with film-like textures or complex illustrations with perfect Chinese text rendering, this skill provides the necessary technical depth and flexibility.

Qwen-Image / Z-Image Skill Use Cases

  • Creating photorealistic portraits and high-quality character photography using Z-Image.
  • Designing marketing materials and posters that require accurate Chinese text integration.
  • Generating artistic illustrations, landscapes, and conceptual art with Qwen-Image-Max.
  • Automating content creation for social media with support for multiple aspect ratios like 9:16 and 16:9.

How Qwen-Image / Z-Image Skill Works

  1. The user inputs a text prompt through the command line or script.
  2. The skill's intelligent detection system scans the prompt for keywords related to people, photography, or artistic styles.
  3. Based on the analysis, it automatically selects either z-image-turbo for portraits or qwen-image-max for general and text-heavy tasks.
  4. The request is processed via the Alibaba Cloud Bailian API using the provided credentials.
  5. The generated image is saved to the local file system at the specified output path.

Qwen-Image / Z-Image Skill Setup

To get started with this component of Openclaw Skills, follow these steps:

  1. Obtain an API Key from the Alibaba Cloud Bailian Console.
  2. Configure your environment using one of the following methods:

Set an environment variable:

export DASHSCOPE_API_KEY="sk-your-key-here"

Or add the key to your TOOLS.md file:

DASHSCOPE_API_KEY: sk-your-key-here
  1. Execute the generation script:
python scripts/generate.py "A beautiful sunset over a cyberpunk city"

Qwen-Image / Z-Image Skill Data Schema & Taxonomy

The skill manages image metadata and generation parameters as follows:

Parameter Description Supported Values
model The AI model used for generation qwen-image-max, qwen-image-plus, z-image-turbo
size Resolution and aspect ratio 1664928 (16:9), 13281328 (1:1), 1120*1440 (4:5)
output Local storage path Custom string (e.g., image.png)
prompt_extend AI-driven prompt enhancement Boolean (true/false)

Qwen-Image / Z-Image Skill Advanced Features

  • Smart Model Auto-Detection: Automatically triggers Z-Image for keywords like 'portrait', 'film grain', or 'photorealistic'.
  • Professional Portrait Optimization: Specialized support for 4:5 aspect ratios and film-grade skin textures.
  • Chinese Text Rendering: Superior capability in rendering complex Chinese characters within generated images compared to standard models.
  • Prompt Extension: An optional --prompt-extend flag that allows the AI to autonomously expand and optimize user descriptions for better visual results.
  • Flexible Watermarking: Option to disable watermarks for professional production workflows.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*