mcp-imagegen-flux mcp
v1.0.0 · MCP Tool · ai · registry.pascalai.org
Generate images using Flux models (FLUX.1-schnell, FLUX.1-dev) via Replicate or local deployment.
fluximagegendiffusionaiimages
Input Parameters
| Parameter | Type | Description |
| api_keyrequired |
string |
Replicate API token. |
| modeloptional |
string |
One of: flux-schnell, flux-dev, flux-pro. Default: flux-schnell. |
| promptrequired |
string |
|
| widthoptional |
integer |
Default: 1024. |
| heightoptional |
integer |
Default: 1024. |
| stepsoptional |
integer |
Number of inference steps. Default: 4. |
| guidanceoptional |
number |
Default: 3.5. |
| seedoptional |
integer |
|
| output_formatoptional |
string |
One of: webp, jpg, png. Default: webp. |
| output_qualityoptional |
integer |
Default: 80. |
| output_pathoptional |
string |
|
Output Fields
| Field | Type | Description |
| images |
array[string] |
|
| model |
string |
|
| seed |
integer |
|
Examples
Fast image with Flux Schnell
// Input
{
"api_key": "r8_xxx",
"model": "flux-schnell",
"prompt": "A golden retriever puppy playing in autumn leaves",
"width": 1024,
"height": 1024,
"steps": 4
}
// Output
{
"images": [
"https://replicate.delivery/..."
],
"model": "flux-schnell"
}
Install & Discovery
Install
ppm install mcp-imagegen-flux
Get JSON Schema
GET /v1/packages/mcp-imagegen-flux/1.0.0/schema
Discover by keyword
GET /v1/mcp/discover?q=flux
Discovery hint: Install with ppm install mcp-imagegen-flux or invoke remotely via POST /v1/invoke/mcp-imagegen-flux on the MCP Service.
PascalAI Usage
uses toolslib;
var Tool := LoadTool('mcp-imagegen-flux');
var R := Tool.Call(JsonObj([]));
Writeln(R.ToJSON);