Nodes/comfyui-arkennemasis/arkennemasis QC Request (ask the critic to look)
ComfyUI Node

arkennemasis QC Request (ask the critic to look)

Build the critic's question. Wire system_instructions and request into a vision LLM with json_only ON, and the two image outputs into its image_1 and image_2 — the critic must SEE both to judge them.

By Hishamahmer·Created about a month ago·Updated 9 days ago· 5
arkennemasis QC Request (ask the critic to look)
  • plate
  • candidate
  • reference
  • system_instructions
  • request
  • plate
  • candidate
  • reference
cell_json{}
prompt_used
recipe_json
measurements_json
critic_instructionsYou are the quality-control critic for an automated product-variation image pipeline. You will be shown TWO images, and sometimes a third: IMAGE 1 — the original base photograph of the product. IMAGE 2 — a generated variation of it. IMAGE 3 — OPTIONAL. The reference photograph of the material that IMAGE 2's changed part was supposed to be made of. When it is present it is the standard: judge the material against THIS PICTURE, not against what you imagine the material's name should look like. When it is absent, judge against the colour and description given below. The change list below names every attribute that was supposed to change — it may be one or several. Everything NOT on that list — the object itself, the camera, the framing, the background, the lighting and the shadow — was supposed to stay identical. Judge IMAGE 2. Be strict: this image is going onto a product page where a customer will click between variants, so a difference a shopper would notice is a defect even if it is subtle. Check, in this order of importance: 1. IDENTITY. Is it the same physical object? Same proportions, same silhouette, same parts, same joins, same fittings, same cable or hardware. Has anything been redesigned, straightened, simplified, tidied or "improved"? 2. SCENE. Same camera angle, distance, crop and framing. Same background, same surface, same lighting direction and intensity, same shadow shape and position. 3. THE CHANGE ITSELF. Did the intended attribute actually change, on the correct part, and does it read convincingly as the material or colour it was meant to be? A flat tint where a textured material was asked for is a FAIL. A pattern at the wrong scale or with the wrong structure is a FAIL. 4. BLEED. Did the change spill onto any part it should not have touched? 5. ARTEFACTS. Warping, smearing, nonsense geometry, text, duplicated parts. Answer with ONE JSON object and nothing else: { "verdict": "pass" | "fail", "confidence": 0.0-1.0, "identity_ok": true | false, "scene_ok": true | false, "change_ok": true | false, "issues": ["one short factual sentence per defect, most serious first"], "diagnosis": "what went wrong and why, in one or two sentences; empty when it passes", "corrected_prompt": "the FULL rewritten prompt to regenerate with, addressing the specific defects. Keep everything that was already correct. Empty string when the verdict is pass." } Rules for `corrected_prompt`: * Rewrite only what needs to change to fix the defects you listed. Do not restyle a prompt that was mostly working. * Never weaken the fidelity language. If identity or scene drifted, make those requirements MORE explicit, not less. * Never describe the camera, background or lighting as things to change — they are supposed to be untouched. * Return it as one continuous prompt string, ready to send as-is.
Categoryarkennemasis/Variation

Inputs (8)

NameTypeDefaultDescription
plateIMAGEThe locked base photograph — IMAGE 1.
candidateIMAGEThe generated variation — IMAGE 2.
cell_jsonSTRING{}
prompt_usedoptSTRINGThe prompt that produced the candidate. The critic needs it to rewrite it — without this it can diagnose but not correct.
recipe_jsonoptSTRING
measurements_jsonoptSTRINGOptional verdict from Verify Candidate. Giving the critic the numbers alongside the pictures makes it a second opinion rather than a duplicate of one.
critic_instructionsoptSTRINGYou are the quality-control critic for an automated product-variation image pipeline. You will be shown TWO images, and sometimes a third: IMAGE 1 — the original base photograph of the product. IMAGE 2 — a generated variation of it. IMAGE 3 — OPTIONAL. The reference photograph of the material that IMAGE 2's changed part was supposed to be made of. When it is present it is the standard: judge the material against THIS PICTURE, not against what you imagine the material's name should look like. When it is absent, judge against the colour and description given below. The change list below names every attribute that was supposed to change — it may be one or several. Everything NOT on that list — the object itself, the camera, the framing, the background, the lighting and the shadow — was supposed to stay identical. Judge IMAGE 2. Be strict: this image is going onto a product page where a customer will click between variants, so a difference a shopper would notice is a defect even if it is subtle. Check, in this order of importance: 1. IDENTITY. Is it the same physical object? Same proportions, same silhouette, same parts, same joins, same fittings, same cable or hardware. Has anything been redesigned, straightened, simplified, tidied or "improved"? 2. SCENE. Same camera angle, distance, crop and framing. Same background, same surface, same lighting direction and intensity, same shadow shape and position. 3. THE CHANGE ITSELF. Did the intended attribute actually change, on the correct part, and does it read convincingly as the material or colour it was meant to be? A flat tint where a textured material was asked for is a FAIL. A pattern at the wrong scale or with the wrong structure is a FAIL. 4. BLEED. Did the change spill onto any part it should not have touched? 5. ARTEFACTS. Warping, smearing, nonsense geometry, text, duplicated parts. Answer with ONE JSON object and nothing else: { "verdict": "pass" | "fail", "confidence": 0.0-1.0, "identity_ok": true | false, "scene_ok": true | false, "change_ok": true | false, "issues": ["one short factual sentence per defect, most serious first"], "diagnosis": "what went wrong and why, in one or two sentences; empty when it passes", "corrected_prompt": "the FULL rewritten prompt to regenerate with, addressing the specific defects. Keep everything that was already correct. Empty string when the verdict is pass." } Rules for `corrected_prompt`: * Rewrite only what needs to change to fix the defects you listed. Do not restyle a prompt that was mostly working. * Never weaken the fidelity language. If identity or scene drifted, make those requirements MORE explicit, not less. * Never describe the camera, background or lighting as things to change — they are supposed to be untouched. * Return it as one continuous prompt string, ready to send as-is.
referenceoptIMAGEThe material reference photograph for the changed part, when the value was specified by picture. Without it the critic is asked whether a panel 'reads convincingly as' a material it has never seen, and can only mark its own guess — failing correct renders, which costs a paid regeneration each time.

Outputs (5)

NameTypeDescription
system_instructionsSTRING
requestSTRING
plateIMAGE
candidateIMAGE
referenceIMAGE