SD3.5大型模糊 - After
SD3.5大型模糊 - Before

The SD3.5 Large Blur workflow is designed to generate high-quality images by leveraging blurred reference images as a guide. This technique utilizes the Stable Diffusion 3.5 (SD3.5) model, which is known for its ability to create detailed and visually appealing images. The workflow incorporates several key nodes, including the KSampler, CheckpointLoaderSimple, and ControlNetLoader, to efficiently manage the image generation process. By using a blurred image as a reference, the workflow can focus on capturing the essence of the image while allowing for creative interpretation in the finer details. This approach is particularly useful for artists and designers looking to create unique and imaginative visuals based on existing images.

The workflow begins by loading the necessary models and checkpoints, such as the 'sd3.5_large_fp8_scaled.safetensors' and the 'sd3.5_large_controlnet_blur.safetensors'. These models are essential for the ControlNetApplyAdvanced node, which applies advanced control techniques to the image generation process. Users are encouraged to preprocess their images using the 'comfyui_controlnet_aux' tool to ensure optimal results. The CLIPTextEncode node allows for the integration of text prompts that guide the image generation, enabling users to specify desired characteristics, such as color and style. The final output is decoded using the VAEDecode node and saved with the SaveImage node, providing users with a ready-to-use image that meets their creative needs.

API

從程式碼使用此工作流

每個 Comfy 工作流都是一個 JSON 圖。下方的 payload 就是此工作流,與 ComfyUI 執行時完全相同 — 你可以從此 URL 取得、放入版本控制,或在 ComfyUI 載入並逐節點執行。

sd3.5_large_blur.json
正在取得工作流 JSON…

使用 Comfy SDK 以 TypeScript 或 Python 執行。相同程式碼可用於 Comfy Cloud 或你自架的 ComfyUI — 只需更改 base URL。

// Install (beta)
npm i @comfyorg/sdk

// Run "SD3.5大型模糊" (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("sd3.5_large_blur_api.json");

const asset = client.assets.fromFile("input.png");
wf.setInput("57", "image", asset); // LoadImage

wf.setInput("6", "text", "crystal butterfly above the sea, white, hyper detailed, with diamonds"); // CLIPTextEncode

const job = await client.run(wf);
await job.getOutputs("9")[0].toFile("output.png"); // SaveImage

SDK 需使用 API 格式的工作流:請在 ComfyUI 開啟此工作流,並使用 檔案 → 匯出工作流(API)。

Comfy Cloud API 存取需有 API 金鑰的方案。

常見問題

常見問題

查看所有工作流
Showing 30 of 30 templates