Skip to content

Reject the Image Before You Look at It: Notes From a One-Person Batch Pipeline

A solo game developer spent two weeks building a ComfyUI pipeline for character art. The gain was not faster generation. It was throwing out wrong person counts, broken compositions and cut-off feet before a human opened the folder.

AI-assisted draft. Reviewed and edited by the Phosphene team before publication.

On this page
A light table covered with small rejected character sketches, a magnifying loupe resting on one frame, and a red grease pencil circling a cropped pair of shoes
Editorial illustration; not a screenshot of the described workflow or a model output.

The developer who writes the Debimate weeknotes is making a game alone, and he needs standing character portraits for it. On 26 October he wrote a long post about building a tool for that, an image workflow command that sits in front of ComfyUI. The follow-up a week later opens with an honest progress report: about half of it works.

The half that works is not the part you would guess. Speed was one of the things he set out to fix, and he did attack it. But the annoyance that shaped the tool is selection: a batch of portraits holds only a few worth a person's attention, and somebody has to open every one of them to find out which.

The order of production matters more than the tool

His first structural decision is the sequence. Prompts come first, then a standing portrait for each character, then expression variants and alternate poses, and only after that the illustration work.

The reasoning is cheap to state and expensive to discover: once a character has a fixed portrait plus a set of expressions, later scenes stop wobbling. The face and the outfit have an anchor. Skip that step and every new illustration re-decides what the character looks like, so drift accumulates across a project instead of staying inside one image.

That is the same argument behind written character definitions that survive across scenes, except here the definition is a picture that already exists and can be fed back in.

Handwritten prompts do not survive a batch

His second finding is that writing prompts by hand does not scale. A usable character prompt runs to hundreds of English tokens, and the interactions between those tokens are not obvious. Negative prompts make it worse: pile on too many exclusions and the image quality drops rather than the unwanted element disappearing.

The failure he shows is specific and useful. Push hard on night, lighting or sparkle words and the prompt over-fires, and the result is a face with a green or yellow cast, or one washed so pale the colour is gone. He has nine of those faces pinned in a row, rejected purely on colour.

So the prompt moved into a form. He picks settings in Japanese from a list, the tool writes the prompt out as YAML, and a validator warns when the chosen combination contains contradictory or banned terms. Two honest limits come attached: the GUI is not actually pleasant to operate, and a settings picker produces sameness, because you can only choose what someone already listed.

The filter that runs before your eyes

Here is the part worth stealing. After a batch is generated, the system does a first pass on its own. Wrong number of people, broken composition, a head or a foot cut off at the frame edge: those go straight to rejected, before a human sees them.

What reaches the person is the remainder, one image at a time, with four buttons: OK, reject, hold, and base. Base means this is now the character's official portrait. Reject requires a reason from a fixed set.

Two things follow from requiring the reason. First, the review itself gets faster, because choosing a reason is a click and a note instead of an essay. Second, the reasons accumulate into a dataset. Once enough of them pile up, the tool can tell him that his recent settings are probably wrong, which is a very different message from "here are forty more rejects".

The gate is deliberately shallow. It checks counting and framing, not taste. That is the right scope for automation: structural failures are cheap to detect and account for a large share of the junk, while "is this the character I meant" stays with the person who knows the character.

Two kinds of randomness, used on purpose

A fixed prompt with a fixed seed produces the same picture. His pipeline therefore injects wildcard terms into the prompt at random and changes the seed every run, so a batch explores instead of repeating.

That is the same distinction that trips people up in every generation tool: a seed is not a dice roll you throw away, it is a coordinate you can return to once you have found something good. Batch exploration and seed discipline are two different jobs, and the pipeline keeps them apart.

Repair by region, then freeze the base

Accepted candidates are not finished. Each one gets region-level touch-up: the software locates a body part and repaints only that area. Eyes are the common case, since eyes are frequently under-drawn. A comparison view shows the part before and after, and if the repair holds, the image is promoted to base.

From the base, the expensive work becomes cheap in the way that matters. Expression variants change only the eyes and mouth while face, hair and clothing stay fixed. He reports the failure mode too: occasionally the new eyes come from a subtly different art style, and that variant gets rejected. Outfit and pose variants work the same way, as local edits off the base, and only accepted ones survive.

Anyone who has tried to keep a character consistent by re-describing her in every prompt will recognise the shift. Re-description is a negotiation with the model. Local editing off a fixed anchor is a constraint.

Put the expensive pass in the night

The finishing stage is where hardware stops cooperating. The image is upscaled 2x and then detailed region by region in a fixed order: face, then eyes and mouth, then hands, then a whole-image pass, then background cutout, then a 2K or 4K export. It is heavy enough that he queues it overnight, and heavy enough that using the machine while it runs produces flickering black lines on screen.

Queuing the slow stage is not a technicality. It changes what the machine is for. During the day the computer is a review station; at night it is a renderer. Most solo pipelines fail on exactly this scheduling question, because they ask one machine to do both at once and then blame the model for the stutter.

What is still broken

He is clear that the pipeline has not run end to end. Jobs clog the queue, some get orphaned, and he describes the bugs as amateur-level. There are also no published hit rates, no cost per accepted portrait, and no comparison against hand-drawn portraits of the same characters. The report is a build log, not a benchmark.

But the design decisions survive that caveat, and they are portable:

  • Fix the production order before automating anything. Anchors first, variations after.
  • Automate structural rejects only, and make them cheap: person count, framing, crop.
  • Require a reason for every human rejection, then mine the reasons.
  • Keep the anchor image immutable and derive variants from it by local edit.
  • Move the slow finishing pass to a schedule, not to a click.

The last note in his post is not about images at all. He ran his game's premise past an LLM: the protagonists in this project-management game have four months to ship, and he asked whether that was realistic. The answer was that a project like that takes years and would have contract disputes at the signing stage, so he lowered the in-game project level and kept building. Which is the same instinct as the pipeline: find out what is structurally impossible early, before you spend the batch.

Sources

Share this guide
X LinkedIn