Token导航 LogoToken导航TokenDH.com
效率敏感数据clawhub未标认证来源可访问clear审计通过

kie-ai-skill凯爱技能

Agent Skill

kie-ai-skill 用于处理图像、截图、视觉识别或图片素材相关工作,适合在 OpenClaw 中需要让 Agent 分析图片、整理视觉素材或辅助图像流程时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

18,973

周安装

815

GitHub Stars

公开资料未说明

下载量

6,650
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:kie-ai-skill(凯爱技能)
来源仓库:https://github.com/jon-xo/kie-ai-skill
安装命令:
openclaw skills install kie-ai-skill
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install kie-ai-skill

简介

通过统一 API 调用多个 AI 图像模型,降低图像生成成本达 30-80%。

  • 支持 Nano Banana Pro、Flux 和 4o-image 等主流图像生成引擎。
  • 输入文本描述即可批量生成高质量图像,适用于内容素材快速生产。
  • 需配置 kie.ai 账户密钥并遵守各模型的调用频率限制规则。
  • 商用分发前应核实生成图像的版权归属与使用条款。

SKILL.md

name
kie-ai
version
1.0.1
description
|
files
metadata
author
jon-xo
repository
https://github.com/jon-xo/kie-ai-skill
clawdbot
emoji
🍌
homepage
https://github.com/jon-xo/kie-ai-skill
primaryEnv
KIE_API_KEY
requires
env
bins

kie.ai API Wrapper

Unified access to multiple AI models through kie.ai's API. Generate images, videos, and music at 30-80% lower cost than official APIs.

Features

  • 🎨 Image Generation: Nano Banana Pro (Gemini 3 Pro), Flux, 4o-image
  • 📤 Google Drive Upload: Optional automatic upload to Drive folder
  • 📊 Usage Tracking: Local task history and cost estimation
  • 💾 Local Storage: All files saved to images/ before optional upload
  • 🎬 Video Generation *(coming soon)*: Veo 3.1, Runway Gen-4 Aleph
  • 🎵 Music Generation *(coming soon)*: Suno V4/V4.5

Quick Start

# Generate an image
./kie-ai.sh generate-image "A serene Japanese garden at sunset"

# With custom options
./kie-ai.sh generate-image "Cyberpunk city" --resolution 2K --aspect 16:9

# Upload to Google Drive
./kie-ai.sh generate-image "Space nebula" --upload-drive

# Check usage
./kie-ai.sh balance

Installation

Prerequisites

  1. kie.ai API Key:

- Sign up at https://kie.ai - Get API key from dashboard - Add to ~/.openclaw/openclaw.json:

     "env": {
       "vars": {
         "KIE_API_KEY": "your-key-here"
       }
     }
  1. (Optional) Maton API Key for Google Drive uploads:

- Sign up at https://maton.ai - Get API key from https://maton.ai/settings - Set up Google Drive connection at https://ctrl.maton.ai - Add to config:

     "MATON_API_KEY": "your-maton-key"

Setup

# Clone to ~/src
cd ~/src
git clone https://github.com/jon-xo/kie-ai-skill.git
cd kie-ai-skill

