MCP.so
Sign In

Flux Image Generator

@frankdeno

About Flux Image Generator

flux-image-generator-mcp

Config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "flux-image-generator": {
      "command": "mcp-server-flux-image-generator",
      "env": {
        "BFL_API_KEY": "your_api_key_here"
      }
    }
  }
}

Tools

No tools detected

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is Flux Image Generator?

An MCP server that generates images using Black Forest Lab’s FLUX model. It integrates with MCP clients (e.g., Claude) and requires a Black Forest Lab API key. Aimed at developers and users who want to create AI-generated images with customizable settings.

How to use Flux Image Generator?

Install via npm (npm install -g @modelcontextprotocol/server-flux-image-generator) or from source. Configure your BFL_API_KEY in a .env file or client config. Start the server with npm start. Then invoke its tools (generateImage, quickImage, batchGenerateImages) from an MCP client.

Key features of Flux Image Generator

  • Generate images from text prompts with customizable dimensions.
  • Optional prompt upsampling for enhanced detail.
  • Safety tolerance setting for content moderation (1–5).
  • Batch generation of up to 10 images from multiple prompts.
  • Saves generated images locally and returns image URLs.

Use cases of Flux Image Generator

  • Generate concept art or illustrations for creative projects.
  • Quickly produce multiple image variants from a list of prompts.
  • Integrate AI image generation into chat or workflow tools via MCP.
  • Reproduce results using a fixed random seed.

FAQ from Flux Image Generator

What API key is required?

A Black Forest Lab API key (obtained at https://api.bfl.ml) must be set as the BFL_API_KEY environment variable.

What are the supported image dimensions?

Width and height default to 1024 pixels and can be customized in generateImage and batchGenerateImages.

Can I batch generate images?

Yes, use the batchGenerateImages tool with up to 10 prompts. Each prompt can have different results.

How does content moderation work?

The safetyTolerance parameter (1–5, default 3) controls how strictly the model filters prohibited content. A violation returns an error.

Where are generated images saved?

Images are saved locally (paths shown in responses) and also returned via a temporary image URL from storage.example.com.

Frequently asked questions

What API key is required?

A Black Forest Lab API key (obtained at https://api.bfl.ml) must be set as the `BFL_API_KEY` environment variable.

What are the supported image dimensions?

Width and height default to 1024 pixels and can be customized in `generateImage` and `batchGenerateImages`.

Can I batch generate images?

Yes, use the `batchGenerateImages` tool with up to 10 prompts. Each prompt can have different results.

How does content moderation work?

The `safetyTolerance` parameter (1–5, default 3) controls how strictly the model filters prohibited content. A violation returns an error.

Where are generated images saved?

Images are saved locally (paths shown in responses) and also returned via a temporary image URL from storage.example.com.

Comments

More Developer Tools MCP servers