MCP-Server

x402image

org.x402image/image
Design & Kreativ Medien & Inhalte Öffentlich und erreichbar MCP 2025-11-25

Was dieses MCP kann

Processes images by removing backgrounds, resizing, optimizing formats, and applying AI upscaling pipelines.

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.
Externer Zugriff
Eingabeschema
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['source', 'params'], 'properties': {'params': {'type': 'object', 'properties': {'format': {'enum': ['webp', 'avif', 'jpeg', 'png', 'gif'], 'type': 'string'}, 'quality': {'type': 'integer', 'maximum': 100, 'minimum': 1}}}, 'source': {'type': 'string', 'format': 'uri', 'description': 'Public https:// URL of the source image to process.'}}}
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.
Externer Zugriff
Eingabeschema
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['source', 'steps'], 'properties': {'steps': {'type': 'array', 'items': {'type': 'object', 'required': ['op'], 'properties': {'op': {'type': 'string', 'description': 'op name, e.g. remove_background/upscale/resize/optimize'}, 'params': {'type': 'object', 'description': 'op-specific params; call service_info / the atomic tool for its schema', 'propertyNames': {'type': 'string'}, 'additionalProperties': {}}}}, 'minItems': 1, 'description': 'Ordered ops to apply in a single pass.'}, 'source': {'type': 'string', 'format': 'uri', 'description': 'Public https:// URL of the source image to process.'}}}
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.
Externer Zugriff
Eingabeschema
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['source', 'params'], 'properties': {'params': {'type': 'object', 'properties': {'background': {'type': 'string'}}}, 'source': {'type': 'string', 'format': 'uri', 'description': 'Public https:// URL of the source image to process.'}}}
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.
Externer Zugriff
Eingabeschema
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['source', 'params'], 'properties': {'params': {'type': 'object', 'properties': {'fit': {'enum': ['scale-down', 'contain', 'pad', 'squeeze', 'cover', 'crop'], 'type': 'string'}, 'width': {'type': 'integer', 'maximum': 10000, 'exclusiveMinimum': 0}, 'height': {'type': 'integer', 'maximum': 10000, 'exclusiveMinimum': 0}, 'gravity': {'enum': ['auto', 'face', 'left', 'right', 'top', 'bottom', 'center', 'entropy'], 'type': 'string'}, 'background': {'type': 'string'}}}, 'source': {'type': 'string', 'format': 'uri', 'description': 'Public https:// URL of the source image to process.'}}}
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.
Nur Lesen
Eingabeschema
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {}}
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.
Externer Zugriff
Eingabeschema
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['source', 'params'], 'properties': {'params': {'type': 'object', 'properties': {'width': {'type': 'integer', 'maximum': 10000, 'exclusiveMinimum': 0}, 'height': {'type': 'integer', 'maximum': 10000, 'exclusiveMinimum': 0}}}, 'source': {'type': 'string', 'format': 'uri', 'description': 'Public https:// URL of the source image to process.'}}}
Hinzugefügt
process
21. September 2026 02:45
Hinzugefügt
optimize
21. September 2026 02:45
Hinzugefügt
resize
21. September 2026 02:45
Hinzugefügt
upscale
21. September 2026 02:45
Hinzugefügt
remove_background
21. September 2026 02:45
Hinzugefügt
service_info
21. September 2026 02:45