imgfactory
Image ops over MCP: thumbnails, WebP, EXIF strip, pHash, OGP. Pay per call in USDC (x402).
我該用這個嗎
品質與安全性
根據工具定義與協定合規性的自動化分析。
上下文成本
這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。
安裝
一鍵安裝
將以下內容加入你的 `claude_desktop_config.json` 檔案:
{
"mcpServers": {
"imgfactory": {
"url": "https://imgfactory.dartmate.workers.dev/mcp"
}
}
}遠端端點
https://imgfactory.dartmate.workers.dev/mcpstreamable-http它能做什麼
工具清單
工具(16)
🟡img_convert_to_jpg(url, base64, data)
Use when JPG convert: change any image to JPEG, jpg converter, photo to jpg, when a form only takes JPG. image -> image/jpeg. 0.005 USDC per call (prepaid credit or x402 signature).
輸入結構描述
{
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "http(s) URL of the image (server fetches it)"
},
"base64": {
"type": "string",
"description": "raw base64 of the image bytes"
},
"data": {
"type": "string",
"description": "data: URL"
}
},
"anyOf": [
{
"required": [
"url"
]
},
{
"required": [
"base64"
]
},
{
"required": [
"data"
]
}
]
}⚪img_convert_to_webp(url, base64, data)
Use when WebP convert: png to webp, jpg to webp, webp converter, smaller web images, alpha kept. image -> image/webp. 0.005 USDC per call (prepaid credit or x402 signature).
輸入結構描述
{
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "http(s) URL of the image (server fetches it)"
},
"base64": {
"type": "string",
"description": "raw base64 of the image bytes"
},
"data": {
"type": "string",
"description": "data: URL"
}
},
"anyOf": [
{
"required": [
"url"
]
},
{
"required": [
"base64"
]
},
{
"required": [
"data"
]
}
]
}⚪img_resize_w512(url, base64, data)
Use when Resize image to 512px: shrink image, downscale, thumbnails, dataset norm, long edge 512. image -> image/png. 0.005 USDC per call (prepaid credit or x402 signature).
輸入結構描述
{
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "http(s) URL of the image (server fetches it)"
},
"base64": {
"type": "string",
"description": "raw base64 of the image bytes"
},
"data": {
"type": "string",
"description": "data: URL"
}
},
"anyOf": [
{
"required": [
"url"
]
},
{
"required": [
"base64"
]
},
{
"required": [
"data"
]
}
]
}⚪img_resize_w1024(url, base64, data)
Use when Resize image to 1024px: scale down image, shrink, preview size, long edge 1024. image -> image/png. 0.005 USDC per call (prepaid credit or x402 signature).
輸入結構描述
{
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "http(s) URL of the image (server fetches it)"
},
"base64": {
"type": "string",
"description": "raw base64 of the image bytes"
},
"data": {
"type": "string",
"description": "data: URL"
}
},
"anyOf": [
{
"required": [
"url"
]
},
{
"required": [
"base64"
]
},
{
"required": [
"data"
]
}
]
}🟢img_analyze_dimensions(url, base64, data)
Use when Image dimensions: image size, width and height, aspect ratio, resolution check, image info. image -> application/json. 0.004 USDC per call (prepaid credit or x402 signature).
輸入結構描述
{
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "http(s) URL of the image (server fetches it)"
},
"base64": {
"type": "string",
"description": "raw base64 of the image bytes"
},
"data": {
"type": "string",
"description": "data: URL"
}
},
"anyOf": [
{
"required": [
"url"
]
},
{
"required": [
"base64"
]
},
{
"required": [
"data"
]
}
]
}🟢img_analyze_phash(url, base64, data)
Use when Perceptual hash: phash, image hash, image dedupe, duplicate photos, near-duplicate detection. image -> application/json. 0.004 USDC per call (prepaid credit or x402 signature).
輸入結構描述
{
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "http(s) URL of the image (server fetches it)"
},
"base64": {
"type": "string",
"description": "raw base64 of the image bytes"
},
"data": {
"type": "string",
"description": "data: URL"
}
},
"anyOf": [
{
"required": [
"url"
]
},
{
"required": [
"base64"
]
},
{
"required": [
"data"
]
}
]
}🟡img_watermark_text(url, base64, data)
Use when Watermark text: add text watermark, copyright stamp, overlay text on image. image -> image/png. 0.010 USDC per call (prepaid credit or x402 signature).
輸入結構描述
{
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "http(s) URL of the image (server fetches it)"
},
"base64": {
"type": "string",
"description": "raw base64 of the image bytes"
},
"data": {
"type": "string",
"description": "data: URL"
}
},
"anyOf": [
{
"required": [
"url"
]
},
{
"required": [
"base64"
]
},
{
"required": [
"data"
]
}
]
}⚪img_nsfw_mosaic_full(url, base64, data)
Use when Mosaic censor full: pixelate image, mosaic whole image, censor pixelate, NSFW blur all. image -> image/jpeg. 0.020 USDC per call (prepaid credit or x402 signature).
輸入結構描述
{
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "http(s) URL of the image (server fetches it)"
},
"base64": {
"type": "string",
"description": "raw base64 of the image bytes"
},
"data": {
"type": "string",
"description": "data: URL"
}
},
"anyOf": [
{
"required": [
"url"
]
},
{
"required": [
"base64"
]
},
{
"required": [
"data"
]
}
]
}⚪img_jp_ogp_1200x630(url, base64, data)
Use when Japanese OGP image: 1200x630 ogp, x card image, jp social preview, cover crop. image -> image/jpeg. 0.020 USDC per call (prepaid credit or x402 signature).
輸入結構描述
{
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "http(s) URL of the image (server fetches it)"
},
"base64": {
"type": "string",
"description": "raw base64 of the image bytes"
},
"data": {
"type": "string",
"description": "data: URL"
}
},
"anyOf": [
{
"required": [
"url"
]
},
{
"required": [
"base64"
]
},
{
"required": [
"data"
]
}
]
}⚪img_thumbs_contact_sheet(url, base64, data)
Contact sheet: contact sheet generator, thumbnail grid, filmstrip overview of one image, 3x3 grid. image -> image/jpeg. 0.005 USDC per call (prepaid credit or x402 signature).
輸入結構描述
{
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "http(s) URL of the image (server fetches it)"
},
"base64": {
"type": "string",
"description": "raw base64 of the image bytes"
},
"data": {
"type": "string",
"description": "data: URL"
}
},
"anyOf": [
{
"required": [
"url"
]
},
{
"required": [
"base64"
]
},
{
"required": [
"data"
]
}
]
}⚪img_thumbs_thumbnail(url, base64, data)
Thumbnail generator: generate thumbnail, make a thumb, small preview jpeg, 256px thumb. image -> image/jpeg. 0.005 USDC per call (prepaid credit or x402 signature).
輸入結構描述
{
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "http(s) URL of the image (server fetches it)"
},
"base64": {
"type": "string",
"description": "raw base64 of the image bytes"
},
"data": {
"type": "string",
"description": "data: URL"
}
},
"anyOf": [
{
"required": [
"url"
]
},
{
"required": [
"base64"
]
},
{
"required": [
"data"
]
}
]
}⚪img_thumbs_og_image(url, base64, data)
OG image: open graph image 1200x630, social card image, twitter card preview png. image -> image/png. 0.005 USDC per call (prepaid credit or x402 signature).
輸入結構描述
{
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "http(s) URL of the image (server fetches it)"
},
"base64": {
"type": "string",
"description": "raw base64 of the image bytes"
},
"data": {
"type": "string",
"description": "data: URL"
}
},
"anyOf": [
{
"required": [
"url"
]
},
{
"required": [
"base64"
]
},
{
"required": [
"data"
]
}
]
}🟢img_analyze_qr_scan(url, base64, data)
QR code scan: decode QR codes and barcodes from an image, read qr, barcode reader. image -> application/json. 0.004 USDC per call (prepaid credit or x402 signature).
輸入結構描述
{
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "http(s) URL of the image (server fetches it)"
},
"base64": {
"type": "string",
"description": "raw base64 of the image bytes"
},
"data": {
"type": "string",
"description": "data: URL"
}
},
"anyOf": [
{
"required": [
"url"
]
},
{
"required": [
"base64"
]
},
{
"required": [
"data"
]
}
]
}⚪img_convert_image_to_pdf(url, base64, data)
Image to PDF: turn a jpg or png into a single-page PDF, image to pdf converter. image -> application/pdf. 0.005 USDC per call (prepaid credit or x402 signature).
輸入結構描述
{
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "http(s) URL of the image (server fetches it)"
},
"base64": {
"type": "string",
"description": "raw base64 of the image bytes"
},
"data": {
"type": "string",
"description": "data: URL"
}
},
"anyOf": [
{
"required": [
"url"
]
},
{
"required": [
"base64"
]
},
{
"required": [
"data"
]
}
]
}🟢img_catalog(q)
List all 90 operations with prices (free).
輸入結構描述
{
"type": "object",
"properties": {
"q": {
"type": "string",
"description": "filter substring"
}
}
}⚪img_op(op, url, base64, data, op_id, ...)
Call any operation by id (see img_catalog). Same price as the endpoint. Image ops take url|base64|data; jobs/submit takes op_id + files[]; jobs/status takes id.
輸入結構描述
{
"type": "object",
"properties": {
"op": {
"type": "string",
"description": "operation id, e.g. geometry/sharpen (see img_catalog); also jobs/submit and jobs/status"
},
"url": {
"type": "string",
"description": "image ops: http(s) URL of the input (server fetches it)"
},
"base64": {
"type": "string",
"description": "image ops: raw base64 of the input bytes"
},
"data": {
"type": "string",
"description": "image ops: data: URL"
},
"op_id": {
"type": "string",
"description": "jobs/submit only: the image operation to apply to every file, e.g. resize/w512"
},
"params": {
"type": "string",
"description": "jobs/submit only: optional params string, e.g. w=512"
},
"files": {
"type": "array",
"description": "jobs/submit only: 1-100 inputs",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"url": {
"type": "string"
},
"base64": {
"type": "string"
},
"data": {
"type": "string"
}
}
}
},
"id": {
"type": "string",
"description": "jobs/status only: the jobId returned by jobs/submit"
}
},
"required": [
"op"
]
}社群
證據