imagerouter
Generate AI images with any model using ImageRouter API (requires API key).
Why use this skill?
Integrate ImageRouter with OpenClaw to generate AI images, transform photos with image-to-image, and perform precise inpainting edits using powerful generative models.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/dawe35/image-routerWhat This Skill Does
The ImageRouter skill is a powerful interface for the OpenClaw AI agent, enabling seamless access to a vast array of AI-powered image generation models. By leveraging the ImageRouter API, this skill allows users to generate images directly through their agent using a variety of formats, including text-to-image, image-to-image, and advanced inpainting using masks. It effectively acts as a bridge between the agent and high-performance generative models, supporting parameters for quality, output format, and multi-image processing. Whether you need a simple aesthetic render or a complex multi-layered image modification, this skill provides the necessary endpoints to execute these tasks via curl-based operations.
Installation
To integrate this skill into your environment, run the following command within your terminal while your OpenClaw session is active:
clawhub install openclaw/skills/skills/dawe35/image-router
Once installed, ensure you have a valid ImageRouter API key. The skill requires this key to be set in your configuration to authorize requests to the API endpoints.
Use Cases
- Creative Content Generation: Create high-quality illustrations, concept art, or visual assets for marketing and design projects using specific model identifiers.
- Image Editing & Transformation: Utilize existing assets to create variations, such as turning a photograph into a watercolor painting or changing the artistic style of a source image.
- Complex Inpainting: Use masks to define specific regions of an image for selective edits, such as adding objects or replacing background elements in a controlled manner.
- Bulk Asset Processing: Upload and manipulate multiple images simultaneously, allowing for automated batch processing of visual content.
Example Prompts
- "Generate a high-quality 1024x1024 image of a cyberpunk city at night using a realistic style model."
- "Take the image at /images/landscape.webp and transform it into a surrealist painting."
- "Fill the masked area on the original image with a dense garden of blooming flowers using the inpainting tool."
Tips & Limitations
- Testing: Always verify your workflow using the
test/testmodel first to ensure your API key and network connectivity are configured correctly. - Model Discovery: If you aren't sure which model to use, call the
get-popular-modelsendpoint to see which engines currently perform best for your artistic needs. - API Limits: Keep in mind that heavy usage, especially with high-resolution settings or multiple concurrent requests, may consume your API quota quickly.
- Performance: Image-to-image and inpainting tasks require valid file paths for the images/masks; ensure these files are accessible to the OpenClaw runtime environment to avoid errors.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-dawe35-image-router": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, file-read, external-api