Loading...

Replicate Flux MCP empowers AI assistants to generate images and vector graphics using Replicate's Flux Schnell and Recraft V3 SVG models, locally and securely.
Boost this tool
Subscribe to listing upgrades or segmented pushes.
Replicate Flux MCP empowers AI assistants to generate images and vector graphics using Replicate's Flux Schnell and Recraft V3 SVG models, locally and securely.
This MCP server is relatively safe for generating images and SVGs, but the risk of API key exposure and unexpected image content should be considered. It's safe when used responsibly with a securely stored API key and content filtering mechanisms in place. It's risky if the API key is exposed or if used without content moderation.
Performance depends on the Replicate API's response times and the complexity of the generated images. Larger images and more complex prompts may take longer to generate.
Cost is primarily determined by Replicate API usage. Be mindful of the number of API calls and the resources consumed by image generation.
npm install
```{
"mcpServers": {
"replicate-flux-mcp": {
"command": "env REPLICATE_API_TOKEN=YOUR_TOKEN npx",
"args": ["-y", "replicate-flux-mcp"]
}
}
}REPLICATE_API_TOKENCONFIGgenerate_imageGenerates an image from a text prompt using the Flux Schnell model.
Writes new image files based on user prompts.
generate_multiple_imagesGenerates multiple images from an array of text prompts using the Flux Schnell model.
Writes multiple image files based on user prompts.
generate_image_variantsGenerates multiple variants of an image from a single prompt, exploring different interpretations.
Writes multiple image files based on variations of a user prompt.
generate_svgGenerates an SVG vector image from a text prompt using the Recraft V3 SVG model.
Writes a new SVG file based on user prompt.
prediction_listRetrieves a list of recent prediction metadata from Replicate.
Read-only operation; retrieves prediction metadata.
get_predictionGets detailed information about a specific prediction from Replicate.
Read-only operation; retrieves details about a specific prediction.
Environment Variable
cloud
This MCP server is relatively safe for generating images and SVGs, but the risk of API key exposure and unexpected image content should be considered. It's safe when used responsibly with a securely stored API key and content filtering mechanisms in place. It's risky if the API key is exposed or if used without content moderation.
The server relies on user-provided prompts to generate images and SVGs. Autonomy is limited by the capabilities of the underlying Replicate API and the configured parameters.
Production Tip
Monitor Replicate API usage to prevent unexpected costs and ensure service availability.
The Replicate API token authenticates your requests to the Replicate API, allowing you to use the Flux Schnell and Recraft V3 SVG models.
Sign up for an account at Replicate.com and create an API token in your account settings.
The `generate_image` tool supports WebP, JPG, and PNG formats. The `generate_svg` tool generates SVG vector images.
Yes, the `megapixels` parameter allows you to select between "1" (high resolution) and "0.25" (lower resolution).
Yes, there is a safety filter enabled by default. You can disable it using the `disable_safety_checker` parameter, but this is not recommended.
Use the `generate_multiple_images` tool to generate multiple images from an array of prompts, or use `generate_image_variants` to create variations of a single prompt.
The cost is primarily determined by the number of API calls made to the Replicate API. Monitor your usage to avoid unexpected charges.