MCP.so
登录

Flux Image Generation Server MCP Server

@caok

基本信息

分类

媒体与设计

许可证

Apache-2.0

传输方式

stdio

作者

caok

关于 Flux Image Generation Server MCP Server

flux image generation mcp server

Flux Image Generation Server MCP Server 配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

Flux Image Generation Server MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is Flux Image Generation Server?

A simple HTTP server that calls the Flux Schnell model on Replicate to generate images from text prompts.

How to use Flux Image Generation Server?

Install dependencies via npm install, set the REPLICATE_API_TOKEN environment variable, compile with npm run build, then start with npm start. The server listens on port 3000 and provides a single POST endpoint at /generate that accepts a JSON body with a prompt field.

Key features of Flux Image Generation Server

  • Wraps Replicate’s Flux Schnell model in a local HTTP server
  • Accepts text prompts and returns generated image data
  • Simple JSON API – one endpoint, no extra configuration
  • Runs on port 3000 after build and start commands
  • Returns success/error responses in a consistent format

Use cases of Flux Image Generation Server

  • Generate images from descriptive text prompts for prototyping or creative work
  • Integrate image generation into applications that communicate over HTTP
  • Quickly test Flux Schnell model outputs without using Replicate’s web interface

常见问题

1

What does Flux Image Generation Server do?

It provides a local HTTP API that forwards a text prompt to Replicate’s Flux Schnell model and returns the generated image result.

2

How do I set the Replicate API token?

Export the token as an environment variable before starting the server: `export REPLICATE_API_TOKEN=your_token_here`.

3

How do I start the server?

Run `npm run build` then `npm start`. The server will listen on port 3000.

4

What is the API endpoint and request format?

Send a POST request to `http://localhost:3000/generate` with a JSON body containing a `prompt` field (string). Example: `{"prompt": "a cat wearing a hat"}`.

5

How do I stop the server?

Press `Ctrl+C` in the terminal where the server is running.

评论

媒体与设计 分类下的更多 MCP 服务器