An advanced generative AI skill for creating high-quality images and posters via asynchronous text-to-image and image-to-image workflows.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install image2
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install image2 using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The image2 skill provides a robust interface for AI agents to generate visual content using the kexiangai.com infrastructure. By integrating this capability into Openclaw Skills, developers can enable their agents to produce professional-grade posters, product shots, and social media covers directly through API calls. The skill is designed to handle the complexities of asynchronous task management, ensuring that the agent remains focused on the workflow while the generation process runs in the background. It effectively bridge the gap between prompt engineering and final asset delivery by supporting precise aspect ratios and reference-based image creation.
Built for reliability, image2 emphasizes security and efficiency. It manages API keys through environment variables or local configuration files, ensuring credentials are never exposed in logs. This skill is a core component for those looking to expand the creative capabilities of their developer environment using Openclaw Skills, offering a seamless way to transform textual descriptions into vivid digital imagery.
To begin using these Openclaw Skills, ensure you have curl and python3 installed, then configure your access credentials.
# Create the local configuration directory
mkdir -p ~/.config/image2
# Save your API key to the environment file
cat > ~/.config/image2/.env << 'EOF'
X_API_KEY=your_kexiangai_key_here
EOF
# Secure the configuration file
chmod 600 ~/.config/image2/.env
# Alternatively, set a session-level environment variable
export X_API_KEY='your_kexiangai_key_here'
The image2 skill utilizes a structured data approach within Openclaw Skills to ensure consistent API communication and metadata handling.
| Parameter | Source | Description |
|---|---|---|
| x-api-key | Header | Required authentication token from kexiangai.com |
| modelType | user_input | Defines generation mode: text2img or img2img |
| prompt | user_input | The descriptive text used for image generation |
| size | user_input | Aspect ratio selection (e.g., 1:1, 16:9, 3:4, etc.) |
| urls | user_input | Array of up to 8 reference image URLs (required for img2img) |
| task_id | Response | Unique identifier for tracking asynchronous progress |
Loading
An expert AI travel consultant specialized in multi-generational family itineraries with a focus on crowd avoidance and accessibility.

An automated lead generation engine that identifies, scores, and enriches local service business prospects for AI automation sales outreach.

An automated weather intelligence system providing instant global forecasts and scheduled daily subscriptions via Open-Meteo.

A comprehensive business intelligence skill for analyzing Abbott Laboratories' diversified healthcare empire, from medical devices to nutritional products.

A comprehensive auditing tool designed to map the architecture, features, and technical maturity of unfamiliar repositories.

A specialized AI image generation skill that transforms subjects, pets, or characters into high-fidelity, adorable handmade plush toys.








































