A comprehensive image generation and editing tool for AI agents that supports text-to-image, image-to-image, and automatic file optimization.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install image-gen-skill
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 image-gen-skill using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The image-gen skill is a powerful expansion for your collection of Openclaw Skills, designed to provide AI agents with advanced visual creation capabilities. By leveraging the Nano-banana-3.1-Flash API, it allows agents to interpret natural language prompts and transform them into high-fidelity images. This skill is particularly useful for developers who need their agents to not only generate code or text but also create visual assets, modify existing images, and handle the complexities of image compression and storage within a standardized workspace environment.
As part of the broader ecosystem of Openclaw Skills, image-gen focuses on technical reliability and ease of use. It handles the entire lifecycle of an image, from the initial API call to the final delivery in messaging platforms. It features built-in logic for aspect ratio management, image resizing, and multi-format support, making it an essential component for any AI-driven creative workflow.
To integrate this into your Openclaw Skills workspace, create a .env file in the skill directory with the following configuration:
# .env configuration
IMAGE_API_BASE_URL=https://api.imyaigc.top
IMAGE_API_KEY=your-api-key-here
IMAGE_MODEL=gemini-3.1-flash-image-preview
IMAGE_SIZE=2K
IMAGE_ASPECT_RATIO=1:1
Ensure that Python 3 and the required dependencies for the compression tool are available in your environment.
The skill manages generated assets within a structured directory inside the Openclaw Skills workspace:
| Path | Purpose | Format |
|---|---|---|
~/.openclaw/workspace/img/ |
Primary storage for all generated visuals | Directory |
image_{TIMESTAMP}_original.png |
Unmodified high-quality output from the API | PNG |
image_{TIMESTAMP}.png |
Optimized and compressed version for delivery | PNG |
compress_image.py |
Utility script for managing file size constraints | Python |
Loading
An intelligent performance analysis suite that automates TTFB investigation, render-blocking detection, and script optimization using Chrome DevTools workflows.

A specialized AI investment assistant that fetches and analyzes the top 10 daily gainers in the A-share market.

A comprehensive gold investment analysis tool providing real-time pricing, technical indicators, and fundamental market insights.

A specialized orchestration template designed to transform books into professional, multi-format content packages including video, audio, and varied image assets.

An automated tool for extracting, cleaning, and translating video subtitles into readable text transcripts.

A specialized skill for OpenClaw agents that sends an immediate, bilingual acknowledgment message to users before the full AI response is generated.








































