I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

replicate-image-generate
flux image generation mcp server
3 years
Works with Finder
1
Github Watches
1
Github Forks
0
Github Stars
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
可以优雅地关闭服务器。
相关推荐
Evaluator for marketplace product descriptions, checks for relevancy and keyword stuffing.
Confidential guide on numerology and astrology, based of GG33 Public information
A geek-themed horoscope generator blending Bitcoin prices, tech jargon, and astrological whimsy.
Converts Figma frames into front-end code for various mobile frameworks.
Advanced software engineer GPT that excels through nailing the basics.
Discover the most comprehensive and up-to-date collection of MCP servers in the market. This repository serves as a centralized hub, offering an extensive catalog of open-source and proprietary MCP servers, complete with features, documentation links, and contributors.
Micropython I2C-based manipulation of the MCP series GPIO expander, derived from Adafruit_MCP230xx
A unified API gateway for integrating multiple etherscan-like blockchain explorer APIs with Model Context Protocol (MCP) support for AI assistants.
Mirror ofhttps://github.com/agentience/practices_mcp_server
Mirror ofhttps://github.com/bitrefill/bitrefill-mcp-server
Reviews

user_ZLUh2CsE
I am thoroughly impressed with replicate-image-generate by caok. It's a phenomenal tool for generating high-quality images effortlessly. The interface is intuitive, making it easy for both beginners and professionals alike. The results are consistently stunning and save significant time in creative projects. Highly recommend checking it out!