TL;DR: I built a local ComfyUI workflow that generates candidates, runs technical checks and presents contact sheets. I reviewed the results and decided what to change or keep. Automatic retries based on check results stayed at the design stage.

I asked a local image pipeline for a dirt tile. Twice, it gave me something closer to a brick wall.

The template asked for a repeating surface texture. I rewrote it around a top-down view of the terrain and took out the wording about textures and tiling. The next candidate looked like dirt. That cycle became the pattern for reviewing other pixel-art assets.

From request to review

I used SDXL Base 1.0 with the Pixel Art XL LoRA at a strength of 1.2 for both the model and text encoder. ComfyUI produced the source images on a laptop with an RTX 4060 Laptop GPU, 8 GB of VRAM and 16 GB of system RAM. Scripts converted the images into pixel assets and assembled contact sheets.

The studio took an asset request for a character, terrain type or prop. A recipe defined the available stages. For a character, I could start with a master image and work through references, portraits, poses and animation, or request a subset of those stages.

At each stage, the studio listed the items I’d already kept and the commands for the next step. Claude ran the generation, processing and contact-sheet scripts. Once I chose a candidate, the studio recorded it and its source in a library so the next stage could reuse it.

request → select recipe stage → generate candidates → process and check → contact sheet → owner chooses → keep selected result → next stage 

What the checks actually check

A picture can have the right dimensions and still be a bad design. I found it useful to keep those judgments separate.

The pipeline checked measurable properties such as dimensions and colour count. The library validator checked that kept files were indexed, their hashes matched and their source manifests existed. I used the contact sheets to judge whether the character looked consistent across poses.

Each generation also has a manifest containing information such as the workflow version, model hashes, prompt, seed, sampler, size and the graph that ran. Processed assets have their own record pointing back to their source. The ComfyUI canvas can still be edited directly, but the project notes say those edits need to be copied into a new registered workflow version for a tracked run.

One limitation appeared in the project’s own assessment: the dedicated controlnet field in the generation manifest was empty even when ControlNet was used. The embedded graph retained the detail, but a reader looking only at that field would miss it. A manifest is only as useful as the fields it actually records.

A second iteration: identity versus pose

The character tests made the difference between technical checks and visual review obvious. I wanted the same character in several poses. IPAdapter kept the reference character’s identity, but at weights of 0.7, 0.45 and 0.3 the poses kept returning to the reference’s front-facing stance. Changing pose words alone was not enough in those runs.

I added authored OpenPose skeletons through ControlNet. In one recorded cycle, IPAdapter at 0.5 and OpenPose ControlNet at 0.8, ending at 0.8, produced recognizable walk and attack poses while retaining features such as the character’s hair, armour and cape. The hurt pose barely recoiled, and the sword angle was still uncontrolled. The first skeletons also made the body slimmer and taller than the master, so their proportions were revised.

The OpenPose skeletons guided the body positions while IPAdapter carried over the character’s hair, armour and cape. A white artifact remained under the idle pose.

In a later test, IPAdapter brought the reference sword back in four of five poses despite instructions to leave the hands empty. Using an empty-handed reference improved the result. I also tried combining a pose ControlNet with a second ControlNet for the weapon guide. ComfyUI crashed twice as system memory use reached 16 GB. I ended up drawing the weapon on a separate layer with a script so I could control the angle. Where the generated hand missed the skeleton’s wrist, I supplied the attachment point by hand.

What I would automate next

After the experiment, I assessed a state graph around the existing scripts. The proposed routing was:

generate → deterministic QA ├─ pass → owner review └─ fail → bounded retry with a changed variable 

The proposed graph would call the existing scripts, save stage state and check results, and resume after an interruption. A vision model could add an advisory note. I would still choose which candidate to keep.

Results and limits

The pipeline report counted 126 generation attempts, including 13 with errors. Later in the same experiment, the cumulative log had reached 168 attempts, including 29 with errors. The report recorded several failure causes, including memory pressure.

The experiment produced pose sets, a four-frame walk and a three-frame attack, and generated resources were loaded in a Godot integration scene. It also left visible issues: passing walk frames differed in cape shape, some weapon attachment points needed adjustment, and the machine struggled with heavier graphs. The pipeline remained experimental. Nothing had been promoted to the approved output folder, and the SDXL base licence still needed confirmation in the registry before promotion.

The useful lesson for me was to name the decision at each stage. A script can reject an invalid size. A contact sheet can expose inconsistent poses. I can decide which candidate serves the game. A future orchestrator could connect those steps, but it should preserve those distinctions and record exactly why it retried.