Image Tools - Background Removal, Upscaling & Face Restoration

io.github.fasuizu-br由 GitHub 账号 fasuizu-br 发布v1.1.0更新于 Oct 24, 2026

Background removal, 4x upscaling, and face restoration via GPU

已验证Streamable HTTP可网页运行媒体与设计

概览

AI 生成的概览

远程 MCP 服务器,提供 GPU 图像处理:去背景、2x/4x 放大与人脸修复,输入为 base64 图片。

可以做什么
  • 去除图片背景,返回透明 PNG 或白底 WebP
  • 用 Real-ESRGAN 将图片放大 2 倍或 4 倍,输出最大 8192x8192
  • 用 GFPGAN 检测并修复人脸,可选同时增强背景
  • 查询图像服务与已加载模型的健康状态
适用场景
适合需要清理商品图、为设计或网页准备图片,或在本地没有 GPU 的情况下修复低质量人像的场景。
运行要求
需要远程 streamable HTTP 端点,图片以 base64 数据传入。清单未声明认证、环境变量或请求头。README 称其列出的网关已停用,且当前 API 使用 Authorization Bearer 密钥,使用前应先确认可用端点与密钥要求。
安装前请注意
图片会上传到第三方服务,避免发送敏感或私人照片。README 将该网关标为旧版并已停用,并明确不要使用这些 URL,所列端点可能无法工作。清单未声明认证,但 README 说明当前 API 需要 Bearer 密钥;切勿提交真实密钥。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Image Tools - Background Removal, Upscaling & Face Restoration,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.github.fasuizu-br%2Fimage-tools/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "image-tools-background-removal-upscaling": {
      "type": "http",
      "url": "https://apim-ai-apis.azure-api.net/mcp/image/mcp"
    }
  }
}

README

Brainiall Speech AI examples — migration notice

[Current TTS health] [Current TTS repository]

This repository is legacy. The former apim-ai-apis.azure-api.net gateway and the old Speech AI MCP URLs documented in earlier revisions have been retired. Do not use those URLs. The other files in this repository are retained only as historical source and may no longer run.

Current supported surfaces

NeedCurrent surface
Text-to-speech MCP serverhttps://api.brainiall.com/mcp/tts/mcp
Text-to-speech REST endpointPOST https://api.brainiall.com/v1/tts/synthesize
TTS health checkhttps://api.brainiall.com/mcp/tts/health
TTS setup, OpenAPI and maintained examplesfasuizu-br/brainiall-tts-mcp
Brazilian Portuguese transcriptionTranscreve BR
Speech-to-text API overviewBrainiall Speech-to-Text
Account and API keyBrainiall app
Offline contract compatibility checkscompatibility-pack/

Authentication for the current API uses an Authorization: Bearer YOUR_BRAINIALL_API_KEY header. Never commit a real key.

For TTS examples for Claude, Cursor, VS Code, n8n, Postman and raw REST clients, use the maintained TTS repository linked above. It is the canonical source for current voices, prices and request schemas.

The small compatibility pack is different from the historical examples. It is an offline-only contract test for buffered TTS, generic diarized-STT review artifacts, a synthetic diarization canary and local-by-default usage planning. It performs no API call during tests, contains no key, copies no third-party source, and does not claim streaming, cancellation, OpenAI drop-in compatibility, completed third-party integration or billing. Read its kill gates before reusing it.

Why this notice exists

External directories and search engines may still link to this repository. This notice prevents an old listing from sending developers to endpoints that no longer work and points them to the maintained production surfaces.

License

MIT — Brainiall

C112 — hosted STT contract fixture

The Whisper-WebUI OpenAI-compatible fixture is a provider-neutral, synthetic request/response example for maintainers evaluating an external speech-to-text path. It does not claim that Whisper-WebUI has adopted the contract, and it never includes a key or private audio.

来源:README.md,提交 eab44aa

工具

4

remove_background

Remove Background

Remove the background from an image. Uses BiRefNet segmentation to precisely separate foreground from background. Returns a base64-encoded image with transparent background (PNG) or white background (WebP). Sub-500ms latency on GPU. Args: image_base64: Base64-encoded image data (PNG, JPEG, or WebP). output_format: Output format -- 'png' (with transparency) or 'webp'. Returns: dict with keys: - image_base64 (str): Base64-encoded result image - format (str): Output image format - original_size (dict): Original width and height - processing_ms (int): Processing time in milliseconds

输入参数image_base64必填output_format

upscale_image

Upscale Image

Upscale image resolution using Real-ESRGAN. Enhances image resolution by 2x or 4x using GPU-accelerated Real-ESRGAN super-resolution. Processes in tiles (256x256) to manage VRAM. Maximum output dimension: 8192x8192. Args: image_base64: Base64-encoded image data (PNG, JPEG, or WebP). scale: Upscale factor -- 2 or 4 (default: 4). Returns: dict with keys: - image (str): Base64-encoded upscaled image - format (str): Output image format - width (int): Output width - height (int): Output height - scale (int): Scale factor applied - processing_time_ms (float): Processing time in milliseconds

输入参数scaleimage_base64必填

restore_face

Restore Face

Restore and enhance faces in an image using GFPGAN. Detects all faces via RetinaFace, restores quality (fixes blur, noise, compression artifacts), and pastes them back. Optionally enhances the background using Real-ESRGAN. GPU-accelerated, sub-3s latency. Args: image_base64: Base64-encoded image data containing faces (PNG, JPEG, WebP). upscale: Output upscale factor -- 1 to 4 (default: 2). enhance_background: Whether to enhance background with Real-ESRGAN (default: true). Returns: dict with keys: - image (str): Base64-encoded restored image - format (str): Output image format - width (int): Output width - height (int): Output height - upscale (int): Scale factor applied - processing_time_ms (float): Processing time in milliseconds

输入参数upscaleimage_base64必填enhance_background

check_image_service

Check Image Service

Check health status of Image API services and loaded models. Returns: dict with keys: - status (str): 'healthy' or error state - models (dict): Loaded model status per capability - version (str): API version

无需输入参数。

版本历史

1
  1. v1.1.0最新Sep 16, 2026

评分

已满足适用检查项的 100%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分