kie-ai-skill
jon-xo tarafından
Image & Video GenerationÖzet
Unified API access to multiple AI models via kie.ai - image generation (Nano Banana Pro, Flux, 4o-image) at 30-80%.
Açıklama
Bu Beceri Ne Yapar
Wraps the kie.ai API to generate images using models like Flux, GPT-4o Image, and Gemini 3 Pro at 30-80% lower cost than official APIs. Saves generated files locally and optionally uploads them to Google Drive. Tracks task history and credit usage.
Using kie.ai as a proxy gives access to multiple top-tier image models through a single API key at a fraction of the direct provider cost.
Ne Zaman Kullanılır
- Generating product mockup images at reduced API cost
- Creating high-resolution widescreen images for presentations
- Batch image generation with automatic Google Drive archival
- Checking remaining AI credit balance before a generation run
- Resuming an interrupted image generation task
Örnek İş Akışı
User asks: Generate a 4K cyberpunk city image in 16:9 and upload it to my Drive
- 1
Runs
./kie-ai.sh generate-image "Cyberpunk city" --resolution 4K --aspect 16:9 --upload-drive - 2
Script authenticates to api.kie.ai using KIE_API_KEY
- 3
Submits generation task and polls for completion via task state tracker
- 4
Saves the resulting PNG to the local
images/directory - 5
Uploads the file to the configured Google Drive folder via maton.ai gateway
Image saved locally as `images/2026-03-14-HH-MM-SS-1.png` and uploaded to Google Drive
Gereksinimler
- KIE_API_KEY from kie.ai dashboard (https://kie.ai)
- MATON_API_KEY from maton.ai settings (optional, required for Google Drive uploads)
- Google Drive connection configured at ctrl.maton.ai (optional, required for Drive uploads)
Kurulum
clawhub install jon-xo/kie-ai-skillCLI komutunu çalıştırın ya da istemi Claude Code, Cursor, Codex veya kullandığınız kodlama ajanına yapıştırın.