x402image

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

사용해야 할까요

품질 및 안전성

A
설명 품질
100%
스키마 완전성
82%
이름 품질
90%
오염 위험
100%
권한 일치
100%
프로토콜 준수
100%

도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.

컨텍스트 비용

~1,253토큰 (도구 정의)
~1.2 KB일반적인 응답 크기
중간 정도의 주의 영향 (128k 컨텍스트의 0.98%)

이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.

설치

원클릭 설치

`claude_desktop_config.json` 파일에 다음을 추가하세요:

{
  "mcpServers": {
    "image": {
      "url": "https://x402image.org/mcp"
    }
  }
}

원격 엔드포인트

https://x402image.org/mcpstreamable-http

할 수 있는 일

도구 목록

도구 (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.

입력 스키마

{
  "type": "object",
  "properties": {},
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🔴remove_background(source, params)

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.

입력 스키마

{
  "type": "object",
  "properties": {
    "source": {
      "type": "string",
      "format": "uri",
      "description": "Public https:// URL of the source image to process."
    },
    "params": {
      "type": "object",
      "properties": {
        "background": {
          "type": "string"
        }
      }
    }
  },
  "required": [
    "source",
    "params"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
⚪upscale(source, params)

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.

입력 스키마

{
  "type": "object",
  "properties": {
    "source": {
      "type": "string",
      "format": "uri",
      "description": "Public https:// URL of the source image to process."
    },
    "params": {
      "type": "object",
      "properties": {
        "width": {
          "type": "integer",
          "exclusiveMinimum": 0,
          "maximum": 10000
        },
        "height": {
          "type": "integer",
          "exclusiveMinimum": 0,
          "maximum": 10000
        }
      }
    }
  },
  "required": [
    "source",
    "params"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
⚪resize(source, params)

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.

입력 스키마

{
  "type": "object",
  "properties": {
    "source": {
      "type": "string",
      "format": "uri",
      "description": "Public https:// URL of the source image to process."
    },
    "params": {
      "type": "object",
      "properties": {
        "width": {
          "type": "integer",
          "exclusiveMinimum": 0,
          "maximum": 10000
        },
        "height": {
          "type": "integer",
          "exclusiveMinimum": 0,
          "maximum": 10000
        },
        "fit": {
          "type": "string",
          "enum": [
            "scale-down",
            "contain",
            "pad",
            "squeeze",
            "cover",
            "crop"
          ]
        },
        "gravity": {
          "type": "string",
          "enum": [
            "auto",
            "face",
            "left",
            "right",
            "top",
            "bottom",
            "center",
            "entropy"
          ]
        },
        "background": {
          "type": "string"
        }
      }
    }
  },
  "required": [
    "source",
    "params"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
⚪optimize(source, params)

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.

입력 스키마

{
  "type": "object",
  "properties": {
    "source": {
      "type": "string",
      "format": "uri",
      "description": "Public https:// URL of the source image to process."
    },
    "params": {
      "type": "object",
      "properties": {
        "format": {
          "type": "string",
          "enum": [
            "webp",
            "avif",
            "jpeg",
            "png",
            "gif"
          ]
        },
        "quality": {
          "type": "integer",
          "minimum": 1,
          "maximum": 100
        }
      }
    }
  },
  "required": [
    "source",
    "params"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢process(source, steps)

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.

입력 스키마

{
  "type": "object",
  "properties": {
    "source": {
      "type": "string",
      "format": "uri",
      "description": "Public https:// URL of the source image to process."
    },
    "steps": {
      "minItems": 1,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "op": {
            "type": "string",
            "description": "op name, e.g. remove_background/upscale/resize/optimize"
          },
          "params": {
            "description": "op-specific params; call service_info / the atomic tool for its schema",
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {}
          }
        },
        "required": [
          "op"
        ]
      },
      "description": "Ordered ops to apply in a single pass."
    }
  },
  "required": [
    "source",
    "steps"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}

커뮤니티

이 서버 평가하기

증거

최근 관측

검증됨버전이 기록되지 않음도구 6개
검증됨버전이 기록되지 않음도구 6개
검증됨버전이 기록되지 않음도구 6개
검증됨버전이 기록되지 않음도구 6개
검증됨버전이 기록되지 않음도구 6개
검증됨버전이 기록되지 않음도구 6개
검증됨버전이 기록되지 않음도구 6개
검증됨버전이 기록되지 않음도구 6개