# SDXL Workflow Recipe

Use this when you want a simple local SDXL image workflow in ComfyUI.

## What to use

- any working SDXL checkpoint in `.safetensors` format
- a standard SDXL text-to-image ComfyUI workflow saved in API format

## Where to put the model

- put your SDXL checkpoint in `ComfyUI/models/checkpoints/`

## What to set in the app

1. Set `Engine` to `comfyui`
2. Set `Mode` to `image`
3. Set `Preset` to `SDXL Base 1.0`
4. Set `Server URL` to your local ComfyUI server
5. Pick your saved API-format SDXL workflow JSON
6. Leave `Expected Output` as `png`
7. Click `Refresh Models`
8. Choose `checkpoints`
9. Pick your SDXL checkpoint in `Model Override`

## Recommended node fields

For a normal SDXL checkpoint workflow:

- `Model Node`: `CheckpointLoaderSimple`
- `Model Input`: `ckpt_name`
- `Prompt Node`: `CLIP Text Encode (Prompt)`
- `Prompt Input`: `text`

If your workflow has a separate negative prompt node:

- `Negative Prompt Node`: the negative `CLIP Text Encode` node title or id
- `Negative Prompt Input`: `text`

If the node titles differ:

- use the exact node ids from your workflow instead

## Practical defaults

- test one prompt in ComfyUI before batching
- keep the workflow's own sampler, steps, and resolution at first
- once the workflow renders one clean image, the app can handle the batch, filenames, manifest, and retry flow

## Why this is simple

SDXL is the easiest local preset in the app because it usually maps cleanly to:

- checkpoint loader
- prompt node
- negative prompt node
- save image node

The workflow still owns the actual render settings. The app just handles batching and output organization.
