Magnific:创意图像放大工作流旨在提升图片分辨率,同时保持画质和细节。该流程采用 Magnific 模型,支持最高16倍放大,适用于对高分辨率有要求的场景,如打印、数字艺术和精细展示。流程以 LoadImage 节点上传图片为起点,核心为 MagnificImageUpscalerCreativeNode,采用先进算法进行创意放大,兼顾艺术完整性和分辨率提升。最后通过 SaveImage 节点保存放大图片,ImageCompare 节点可并排对比原图与放大图,便于评估提升效果。
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 "Magnific:创意图像放大" (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("api_magnific_image_upscale_creative_api.json");
const asset = client.assets.fromFile("input.png");
wf.setInput("2", "image", asset); // LoadImage
const job = await client.run(wf);
await job.getOutputs("3")[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.
常见问题
















