MCP Server LogoMCP Server
MCPsCategoriesDirectorySubmit
Submit
MCPsCategoriesDirectorySubmit
Submit

MCP Servers

A curated list of MCP Servers, featuring Awesome MCP Servers and Claude MCP integration.

Contact Us

[email protected]

About

Privacy PolicyTerms of Service

Resources

Model Context ProtocolMCP Starter GuideClaude MCP Servers

Community

GitHub

© 2025 mcpserver.cc © 2025 MCP Server. All rights reserved.

Privacy PolicyTerms of Service
  1. Home
  2. /Categories
  3. /Media & Content
  4. /Replicate Image Generate
Replicate Image Generate

Replicate Image Generate

Created by caok•9 months ago
Visit Website

flux image generation mcp server

Media & Content
fluximagegenerationserver

Flux Image Generation Server

这是一个简单的HTTP服务器,用于调用Replicate的Flux Schnell模型生成图片。

安装

npm install

配置

在运行服务器之前,你需要设置Replicate API token作为环境变量:

export REPLICATE_API_TOKEN=your_token_here

运行服务器

编译并启动服务器:

npm run build
npm start

服务器将在端口3000上运行。

API使用

服务器提供了一个简单的HTTP API端点来生成图片:

生成图片

请求

POST http://localhost:3000/generate
Content-Type: application/json

{
    "prompt": "your image description here"
}

示例

curl -X POST http://localhost:3000/generate \
  -H "Content-Type: application/json" \
  -d '{"prompt": "black forest gateau cake spelling out the words \"FLUX SCHNELL\", tasty, food photography, dynamic shot"}'

响应

成功响应:

{
    "success": true,
    "data": {
        // Replicate API 返回的数据
    }
}

错误响应:

{
    "success": false,
    "error": "错误信息"
}

关闭服务器

按 Ctrl+C 可以优雅地关闭服务器。

Prerequisites

  • •Familiarity with the server domain
  • •Basic understanding of related technologies
  • •Knowledge of Media & Content

Recommended Server

Mcp Snapshot Server

Mcp Snapshot Server

A MCP server for Snapshot

Mcp Mysql

Mcp Mysql

Python Docs Server Mcp Server

Python Docs Server Mcp Server

Get Python Docs

View more → →

Details

Created

March 06, 2025

Last Updated

March 07, 2025

Category

Media & Content

Author

caok

Share

More Server

Ragie Mcp Server

Ragie Mcp Server

Ragie Model Context Protocol Server

Tavily Search Mcp Server

Tavily Search Mcp Server

An MCP server implementation that integrates the Tavily Search API, providing optimized search capabilities for LLMs.

Mcp Duckduckgo

Mcp Duckduckgo

A DuckDuckGo search plugin for Model Context Protocol (MCP), compatible with Claude Code. Provides web search functionality with advanced navigation and content exploration features.

Mcp Crypto Price

Mcp Crypto Price

A Model Context Protocol (MCP) server that provides real-time cryptocurrency analysis via CoinCap's API. Enables Claude and other MCP clients to fetch crypto prices, analyze market trends, and track historical data.