
Experience the innovative potential of image generation with the Flux.1 Schnell FP8 workflow for ComfyUI. This workflow leverages the Flux.1 model's quantized version, optimized for low-end hardware, to produce stunning visual results with remarkable efficiency. With just four steps, users can create vibrant images that capture intricate details and rich colors, all while maintaining a straightforward process that is accessible to both novices and seasoned creators alike. The integration of nodes like CLIPTextEncode and VAEDecode ensures that text prompts are transformed into visually compelling images, making it a powerful tool for rapid prototyping and creative exploration.
The Flux.1 Schnell FP8 workflow stands out for its ability to render complex scenes with minimal resources. Thanks to the distilled model architecture, users can achieve professional-quality images without the need for high-end hardware. The workflow's simplicity is further enhanced by intuitive nodes such as the CheckpointLoaderSimple and KSampler, which streamline the process of loading models and sampling latent images, respectively. Whether you're envisioning a cosmic scene inside a mundane object or experimenting with surreal compositions, this workflow provides the tools necessary to bring your imaginative concepts to life with ease and precision.
API
從程式碼使用此工作流
每個 Comfy 工作流都是一個 JSON 圖。下方的 payload 就是此工作流,與 ComfyUI 執行時完全相同 — 你可以從此 URL 取得、放入版本控制,或在 ComfyUI 載入並逐節點執行。
使用 Comfy SDK 以 TypeScript 或 Python 執行。相同程式碼可用於 Comfy Cloud 或你自架的 ComfyUI — 只需更改 base URL。
// Install (beta)
npm i @comfyorg/sdk
// Run "Flux.1 Schnell FP8" (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("flux_schnell_api.json");
wf.setInput("6", "text", "your prompt here"); // CLIPTextEncode
const job = await client.run(wf);
await job.getOutputs("9")[0].toFile("output.png"); // SaveImageSDK 需使用 API 格式的工作流:請在 ComfyUI 開啟此工作流,並使用 檔案 → 匯出工作流(API)。
常見問題













