flux-image-generator-mcp

flux-image-generator-mcp

0

The FLUX Image Generator MCP Server leverages Black Forest Lab's FLUX model to produce images from text prompts. It supports features like custom dimensions and batch processing, making it a versatile tool for developers using the latest MCP SDK.

FLUX Image Generator MCP Server

An MCP server for generating images using Black Forest Lab's FLUX model. Utilizes features of the latest MCP SDK (v1.7.0).

Features

  • Generate images based on text prompts
  • Customize image dimensions and other settings
  • Save images locally
  • Batch image generation

Prerequisites

  • Node.js v18.0.0 or higher
  • Black Forest Lab API key

Installation

From Source

  1. Clone the repository
  2. Install dependencies
  3. Configure the API key in .env
  4. Build the project

Using npm

Install globally with npm.

Usage

Starting the MCP Server

Start with npm start or for development, use npm run watch.

Integration

Configure MCP clients to connect with the server.

Available Tools

  • generateImage: Generates an image based on a prompt.
  • quickImage: Quick generation with default settings.
  • batchGenerateImages: Generate multiple images from prompts.