Labsco
MCP SERVER

Image Generation MCP Server

by GongRzhe

Generate images with the Flux model on Replicate from a text prompt, choosing the aspect ratio and output format, and pinning a seed when a result is worth reproducing.

Image GenerationVerified
Summary
Image generation is one call, with the model pinned by configuration rather than chosen per prompt.

One tool and five arguments: prompt, aspect_ratio, num_outputs, output_format and seed. The model comes from the MODEL environment variable, so it is decided once at configuration time and every generation in the session uses it — predictable, and not something a prompt can change by accident. There is no editing, upscaling or history here: it generates and returns.

What it is

A one-tool server for image generation through Replicate, using the Flux model.

What you get
  • An image generated from a text prompt, with the aspect ratio and output format chosen per call
  • A seed argument, so a prompt and seed pair can be re-run and varied deliberately rather than by chance
  • num_outputs, to take more than one candidate back from a single call
Requirements

REPLICATE_API_TOKEN and MODEL, and a Replicate account the token belongs to. MIT.

Setup effort

One command plus a key — npm install -g @gongrzhe/image-gen-server, then supply credentials