Aliyun Image Generation & Editing for Openclaw

A comprehensive AI skill for text-to-image generation, sophisticated image editing, and layout-preserving image translation using Aliyun Bailian models.

stanleychanh
v1.1.0
Feb 13, 2026
1
2.3k
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install aliyun-image

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 aliyun-image 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 Aliyun Image Generation & Editing?

This skill provides a robust interface to Aliyun Bailian (DashScope) multimodal capabilities, enabling developers to generate, edit, and translate images programmatically. By leveraging Openclaw Skills, users can access the Qwen-Image model family to produce high-resolution visuals from text, perform complex image manipulations like background replacement or style transfer, and translate text within images while preserving the original aesthetic layout.

Whether you need to generate marketing assets or automate technical diagram translation, this skill streamlines the process by providing standardized API wrappers and utility scripts. It specifically supports the qwen-image-plus and qwen-image-max models to balance performance and quality for diverse creative requirements.

Aliyun Image Generation & Editing Use Cases

  • Creating high-quality marketing visuals from complex text prompts with accurate text rendering.
  • Automated image post-processing including background changes, object addition/removal, and style transfers.
  • Multilingual image localization by translating text in posters or documents across 11 source and 14 target languages.
  • Rapid prototyping for UI/UX design and social media content generation through Openclaw Skills automation.

How Aliyun Image Generation & Editing Works

  1. Initialize the environment by configuring the DashScope API Key for authentication.
  2. Select the appropriate model (Plus for standard tasks or Max for high-quality requirements) and define the input parameters such as prompts or image URLs.
  3. Send a POST request to the Aliyun Bailian multimodal generation endpoint to trigger the AI processing.
  4. For translation tasks, monitor the asynchronous task ID to retrieve results once the synthesis is complete.
  5. Receive a temporary image URL valid for 24 hours to download or display the final output.

Aliyun Image Generation & Editing Setup

To start using this skill with Openclaw Skills, configure your environment variables and ensure Python is installed.

# Configure your API Key
export DASHSCOPE_API_KEY="your-sk-key-here"

# Install required dependencies
pip install requests

You can then use the provided scripts/client.py for CLI-based operations:

# Generate an image
python scripts/client.py generate "A cat napping in the sun" --size 1920*1080

Aliyun Image Generation & Editing Data Schema & Taxonomy

The skill manages data through specific API parameters and temporary cloud storage. Below is the metadata and model taxonomy:

Feature Default Model High-Quality Model
Text-to-Image qwen-image-plus qwen-image-max
Image Editing qwen-image-edit-plus qwen-image-edit-max
Image Translation qwen-mt-image N/A

Key Parameters:

  • prompt_extend: Automatically expands short prompts for better visual results.
  • negative_prompt: Filters out unwanted attributes like low resolution or distortions.
  • watermark: Toggle for including Aliyun watermarks in the output.

Aliyun Image Generation & Editing Advanced Features

  • Multi-image fusion support for blending elements from multiple source files.
  • High-fidelity text rendering within images to ensure readability in generated posters.
  • Asynchronous processing for large-scale image translation tasks to improve system throughput.
  • Built-in prompt optimization using the prompt_extend feature within Openclaw Skills.

SKILL.md


Loading

Related Openclaw Skills

Featured*