dLazy AIdLazy AI
模型参考图像模型

superres

图像超分工具:提升图片清晰度与细节并返回增强后 URL,适合低清素材修复与二次放大输出。

图像超分工具:提升图片清晰度与细节并返回增强后 URL,适合低清素材修复与二次放大输出。

概览

字段
Model IDsuperres
CLIdlazy superres
MCPsuperres(在 Claude Code 中显示为 mcp__dlazy__superres
类型image
执行同步返回
批量支持 --batch <n> 并行扇出

参数

参数类型必填说明
imageurlYes图片链接;image(接受 URL、本地路径或 data: URL)

--input @file.json--input '{...}' 也可一次性提供所有参数;命令行 flag 优先级更高。

CLI 示例

dlazy superres --help
dlazy superres --image "https://example.com/reference.jpg"
dlazy superres --image "./local-image.png"
dlazy superres --image "https://example.com/reference.jpg" --dry-run
dlazy superres --image "https://example.com/reference.jpg" --batch 4

与管道组合

dlazy gpt-image-2 --prompt "参考图" \
  | dlazy superres --image -

MCP

MCP 由 AI 客户端调用,无需手写示例。把 dLazy 注册成 MCP server 后,工具会自动出现在客户端的工具列表里——Claude Code 中名字是 mcp__dlazy__superres,OpenClaw 等通用客户端按裸 superres 调用。

添加 MCP server 见 MCP 集成

输出

{
  "outputs": [
    { "type": "image", "id": "o_...", "url": "https://files.dlazy.com/result.png", "mimeType": "image/png" }
  ]
}

媒体类型工具返回 image / video / audio / file output;可通过 --output url 让 stdout 只保留 URL。

On this page