HM

hypersniper05/mcp-image-generator-uncensored

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

119 stars 22 forks 质量 81 趋势 8MIT

自托管的MCP服务器,用于图像生成和编辑,采用未审查的Qwen-Image-2.1模型

概览

一个自架的模型上下文协议服务器,可以在你的电脑上生成和编辑图像和视频:带有 、视频 、 (可选)。在你网络上的任何 MCP 客户端中请求使用 VS Code、光标、Claude Code、LM Studio 或网络上任何其他 MCP 客户端的图片或视频,它就会显示在聊天中。 你的GPU,你的图片。没有云端,没有账户,没有内容过滤。 - 安装 Docker,然后运行 start.cmd(Windows)或 ./start.sh(Linux)。每问一个问题按下回车键。脚本会找到你的 GPU,选择型号,下载并启动服务器。- 它运行在 4GB NVIDIA 显卡上。不适合 GPU 的部分则留在 RAM 中。你也可以将模型拆分到多个 GPU 和 CPU。参见 GPU 内存。- Turbo 在 RTX 5090 上用 5 秒完成 1344x768 张照片,在 RTX 3080 Ti 上用 12 秒。- 非 Turbo 型号写出小文字,且紧跟长提示。参见 Turbo 或非 Turbo。- 目前,Mac 上的 Docker 仅使用 CPU。苹果 GPU 的原生版本正在开发中:参见 Mac。

概述(AI 翻译)

自己创造

一个自托管的模型上下文协议服务器,用于制作和编辑图像和 在你自己的电脑上观看视频:使用Qwen-Image-2.1的图片,Kandinsky 6的视频(可选)。请求图片 或者视频在VS Code、光标、Claude Code、LM Studio或网络上任何其他MCP客户端中播放,并且该视频会出现在 聊天。

你的GPU,你的图片。没有云端,没有账户,没有内容过滤。

  • 文本转图片
  • 编辑
  • 修复
  • 图片中的文字
  • 透明PNG
  • 无缝质感
  • 360度全景
  • 高档
  • 水印去除
  • SVG
  • 视频、动画和GIF(可选) 视频扩展)
  • 运行简单。 安装 Docker,然后运行 start.cmd(Windows)或./start.sh(Linux)。在每个位置按下回车键 问题。脚本会找到你的GPU,选定型号,下载并启动服务器。
  • 显存低。 它运行在4GB的NVIDIA GPU。不适合GPU的部分会留在内存里。你也可以拆分型号 覆盖多个GPU和CPU。参见GPU内存。
  • 快速。 Turbo在RTX 5090上能拍出1344x768的照片,用RTX 3080 Ti只需12秒。
  • **质量。**非涡轮模型能很好地书写小文字,且紧跟长提示。参见 涡轮还是非涡轮。
  • **麦克。

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Make your own ``

A self-hosted Model Context Protocol server that makes and edits images and videos on your own computer: images with Qwen-Image-2.1, videos with Kandinsky 6 (optional). Ask for an image or a video in VS Code, Cursor, Claude Code, LM Studio or any other MCP client on your network, and it appears in the chat.

Your GPU, your images. No cloud, no account, no content filter.

  • Easy to run. Install Docker, then run start.cmd (Windows) or ./start.sh (Linux). Press Enter at each question. The script finds your GPU, picks the model, downloads it and starts the server.
  • Low VRAM. It runs on a 4 GB NVIDIA GPU. What does not fit on the GPU stays in RAM. You can also split the model over several GPUs and the CPU. See GPU memory.
  • Fast. Turbo makes a 1344x768 photo in 5 s on an RTX 5090 and in 12 s on an RTX 3080 Ti.
  • Quality. The Non-Turbo model writes small text well and follows long prompts closely. See Turbo or Non-Turbo.
  • Mac. For now, Docker on a Mac uses only the CPU. A native version for the Apple GPU is in development: see Mac.

The Non-Turbo model made these images with its default quality settings. Turbo made the restoration example, the love letter, the menu, the newer transparent images and the sources for the SVGs and animations. The video extension made the videos, animations and GIFs. The prompts are in the table below.

Make your own Text to image

Any size or aspect ratio, up to about 4 megapixels (2048x2048). Famous characters too, which many image services refuse.

Make your own Edit

在 GitHub 查看完整 README

安装

npx -y mcp-remote http://localhost:5005/mcp --allow-http
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "imagegen": { "url": "http://localhost:5005/mcp" } } }