本 ComfyUI 工作流“Topaz:风景图像超分辨率(Topaz Reimagine)”专为提升和超分辨率风景图片设计,能增强细节并提升整体画质。流程依托 Topaz Reimagine 模型,以其出色的自然风景细节增强能力著称。主要节点包括 LoadImage(导入原始风景图片)、TopazImageEnhance(应用高级算法进行超分和细节优化)、GetImageSize(确保图片按需缩放)、ImageScaleBy(调整到目标分辨率),最后 SaveImage 节点输出增强后的图片,适合高质量打印或数字展示。该流程特别适合摄影师和数字艺术家,在不损失细节或引入伪影的前提下对风景图片进行超分辨率处理。
API
Use this workflow from code
Every Comfy workflow is a JSON graph. The payload below is this workflow, exactly as ComfyUI runs it — fetch it from the URL, keep it in version control, or load it in ComfyUI and run it node by node.
Run it from TypeScript or Python with the Comfy SDK. The same code targets Comfy Cloud or a ComfyUI you host yourself — only the base URL changes.
// Install (beta)
npm i @comfyorg/sdk
// Run "Topaz:使用 Topaz Reimagine 进行景观放大" (TypeScript)
import { Comfy } from "@comfyorg/sdk";
const client = new Comfy({ apiKey: "comfyui-..." });
// This workflow, exported in API format (see note below)
const wf = await client.workflows.fromFile("utility-topaz_landscape_upscaler_api.json");
const asset = client.assets.fromFile("input.png");
wf.setInput("2", "image", asset); // LoadImage
const job = await client.run(wf);
await job.getOutputs("4")[0].toFile("output.png"); // SaveImageThe SDK takes a workflow in API format: open this workflow in ComfyUI and use File → Export Workflow (API).
Comfy Cloud API access requires a plan with an API key.
常见问题
















