
andrewlwn77/kie-ai-mcp-server
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
ナノバナナ画像生成/編集、Veo3動画生成など、Kee.aiのAI APIにアクセスできるMCP(Model Context Protocol)サーバーです.
概要
ナノバナナ画像生成/編集、Veo3動画生成など、Kee.aiのAI APIにアクセスできるMCP(Model Context Protocol)サーバーです。 - : GoogleのGemini 2.5 Flash Image Previewを使用してテキスト・ツー・イメージ生成 - :最大5つの入力画像で自然言語画像編集 - : テキスト・ツー・ビデオと画像・ツー・ビデオ機能を備えたプロフェッショナル品質のビデオ生成 - : Veo3ビデオの高精細バージョンを入手 - : ステータス・ポーリングによるSQLiteベースのタスク追跡 - :ステータスチェックのためのタスクタイプの自動検出 - : 包括的なエラー処理と検証 - Node.js 18 + - [https://kie.ai/api-key の Kie.ai API キー Claude Desktop または MCP クライアントの設定に追加します。 - プロンプト(文字列、必須): 生成する画像のテキストの説明 自然な言語プロンプトを使用して画像を編集します.
概要(AI 翻訳)
ナノバナナ画像生成/編集、Veo3動画生成など、Kee.aiのAI APIにアクセスできるMCP(Model Context Protocol)サーバーです。
##特徴
- ナノバナナ画像生成:GoogleのGemini 2.5フラッシュ画像プレビューを使用して画像の生成をテキストに -Nano Banana Image Editing:最大5つの入力画像で自然言語画像編集 -Veo3ビデオ生成:テキスト・ツー・ビデオおよびイメージ・ツー・ビデオ機能を備えたプロフェッショナル品質のビデオ生成 -1080pビデオアップグレード:Veo3ビデオの高解像度版を入手
- タスク管理:ステータスポーリングによるSQLiteベースのタスクトラッキング -スマートエンドポイントルーティング:ステータスチェックのタスクタイプの自動検出 -エラー処理: 包括的なエラー処理と検証
前提条件
- Node.js 18 +
- [[T0] からの Kie.ai API キー
インストール
NPMから##########
ソースから
設定
環境変数
MCP の設定
Claude Desktop または MCP クライアントの設定に追加します。
またはグローバルにインストールする場合:
利用可能なツール
##1. [[T1] ナノバナナを用いた画像生成
パラメーター:
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
Kie.ai MCP Server
An MCP (Model Context Protocol) server that provides access to Kie.ai’s AI APIs including Nano Banana image generation/editing and Veo3 video generation.
Features
- Nano Banana Image Generation: Text-to-image generation using Google’s Gemini 2.5 Flash Image Preview
- Nano Banana Image Editing: Natural language image editing with up to 5 input images
- Veo3 Video Generation: Professional-quality video generation with text-to-video and image-to-video capabilities
- 1080p Video Upgrade: Get high-definition versions of Veo3 videos
- Task Management: SQLite-based task tracking with status polling
- Smart Endpoint Routing: Automatic detection of task types for status checking
- Error Handling: Comprehensive error handling and validation
Prerequisites
- Node.js 18+
- Kie.ai API key from https://kie.ai/api-key
Installation
From NPM
npm install -g @andrewlwn77/kie-ai-mcp-server
From Source
# Clone the repository
git clone https://github.com/andrewlwn77/kie-ai-mcp-server.git
cd kie-ai-mcp-server
# Install dependencies
npm install
# Build the project
npm run build
Configuration
Environment Variables
# Required
export KIE_AI_API_KEY="your-api-key-here"
# Optional
export KIE_AI_BASE_URL="https://api.kie.ai/api/v1" # Default
export KIE_AI_TIMEOUT="60000" # Default: 60 seconds
export KIE_AI_DB_PATH="./tasks.db" # Default: ./tasks.db
MCP Configuration
Add to your Claude Desktop or MCP client configuration:
{
"kie-ai-mcp-server": {
"command": "node",
"args": ["/path/to/kie-ai-mcp-server/dist/index.js"],
"env": {
"KIE_AI_API_KEY": "your-api-key-here"
}
}
}
Or if installed globally:
{
"kie-ai-mcp-server": {
"command": "npx",
"args": ["-y", "@andrewlwn77/kie-ai-mcp-server"],
"env": {
"KIE_AI_API_KEY": "your-api-key-here"
}
}
}
Available Tools
1. generate_nano_banana
Generate images using Nano Banana.
Parameters:
prompt(string, required): Text description of the image to generate
Example:
{
"prompt": "A surreal painting of a giant banana floating in space"
}
2. edit_nano_banana
Edit images using natural language prompts.
Parameters:
prompt(string, required): Description of edits to makeimage_urls(array, required): URLs of images to edit (max 5)
Example:
{
"prompt": "Add a rainbow arching over the mountains",
"image_urls": ["https://example.com/image.jpg"]
}
3. generate_veo3_video
Generate videos using Veo3.
Parameters:
prompt(string, required): Video descriptionimageUrls(array, optional): Image for image-to-video (max 1)model(enum, optional): “veo3” or “veo3_fast” (default: “veo3”)aspectRatio(enum, optional): “16:9” or “9:16” (default: “16:9”)seeds(integer, optional): Random seed 10000-99999
インストール
npx -y @andrewlwn77/kie-ai-mcp-server