kie-image-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@kie-image-mcp generate an image of a futuristic city using google/nano-banana"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
kie-image-mcp
KIE.ai の画像生成 MCP。KIE.ai 上の任意の画像生成モデル(google/nano-banana 系、GPT Image 2 系など)を model 引数または環境変数で指定できる。省略時の既定値のみ gpt-image-2-text-to-image / gpt-image-2-image-to-image。
Features
kie_create_task / kie_check_task - 非同期の単体画像生成
kie_create_tasks / kie_check_tasks - 非同期の並列画像生成
kie_upload_file - ローカル参照画像を KIE.ai にアップロードし、
image_input用の URL を取得
Related MCP server: ImaginePro MCP Server
Setup
npm install
cp .env.example .env
# Set KIE_AI_API_KEY in .env
npm run buildUsage with Claude Code
Add to .mcp.json:
{
"mcpServers": {
"kie-image": {
"type": "stdio",
"command": "node",
"args": ["/path/to/kie-image-mcp/dist/index.js"]
}
}
}Environment Variables
Variable | Required | Description |
| Yes | KIE.ai API key |
| No |
|
| No |
|
| No | text-to-image 側の一括上書き。 |
| No | 既定解像度。 |
| No | Output directory (default: |
モデル切替
kie_create_task / kie_create_tasks は model 引数に KIE.ai の任意のモデル ID(例: google/nano-banana)を受け取る。省略時は以下で自動選択する。
入力 | 既定モデル |
|
|
|
|
モデルによって送信ペイロードを切り替える:
GPT Image 2 系(モデル ID が
gpt-image-2で始まる):image_inputを KIE.ai API のinput_urlsに変換して送る。text-to-image 系モデルにimage_inputを渡すとエラーにする。それ以外(nano-banana 等):
image_input+output_format: pngの形状で送る。
Available Tools
5 toolskie_check_taskA
画像生成タスクのステータスを確認する。完了時は画像データを返し、save_to指定時はファイルにも保存する。pendingならしばらく待って再確認すること。
Inputs: task_id (required), save_to.
kie_check_tasksA
複数の画像生成タスクのステータスを並列で確認する。完了した画像はsave_dir指定時にファイル保存もする。
Inputs: task_ids (required), save_dir.
kie_create_taskB
KIE.aiで画像生成タスクを作成し、taskIdを即座に返す。モデルは引数または環境変数で切り替えられる。image_input がある場合は GPT Image 2 image-to-image 系モデルを既定で使う。
Inputs: prompt (required), model, resolution, image_input, +2 more.
kie_create_tasksA
複数の画像生成タスクを並列で作成し、taskIdの配列を即座に返す。各タスクの model は個別指定でき、省略時は text-to-image / image-to-image を入力有無で切り替える。
Inputs: tasks (required).
kie_upload_fileA
ローカル画像(絶対パス)をKIE.aiのFile Upload APIにアップロードし、公開downloadUrlを返す。通常はkie_create_taskのimage_inputにローカルパスを渡すだけで自動アップロードされるので、このツールは事前アップロード・URLのキャッシュ・複数タスクでの再利用時にのみ使う。保存期間は3日。
Inputs: file_path (required), file_name, upload_path.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
Each tool has a clearly distinct purpose: creating single/multiple tasks, checking single/multiple tasks, and uploading files. No overlap or ambiguity.
All tools follow the consistent pattern 'kie_verb_noun' with singular/plural variants (check_task vs check_tasks, create_task vs create_tasks) and one upload_file.
Five tools cover the core workflow of image generation (create, check, upload) without being excessive or minimal. The count is well-scoped for the domain.
Covers creation, status checking, and file upload. Missing potential delete or cancel operations, but the set is functional for typical image generation tasks.
Related MCP Connectors
Generate images, videos and music with model discovery, cost estimates and asynchronous results.
Generate and edit images: article covers, pet portraits, product shots. Each call spends credits.
Generate AI images and videos from your agent: list models, start jobs, and fetch the results.
LLM chat, text tools, image generation, editing, batch image jobs, and asynchronous video generation
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI image generation through multiple providers including OpenAI GPT-Image-1, Google Imagen 4, Gemini 2.5 Flash (Nano Banana), Flux 1.1, Qwen Image, and SeedDream-4, supporting various formats, sizes, and advanced features like background control and seed-based reproduction.59 npm11MIT
- AlicenseBqualityDmaintenanceEnables AI assistants to generate images and videos through natural language using ImaginePro's API. Supports text-to-image generation, video creation, image upscaling, variants, inpainting, and multi-modal generation with real-time progress tracking.812 npmMIT
- AlicenseAqualityDmaintenanceEnables image generation and editing using OpenAI's GPT Image API (gpt-image-1, 1.5, 2) with support for multi-image generation, history management, and batch processing.12263 npm1MIT
- AlicenseNot gradedqualityDmaintenanceEnables image generation, editing, and refinement using Google's Gemini 2.5 Flash Image model with support for multi-image composition and style transfer.ISC