Image Generation MCP Server
by MCP-Mirror
This is a Model Context Protocol (MCP) server that generates high-quality images using the Flux.1 Schnell model via Together AI. It provides a standardized interface for specifying image generation parameters.
Last updated: N/A
What is Image Generation MCP Server?
This server is a Model Context Protocol (MCP) server designed to generate images using the Flux.1 Schnell model through the Together AI platform. It offers a standardized interface for specifying parameters related to image generation.
How to use Image Generation MCP Server?
To use this server, you need to install it using npm or npx, configure it with your Together AI API key, and then send requests to the generate_image
tool with the desired parameters. The only required parameter is the prompt, but you can customize other parameters like width, height, and model.
Key features of Image Generation MCP Server
High-quality image generation powered by Flux.1 Schnell model
Customizable image dimensions (width and height)
Clear error handling for prompt validation and API issues
Easy integration with MCP-compatible clients
Optional image saving to disk in PNG format
Use cases of Image Generation MCP Server
Generating images from text descriptions
Creating unique visual content for applications
Prototyping image ideas quickly
Integrating AI image generation into existing workflows
FAQ from Image Generation MCP Server
What is the required parameter to generate an image?
What is the required parameter to generate an image?
The prompt
parameter is the only required parameter.
What are the default values for image generation parameters?
What are the default values for image generation parameters?
The default values are: model: "black-forest-labs/FLUX.1-schnell-Free", width: 1024, height: 768, steps: 1, n: 1, response_format: "b64_json".
How do I configure the server with my Together AI API key?
How do I configure the server with my Together AI API key?
You need to set the TOGETHER_API_KEY
environment variable in your MCP server configuration.
What response formats are supported?
What response formats are supported?
The server supports b64_json
(Base64 encoded image data) and url
(URL to generated image) response formats.
How do I save the generated image to disk?
How do I save the generated image to disk?
You can specify the image_path
parameter in the request to save the image as a PNG file. Ensure the directory exists and is writable.