Related MCP Server Resources

Explore more AI models, providers, and integration options:

  • Explore AI Models
  • Explore AI Providers
  • Explore MCP Servers
  • LangDB Pricing
  • Documentation
  • AI Industry Blog
  • Image Generation MCP Server
  • MCP Screenshot Server
  • AWS Knowledge Base Retrieval MCP Server
  • Gemini MCP Image Generation Server
  • Alpha Vantage Stock Analysis MCP Server
Back to MCP Servers
Flux Schnell Server

Flux Schnell Server

Public
m-mcp/flux-schnell-server

Provides MCP protocol-based image generation API with customizable dimensions, seed control for reproducible results, asynchronous streaming, and seamless integration with Hugging Face model services.

python
0 tools
May 30, 2025
Updated Jun 4, 2025

Supercharge Your AI with Flux Schnell Server

MCP Server

Unlock the full potential of Flux Schnell Server through LangDB's AI Gateway. Get enterprise-grade security, analytics, and seamless integration with zero configuration.

Unified API Access
Complete Tracing
Instant Setup
Get Started Now

Free tier available • No credit card required

Instant Setup
99.9% Uptime
10,000+Monthly Requests

Flux Schnell Server

基于Flux Schnell模型的MCP图像生成服务器。

功能特点

  • 提供基于MCP协议的图像生成API
  • 支持自定义图片尺寸(宽度和高度)
  • 支持设置随机种子以复现特定生成结果
  • 支持异步流式响应
  • 提供HTTP接口调用Hugging Face的模型服务

安装要求

  • Python >= 3.10
  • 依赖包:
    • httpx >= 0.28.1
    • mcp[cli] >= 1.3.0

使用方法

开发环境设置

  1. 创建并激活 Python 虚拟环境
uv venv && source .venv/bin/activate # Unix/macOS # 或 .venv\Scripts\activate # Windows
  1. 安装开发依赖
uv sync # 以可编辑模式安装项目

调试方法

  1. 启用调试
mcp dev main.py 或者 npx -y @modelcontextprotocol/inspector uv run main.py
  1. 调用图像生成工具:
# 示例代码 async def test_main(): img_url = await image_generation( prompt="your prompt here", image_width=512, # 可选,默认512 image_height=512, # 可选,默认512 seed=3 # 可选,默认3 ) print(img_url)

API参数说明

  • prompt (str): 图像生成提示词
  • image_width (int, optional): 生成图片宽度,默认512
  • image_height (int, optional): 生成图片高度,默认512
  • seed (int, optional): 随机种子,默认3

示例

春天的生机

春天的生机

春天来了,大地苏醒,万物复苏。花儿竞相开放,嫩绿的叶子在微风中轻轻摇曳。空气中弥漫着泥土的芬芳和花儿的香气。小鸟在枝头欢快地歌唱,蝴蝶在花丛中翩翩起舞。阳光洒在大地上,温暖而明亮。春天的生机勃勃,让人心旷神怡。

这个示例展示了使用服务生成的图片效果。您可以在demo目录中找到完整的网页展示代码。

生成的图片URL可以直接用于:

  1. 网页图片展示
  2. 社交媒体分享
  3. 应用程序界面
Publicly Shared Threads0

Discover shared experiences

Shared threads will appear here, showcasing real-world applications and insights from the community. Check back soon for updates!

Share your threads to help others
Related MCPs5
  • Image Generation MCP Server
    Image Generation MCP Server

    Enables high-quality image generation via Model Context Protocol with customizable dimensions, promp...

    1 tools
    Added May 30, 2025
  • MCP Screenshot Server
    MCP Screenshot Server

    Provides Model Context Protocol-based screenshot capture of web pages and local HTML files with conf...

    1 tools
    Added May 30, 2025
  • AWS Knowledge Base Retrieval MCP Server
    AWS Knowledge Base Retrieval MCP Server

    Retrieval-Augmented Generation (RAG) server enabling efficient extraction of contextual information ...

    Added May 30, 2025
  • Gemini MCP Image Generation Server
    Gemini MCP Image Generation Server

    Provides image generation capabilities via Google's Gemini 2 API using the Model Context Protocol, e...

    1 tools
    Added May 30, 2025
  • Alpha Vantage Stock Analysis MCP Server
    Alpha Vantage Stock Analysis MCP Server

    Provides real-time and historical stock market data, customizable intraday and daily intervals, and ...

    3 tools
    Added May 30, 2025