replicate-flux-mcp

by awkoy
Verified

generate_image

Create custom images from text prompts using the Flux Schnell model. Specify aspect ratio, resolution, format, and quality for tailored results. Ideal for quick, scalable image generation.

Instructions

Generate an image from a text prompt using Flux Schnell model

Input Schema

NameRequiredDescriptionDefault
aspect_ratioNoAspect ratio for the generated image1:1
disable_safety_checkerNoDisable safety checker for generated images.
go_fastNoRun faster predictions with model optimized for speed (currently fp8 quantized); disable to run in original bf16
megapixelsNoApproximate number of megapixels for generated image1
num_inference_stepsNoNumber of denoising steps. 4 is recommended, and lower number of steps produce lower quality outputs, faster.
num_outputsNoNumber of outputs to generate
output_formatNoFormat of the output imageswebp
output_qualityNoQuality when saving the output images, from 0 to 100. 100 is best quality, 0 is lowest quality. Not relevant for .png outputs
promptYesPrompt for generated image
seedNoRandom seed. Set for reproducible generation
support_image_mcp_response_typeNoDisable if the image type is not supported in the response, if it's Cursor app for example

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "aspect_ratio": { "default": "1:1", "description": "Aspect ratio for the generated image", "enum": [ "1:1", "16:9", "21:9", "3:2", "2:3", "4:5", "5:4", "3:4", "4:3", "9:16", "9:21" ], "type": "string" }, "disable_safety_checker": { "default": false, "description": "Disable safety checker for generated images.", "type": "boolean" }, "go_fast": { "default": true, "description": "Run faster predictions with model optimized for speed (currently fp8 quantized); disable to run in original bf16", "type": "boolean" }, "megapixels": { "default": "1", "description": "Approximate number of megapixels for generated image", "enum": [ "1", "0.25" ], "type": "string" }, "num_inference_steps": { "default": 4, "description": "Number of denoising steps. 4 is recommended, and lower number of steps produce lower quality outputs, faster.", "maximum": 4, "minimum": 1, "type": "integer" }, "num_outputs": { "default": 1, "description": "Number of outputs to generate", "maximum": 4, "minimum": 1, "type": "integer" }, "output_format": { "default": "webp", "description": "Format of the output images", "enum": [ "webp", "jpg", "png" ], "type": "string" }, "output_quality": { "default": 80, "description": "Quality when saving the output images, from 0 to 100. 100 is best quality, 0 is lowest quality. Not relevant for .png outputs", "maximum": 100, "minimum": 0, "type": "integer" }, "prompt": { "description": "Prompt for generated image", "minLength": 1, "type": "string" }, "seed": { "description": "Random seed. Set for reproducible generation", "type": "integer" }, "support_image_mcp_response_type": { "default": true, "description": "Disable if the image type is not supported in the response, if it's Cursor app for example", "type": "boolean" } }, "required": [ "prompt" ], "type": "object" }

You must be authenticated.

Other Tools from replicate-flux-mcp

Related Tools

ID: ss8n1knen8