kie-ai
Unified API access to multiple AI models via kie.ai - image generation (Nano Banana Pro, Flux, 4o-image) at 30-80% lower cost than official APIs. Includes local storage, Google Drive upload, usage tracking, and task resume.
Why use this skill?
Unified API access to Flux, Nano Banana, and 4o-image models. Generate high-quality assets at 30-80% lower cost with automated Google Drive uploads.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/jon-xo/kie-ai-skillWhat This Skill Does
The kie-ai skill serves as a high-performance gateway to a suite of advanced AI generation models, including Nano Banana Pro, Flux, and 4o-image. By acting as a unified API wrapper for kie.ai, it enables users to generate stunning visual assets at a fraction of the cost—typically 30-80% cheaper—than accessing these models through their official endpoints. The skill handles the entire lifecycle of an asset: from prompt engineering and generation to local caching in a dedicated folder and optional, automated archival to Google Drive. It includes built-in usage tracking and cost estimation, ensuring that you remain within your project budget while maintaining creative velocity.
Installation
To get started, clone the repository from the provided source into your local ~/src directory. Ensure your environment is prepared by adding your KIE_API_KEY to the ~/.openclaw/openclaw.json configuration file. If you wish to leverage the Google Drive integration, you must also obtain a Maton API key and configure your Google Drive connection through the Maton dashboard. Finally, create a symbolic link from your cloned directory into ~/.openclaw/workspace/skills/ to register the tool within your OpenClaw environment. Once installed, make the scripts executable using chmod +x.
Use Cases
This skill is ideal for content creators, developers, and researchers who require frequent high-quality AI image generations without the overhead of enterprise subscription costs. Use it for prototyping game assets, generating stock photography for marketing collateral, or batch-processing visual concepts for creative projects. Because it handles local storage, it is perfect for users who need a local database of generated images for fast retrieval and indexing. It is also an excellent tool for developers building automated content pipelines that require programmatic access to various diffusion models.
Example Prompts
- "Generate a minimalist logo for a space exploration startup featuring a stylized rocket in vector style, save it locally and upload it to my Google Drive."
- "Create a 4K resolution cinematic wide-angle shot of a futuristic neon-lit street in Tokyo, using the Flux model with a 16:9 aspect ratio."
- "Show me my current usage statistics and cost estimation for the last 50 image generation requests I have made using the Nano Banana Pro model."
Tips & Limitations
- Cost Efficiency: Always monitor your
balancecommand to stay aware of usage trends. - Resolution Scaling: While 4K is available, note that higher resolutions increase processing time and API costs.
- Storage Management: Ensure your
images/directory is regularly cleaned up, as local file storage grows proportionally with your generation volume. - Future Proofing: Keep an eye on updates, as the developers are currently working on integrating video generation (Veo 3.1) and music generation capabilities (Suno V4).
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-jon-xo-kie-ai-skill": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-write, file-read, external-api