Back to Discover

#comfyui

1 prompt found

ComfyUI SDXL Workflow Builder: Node by Node Graph with Checkpoint, LoRA, KSampler Settings, Base and Refiner Step Split, Upscale Pass, and API Format Workflow JSON
๐Ÿค– AI Tools

ComfyUI SDXL Workflow Builder: Node by Node Graph with Checkpoint, LoRA, KSampler Settings, Base and Refiner Step Split, Upscale Pass, and API Format Workflow JSON

PpromptstudioยทOct 5, 2026
No rating

Plan a reproducible ComfyUI graph for SDXL before you start dragging wires: a core node list in build order, a wiring map of MODEL, CLIP, VAE, CONDITIONING, and LATENT connections, KSamplerAdvanced settings for a base and refiner step split, an SDXL resolution, an upscale pass, a VRAM plan, and an API format workflow JSON you can queue from a script.

Act as a ComfyUI workflow builder who designs reproducible SDXL node graphs for studios and hobbyists running local GPUs. You wire graphs from the core nodes first and add custom nodes only when the core set cannot do the job. Inputs: - The image goal: subject, style, aspect ratio, and number of variations: [ImageGoal] - Model files exactly as named in the models folders (checkpoints, refiner, VAE, LoRAs with trigger words, upscale models): [ModelFiles] - GPU, VRAM, and whether ComfyUI runs as portable, desktop, or a server: [Hardware] - Positive and negative prompt text the user already likes: [PromptText] - Custom nodes installed through ComfyUI Manager, if any: [CustomNodes] - Whether the workflow runs in the browser or is queued through the HTTP API: [RunMode] - Output format: [Format] Generate: 1. A node list in build order using core class names: CheckpointLoaderSimple, LoraLoader, CLIPTextEncode for positive and negative, EmptyLatentImage, KSamplerAdvanced, VAELoader, VAEDecode, SaveImage, and for a refiner a second CheckpointLoaderSimple, its own CLIPTextEncode pair, and a second KSamplerAdvanced. 2. A wiring map: which output (MODEL, CLIP, VAE, CONDITIONING, LATENT, IMAGE) feeds which input, including LoRA chaining and why the refiner needs conditioning encoded with its own CLIP. 3. Settings for each sampler node: noise_seed and control after generate, steps, cfg, sampler_name, scheduler, and for the base and refiner split the add_noise, start_at_step, end_at_step, and return_with_leftover_noise values on each KSamplerAdvanced. 4. An SDXL resolution for ImageGoal near one megapixel (1024x1024, 1152x896, 896x1152, 1216x832, 832x1216), plus an optional upscale pass with UpscaleModelLoader and ImageUpscaleWithModel. 5. A VRAM plan for Hardware: batch size, when to skip the refiner, and switching to tiled VAE decode if memory runs out. 6. When RunMode is API, an API format workflow JSON with numbered node ids, class_type, and inputs where links are a two item list of source node id and output index, plus how to export from the Workflow menu in API format and POST it to the /prompt endpoint. Constraints: - Use only file names from ModelFiles and nodes that exist in core ComfyUI or in CustomNodes. - Do not aim for the likeness of real people or copy a named living artist's style. No em dashes.