Image Generator
Image AI Models & RoutingInstall Command
npx clawhub@latest install imagegen
Installation Guide
Make sure Node.js 22+ and OpenClaw are installed. Run openclaw --version in your terminal to verify.
Run the install command above in your terminal. ClawHub will automatically download and install Image Generator to the ~/.openclaw/skills/ directory.
Run openclaw skills list to check your installed skills and confirm Image Generator appears in the list.
Follow the configuration instructions in the description below to add skill settings to ~/.config/openclaw/openclaw.json5.
~/.openclaw/skills/ or the skills/ directory in your project root. Make sure the folder contains a SKILL.md file.
Detailed Description
The Image Generator skill gives OpenClaw image generation capabilities β create various images just by describing them in text.
Core Features
- Text-to-Image: Describe the image you want, and the AI generates it automatically
- Multi-Model Support: Choose from DALL-E 3, Stable Diffusion, Midjourney API, and more
- Size Configuration: Supports various common aspect ratios (1:1, 16:9, 9:16, etc.)
- Style Control: Specify art styles (photorealistic, anime, watercolor, oil painting, etc.)
- Image Editing: Modify existing images and generate variations
Configuration
{
skills: {
imagegen: {
provider: "dall-e", // dall-e, stable-diffusion, midjourney
apiKey: "xxx",
defaultSize: "1024x1024",
defaultQuality: "hd"
}
}
}
Use Cases
- Generate illustrations, avatars, and wallpapers directly in chat
- Quickly create images for blog posts and social media
- Concept art and prototype visuals for product design
- Diagrams and illustrations for educational scenarios
Notes
Image generation consumes significant API credits. DALL-E 3 costs approximately $0.04-$0.12 per image. Choose the appropriate model and quality settings based on your needs.