Image Generation MCP Server logo

Image Generation MCP Server

by GongRzhe

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

View on GitHub

Last updated: N/A

What is Image Generation MCP Server?

The Image Generation MCP Server is a tool that enables image generation using the Replicate Flux model. It integrates with Claude Desktop, allowing users to create images from text prompts directly within the application.

How to use Image Generation MCP Server?

To use the server, install it either via Smithery or manually using npm. Configure Claude Desktop with the appropriate server settings, including the Replicate API token. Then, use the generate_image tool with a text prompt to generate images.

Key features of Image Generation MCP Server

  • Image generation from text prompts

  • Integration with Claude Desktop

  • Uses the Replicate Flux model

  • Supports various image aspect ratios and output formats

  • Allows specifying a random seed for reproducible results

  • Supports generating multiple images at once

Use cases of Image Generation MCP Server

  • Generating visual content for presentations

  • Creating custom avatars or profile pictures

  • Visualizing abstract concepts or ideas

  • Generating images for social media posts

  • Prototyping image assets for games or applications

FAQ from Image Generation MCP Server

What is the Replicate API token used for?

The Replicate API token is used for authentication with the Replicate service, which provides the Flux model for image generation.

How do I find my Claude Desktop configuration file?

The configuration file is located at ~/Library/Application Support/Claude/claude_desktop_config.json on MacOS and %APPDATA%/Claude/claude_desktop_config.json on Windows.

What happens if I don't provide a seed?

If you don't provide a seed, a random seed will be used, resulting in different images each time you run the tool with the same prompt.

What are the supported aspect ratios?

The supported aspect ratios depend on the underlying model. The default is 1:1. Other common ratios like 16:9 are often supported.

Can I use a different Replicate model?

Yes, you can specify a different Replicate model by setting the MODEL environment variable in the Claude Desktop configuration.