SiliconFlow Flux MCP Server logo

SiliconFlow Flux MCP Server

by lioensky

This is a Model Context Protocol (MCP) server that allows AI to use SiliconFlow's Flux model for image generation via the MCP protocol. It enables AI assistants to generate high-quality images.

View on GitHub

Last updated: N/A

What is SiliconFlow Flux MCP Server?

The SiliconFlow Flux MCP Server is a server based on the Model Context Protocol (MCP) that allows AI assistants to generate images using SiliconFlow's Flux model. It acts as a bridge between AI systems and the Flux model, enabling image creation through a standardized protocol.

How to use SiliconFlow Flux MCP Server?

To use the server, you need to clone the repository, install dependencies, build the project, configure the SiliconFlow API key in a .env file, and configure your MCP server to point to the built index.js file. After configuration, AI assistants can call the generate_image tool with parameters like prompt, resolution, and seed to generate images.

Key features of SiliconFlow Flux MCP Server

  • Allows AI assistants to generate high-quality images using SiliconFlow's Flux model

  • Supports multiple image resolutions: 1024x1024, 960x1280, 768x1024, 720x1440, 720x1280

  • Supports customizable generation parameters, such as random seeds

  • Caches recent image generation results

Use cases of SiliconFlow Flux MCP Server

  • Integrating image generation capabilities into AI assistants

  • Generating images from text prompts using AI models

  • Creating visual content for various applications

  • Automating image creation workflows

FAQ from SiliconFlow Flux MCP Server

What is the Model Context Protocol (MCP)?

MCP is a protocol that allows different AI models and systems to communicate and interact with each other.

Do I need a SiliconFlow API key to use this server?

Yes, you need a SiliconFlow API key to access the Flux model and generate images. You can obtain a key from https://cloud.siliconflow.cn/i/HxM1olJu.

What image resolutions are supported?

The server supports the following image resolutions: 1024x1024, 960x1280, 768x1024, 720x1440, 720x1280.

Can I specify a random seed for image generation?

Yes, you can specify a random seed to generate reproducible results.

How do I test the server?

You can use the MCP Inspector tool to test the server by running npm run inspector.