KK

keugenek/krea-mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

11 stars 2 forks 质量 72 趋势 18Apache-2.0

MCP server for Krea.ai - Generate stunning AI images & videos with Flux, Hailuo, Runway, Kling, Ideogram, Imagen & more. Works with Claude Desktop, Claude Code, and any MCP client.

概览

- Generate stunning AI images and videos using Flux, Hailuo, Runway, Kling, Ideogram, Imagen, and 20+ other state-of-the-art models. have cloned this repo within 2 weeks. Works with , , , and any MCP-compatible client. You can run the MCP server directly via npx: - - Access Flux, Ideogram, Imagen 4, Runway Gen-4, Hailuo, Kling, Pika, Veo 3, and more through one unified interface - - Generate photorealistic images, art, illustrations from text prompts - - Create AI videos with natural motion and cinematic quality - - Animate any image with AI-powered motion - - Apply LoRA styles for consistent aesthetics - - One command install, works instantly with Claude Add to ~/.config/claude/claude_desktop_config.json (Linux) or ~/Library/Application Support/Claude/claude_desktop_config.json (macOS): Generate images with state-of-the-art AI models: Flux Dev, Flux Pro, Flux Schnell, Ideogram V2, Imagen 4, Krea 1, ChatGPT Image, Topaz, Bloom, and more. Hailuo, Kling 1.

README

以下为原文 README 节选,完整内容请查看原文。

Krea MCP Server

MCP server for Krea.ai - Generate stunning AI images and videos using Flux, Hailuo, Runway, Kling, Ideogram, Imagen, and 20+ other state-of-the-art models.

212+ developers have cloned this repo within 2 weeks. Works with Claude Desktop, Claude Code, Cursor, and any MCP-compatible client.


Quick Start (No installation required!)

You can run the MCP server directly via npx:

{
  "mcpServers": {
    "krea": {
      "command": "npx",
      "args": [
        "-y",
        "@vmosaic/krea-mcp-server"
      ],
      "env": {
        "KREA_API_KEY": "YOUR_KREA_API_KEY"
      }
    }
  }
}

Why Krea MCP?

  • 20+ AI Models - Access Flux, Ideogram, Imagen 4, Runway Gen-4, Hailuo, Kling, Pika, Veo 3, and more through one unified interface
  • Text-to-Image - Generate photorealistic images, art, illustrations from text prompts
  • Text-to-Video - Create AI videos with natural motion and cinematic quality
  • Image-to-Video - Animate any image with AI-powered motion
  • Custom Styles - Apply LoRA styles for consistent aesthetics
  • Simple Setup - One command install, works instantly with Claude

Optional Global Install

1. Install

npm install -g @vmosaic/krea-mcp-server

2. Get API Key

Get your API key from krea.ai

3. Run the global binary

krea-mcp

4. Configure Claude Desktop with the global binary

Add to ~/.config/claude/claude_desktop_config.json (Linux) or ~/Library/Application Support/Claude/claude_desktop_config.json (macOS):

{
  "mcpServers": {
    "krea": {
      "command": "krea-mcp",
      "env": {
        "KREA_API_KEY": "your-api-key-here"
      }
    }
  }
}

4b. Or configure Claude Code without a global install

claude mcp add krea -e KREA_API_KEY=your-api-key -- npx -y @vmosaic/krea-mcp-server

Features

Image Generation

Generate images with state-of-the-art AI models:

"Generate a cyberpunk cityscape at sunset with neon lights reflecting on wet streets"

Supported models: Flux Dev, Flux Pro, Flux Schnell, Ideogram V2, Imagen 4, Krea 1, ChatGPT Image, Topaz, Bloom, and more.

Video Generation

Create AI videos from text or images:

"Create a video of a golden retriever running through a field of sunflowers"
在 GitHub 查看完整 README

安装

npx -y @vmosaic/krea-mcp-server
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "krea": { "command": "npx", "args": [ "-y", "@vmosaic/krea-mcp-server" ], "env": { "KREA_API_KEY": "YOUR_KREA_API_KEY" } } } }