Image Generation MCP Server logo

Image Generation MCP Server

by MCP-Mirror

This MCP server provides image generation capabilities using the Replicate Flux model. It allows users to generate images from text prompts.

View on GitHub

Last updated: N/A

What is Image Generation MCP Server?

This is an MCP server that leverages the Replicate Flux model to generate images based on text prompts. It allows users to integrate image generation capabilities into their applications or workflows.

How to use Image Generation MCP Server?

To use this server, you need to configure it within your MCP environment by adding a new server entry in the claude_desktop_config.json file. You'll need a Replicate API token, which you can obtain from replicate.com. Configure the server with the path to the server's index.js file, your Replicate API token, and optionally, an alternative model. Then, you can use the generate_image tool with a text prompt and other optional parameters like aspect ratio and output format.

Key features of Image Generation MCP Server

  • Text-to-image generation

  • Uses Replicate Flux model

  • Configurable aspect ratio and output format

  • Supports multiple output images

  • Integration with MCP environment

Use cases of Image Generation MCP Server

  • Generating images for content creation

  • Prototyping visual ideas

  • Creating AI-generated art

  • Integrating image generation into chatbots

  • Automated image creation for marketing materials

FAQ from Image Generation MCP Server

What is the default model used?

The default model is black-forest-labs/flux-schnell.

Is a Replicate API token required?

Yes, a Replicate API token is required for authentication.

What image formats are supported?

The supported image formats are webp, jpg, and png.

How many images can be generated at once?

You can generate between 1 and 4 images at a time.

What is the purpose of the autoApprove configuration?

The autoApprove configuration allows you to specify which tools can be executed without user confirmation. An empty array means all tool calls require confirmation.