GongRzhe_Image-Generation-MCP-Server
0
The Image Generation MCP Server is a tool designed for generating images using the Replicate Flux model. It allows customization through environment variables and various parameters, supporting features like prompt-driven image creation and format selection.
Image Generation MCP Server
This MCP server provides image generation capabilities utilizing the Replicate Flux model. Users can generate images by providing text prompts and customize several parameters like image aspect ratio and output format. The setup requires a Replicate API token for authentication.
Setup
- Configuration files: Edit
claude_desktop_config.json
on MacOS or Windows. - Replicate API token: Sign up at Replicate, create an API token, and configure it in the settings.
Environment Variables
- REPLICATE_API_TOKEN: Required for authentication.
- MODEL: Optional, specifies the model for image generation.
Configuration Parameters
- disabled: Server status control.
- autoApprove: List of tools that don't require user confirmation.
Available Tools
generate_image
Generates images using the Flux model based on text prompts. Supports parameters such as prompt
, seed
, aspect_ratio
, output_format
, and num_outputs
.
4DC License
This project is licensed under the MIT License.