x402image

org.x402image由 x402image.org 发布官方发布者v1.0.0更新于 Oct 24, 2026

x402 image tools (USDC/Base): remove_background/upscale $0.02, resize/optimize $0.005; URL in/out

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

概览

AI 生成的概览

远程图像处理服务,让助手通过按次付费的工具完成去背景、放大、缩放、格式转换和压缩。

可以做什么
免费且无需输入地查询服务元数据、付费图像工具清单及每次调用的美元价格。用 AI 分割去除图片背景,可选用颜色填充被移除区域。用 AI 超分辨率按目标宽高放大图片。按精确尺寸缩放或裁剪,支持适配方式与以人脸等为焦点的裁剪。转换格式并压缩图片,或在一次付费调用中按顺序执行多个操作流水线。
适用场景
适合助手需要直接对来源 URL 上的图片做快速编辑而无需本地图像库时:抠图、放大、精确缩放、格式转换或压缩,尤其适合把多个操作合并为一次付费请求。
运行要求
远程 streamable HTTP 端点;未声明本地运行时、账号、API 密钥或请求头。每个图像操作以来源 URL 接收图片并返回短期有效的签名 URL。付费调用通过 Base 上的 USDC 结算,需要支持支付的客户端。
安装前请注意
除 service_info 外每个图像操作都按次收费(remove_background 与 upscale 每次 0.02 美元,resize 与 optimize 每次 0.005 美元,process 为所含步骤价格之和),重复或流水线调用费用会累积。图片会以 URL 形式发送给第三方服务。输出为会过期的短期签名 URL。未声明身份验证,支付本身即为访问控制。

安装

在 SourceWeft 中

  1. 打开 控制台中的 x402image,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

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

交给智能体安装

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

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

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

其他 MCP 客户端

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

{
  "mcpServers": {
    "x402image": {
      "type": "http",
      "url": "https://x402image.org/mcp"
    }
  }
}

工具

6

service_info

Free. Returns x402image service metadata and the list of paid image tools with their per-call USD prices. No payment or input required. Call this first to discover capabilities and pricing.

无需输入参数。

remove_background

Remove an image's background, isolating the subject (BiRefNet AI segmentation). $0.02 per call. Input: an image via source URL. Params: background (optional fill color for the removed area, e.g. 'white'; omit for a transparent cutout — use a PNG/WebP output to keep transparency). Output: the cut-out image as a short-lived signed URL.

输入参数params必填source必填

upscale

Upscale an image with AI super-resolution (ESRGAN) for sharper enlargement. $0.02 per call. Input: an image via source URL. Params: width and/or height (target pixels; at least one required). Output: the enlarged image as a short-lived signed URL.

输入参数params必填source必填

resize

Resize or crop an image to an exact width/height. $0.005 per call. Input: an image via source URL. Params: width, height (pixels); fit (scale-down|contain|pad|squeeze|cover|crop); gravity (auto|face|left|right|top|bottom|center|entropy — focal point for cover/crop, use 'face' to keep faces); background (fill color for 'pad', e.g. 'white' or 'rgba(0,0,0,0)' for transparent). At least one of width/height is required. Output: the transformed image as a short-lived signed URL.

输入参数params必填source必填

optimize

Convert format and/or compress an image. $0.005 per call. Input: an image via source URL. Params: format (webp|avif|jpeg|png|gif); quality (1-100, default 85 — lower is smaller). At least one of format/quality is required. Output: the optimized image as a short-lived signed URL.

输入参数params必填source必填

process

Apply an ordered pipeline of image ops in a single paid call: one payment, one output. Price is the sum of the included ops’ prices — call without payment to get a 402 quote. Input: source (image URL), steps (ordered [{op, params}], e.g. [{"op":"remove_background"},{"op":"resize","params":{"width":800}}]). Call service_info for the available ops and their per-op prices. Output: the processed image as a short-lived signed URL.

输入参数steps必填source必填

版本历史

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

评分

已满足适用检查项的 72%

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

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

    请在注册中心条目中发布图标。

  • 文档15 分

    请声明包含 README 的 GitHub 仓库,或在 OAuth 受保护资源元数据中提供 resource_documentation。

  • 许可证不适用

    托管服务按其提供方的条款使用,因此这里不要求许可证。此检查项不计入百分比。