This repository provides an MCP server for image generation using the Replicate Flux model, enabling users to generate images through Claude Desktop with either NPX or local installation, requiring a
This MCP server provides image generation capabilities using the Replicate Flux model. It allows users to generate images from text prompts using the generate_image
tool.
Users can install the server using NPX (no local setup required) or through local installation using npm.
REPLICATE_API_TOKEN
: Replicate API token for authentication.MODEL
: Replicate model to use (defaults to "black-forest-labs/flux-schnell").Generates images based on text prompts. Parameters include prompt
(required), seed
, aspect_ratio
, output_format
, and num_outputs
. The tool returns an array of URLs to the generated images.
This project is licensed under the MIT License.
GongRzhe/Image-Generation-MCP-Server
February 23, 2025
March 28, 2025
JavaScript