# Make executable
chmod +x kie-ai.sh lib/*.py

# Create symlink for OpenClaw
ln -s ~/src/kie-ai-skill ~/.openclaw/workspace/skills/kie-ai-skill

# Test it
./kie-ai.sh generate-image "test image"

Configuration

Google Drive Upload (Optional)

# View/edit config
./kie-ai.sh config

# Edit config.json
{
  "drive": {
    "enabled": true,
    "folder_id": "YOUR_GOOGLE_DRIVE_FOLDER_ID"
  }
}

Get your folder ID from the Google Drive URL:

https://drive.google.com/drive/folders/1abc...xyz
                                          ^^^^ this part

Commands

generate-image

Generate images with various models.

./kie-ai.sh generate-image <prompt> [options]

Options:
  --model <name>         Model: nano-banana-pro (default), google/nano-banana, flux-kontext, 4o-image
  --resolution <res>     Resolution: 1K (default), 2K, 4K
  --aspect <ratio>       Aspect ratio: 1:1 (default), 16:9, 9:16, 4:3, etc.
  --upload-drive         Upload to Google Drive after generation (requires config)

Examples:

# Basic generation
./kie-ai.sh generate-image "A red apple on a wooden table"

# High resolution
./kie-ai.sh generate-image "Mountain landscape" --resolution 4K

# Widescreen
./kie-ai.sh generate-image "Cinematic scene" --resolution 2K --aspect 16:9

# 16-bit pixel art
./kie-ai.sh generate-image "Cyberpunk lobster, 16-bit pixel art, no text" --aspect 16:9

# Generate and upload
./kie-ai.sh generate-image "Abstract art" --upload-drive

balance

Check credit usage and remaining balance.

./kie-ai.sh balance

Shows:

  • Link to web UI for actual balance
  • Local task history
  • Estimated credit consumption
  • USD equivalent

status

Show active/pending tasks.

./kie-ai.sh status

models

List available models and pricing.

./kie-ai.sh models

config

View/configure Google Drive upload settings.

./kie-ai.sh config

Pricing

Approximate costs (kie.ai vs official):

Modelkie.aiOfficialSavings
Nano Banana Pro~18-24 credits ($0.09-$0.12)$0.1520-40%
Veo 3.1VariableN/A
Flux Kontext~50 credits ($0.25)$0.30~17%
Suno V4Variable$0.10/trackComparable

Credit pricing: ~$0.005 per credit (1,000 credits = $5)

Check exact costs at: https://docs.kie.ai/pricing

File Storage

Generated files are saved to the images/ directory (gitignored):

~/src/kie-ai-skill/images/
  2026-02-11-12-05-01-1.png
  2026-02-11-12-09-56-1.png
  ...

Format: YYYY-MM-DD-HH-MM-SS-{index}.png

Retention:

  • Local: Forever (or until you delete)
  • kie.ai CDN: 14 days
  • Google Drive: Forever (if uploaded)

Task State

Tasks are tracked in:

~/src/kie-ai-skill/.task-state.json

Used for:

  • Resume interrupted tasks
  • Usage tracking
  • Preventing duplicate submissions

Available Models

Image Generation

  • nano-banana-pro - Gemini 3 Pro Image (1K/2K/4K)
  • google/nano-banana - Gemini 2.5 Flash Image (cheaper)
  • flux-kontext - Flux by Black Forest Labs
  • 4o-image - OpenAI GPT-4o Image

Video Generation *(coming soon)*

  • veo-3.1 - Google Veo 3.1 (cinematic)
  • veo-3.1-fast - Veo 3.1 Fast (cheaper)
  • runway-aleph - Runway Gen-4 Aleph

Music Generation *(coming soon)*

  • suno-v4 - Suno V4 (up to 8min)
  • suno-v4.5 - Suno V4.5 Plus

See https://docs.kie.ai for full list.

Troubleshooting

"KIE_API_KEY not set"

Add to ~/.openclaw/openclaw.json:

"env": {
  "vars": {
    "KIE_API_KEY": "your-key-here"
  }
}

"Credits insufficient"

Top up at: https://kie.ai/billing

"MATON_API_KEY not set" (Drive upload)

  1. Sign up at https://maton.ai
  2. Add MATON_API_KEY to openclaw.json
  3. Create Google Drive connection at https://ctrl.maton.ai

"Drive upload failed"

  1. Check MATON_API_KEY is set
  2. Verify Google Drive connection is active at https://ctrl.maton.ai
  3. Ensure folder_id in config.json is correct
  4. Try generating without --upload-drive first

Integration with OpenClaw

Use via exec or directly in OpenClaw agent conversations:

# From OpenClaw chat
Generate a cyberpunk city image with kie.ai

# The agent will run:
cd ~/src/kie-ai-skill && ./kie-ai.sh generate-image "cyberpunk city"

Security

Environment Variables

VariableRequiredPurpose
KIE_API_KEYYesAuthenticates all requests to api.kie.ai
MATON_API_KEYNoAuthenticates Google Drive uploads via gateway.maton.ai

External Endpoints

EndpointMethodData SentUsed By
https://api.kie.ai/api/v1/jobs/createTaskPOSTprompt, model, resolution, aspect ratiogenerate-image.py
https://api.kie.ai/api/v1/jobs/recordInfoGETtask IDgenerate-image.py, watch_task.py
https://api.kie.ai/api/v1/chat/creditGET— (auth header only)balance.py
https://gateway.maton.ai/google-drive/upload/...POSTimage file bytes, filenameupload-drive.py (optional)

Data Leaving This Machine

  • Prompt text is sent to api.kie.ai to generate images.
  • Generated image files are sent to gateway.maton.ai only when --upload-drive is explicitly passed.
  • API keys are transmitted as Authorization: Bearer headers and are never logged or written to disk by this skill.
  • No telemetry, analytics, or usage data is collected by this skill itself.

Trust Statement

This skill sends data to two third-party services: kie.ai for AI generation and maton.ai as an OAuth gateway for Google Drive. Review their respective privacy policies before use. Drive upload is strictly opt-in via --upload-drive.

Autonomous Invocation

This skill can be invoked autonomously by an OpenClaw agent when asked to generate images. It does not execute autonomously on its own — it must be called explicitly. To prevent autonomous invocation, remove the skill symlink from your OpenClaw workspace.

Links

  • kie.ai Dashboard: https://kie.ai
  • Documentation: https://docs.kie.ai
  • Pricing: https://docs.kie.ai/pricing
  • Logs/Balance: https://kie.ai/logs
  • Billing: https://kie.ai/billing
  • Maton (for Drive): https://maton.ai
  • GitHub Repo: https://github.com/jon-xo/kie-ai-skill

License

MIT

Support

Issues: https://github.com/jon-xo/kie-ai-skill/issues

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

91.48%
按下载量换算6,083

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

未展示

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills