Logo van Image Qc

Image Qc

Community
kaigani
image-qc

Image quality control skill. Teaches Claude to systematically evaluate generated images — identity sheets, scene frames, storyboards — for anatomical correctness, prompt adherence, style consistency, and composition integrity. Enforces honesty-first reporting with structured pass/fail verdicts per panel or area.

Overzicht

Uitgeverkaigani
Repositorycodeywood
Skillnaamimage-qc
Sterren
33
Forks
4
Meegeleverde bestanden
Alleen instructies
Links
  • Instructies in Markdown

    Een SKILL.md-bestand dat het model laadt wanneer nodig, zodat het alleen tokens kost als een verzoek er daadwerkelijk bij past.

  • Werkt met elk LLM

    AI-skills zijn gewone Markdown, geen aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Compleet zonder extra bestanden

    Alles wat het model nodig heeft, staat in de instructies — geen extra bestanden om te synchroniseren.

  • Open source

    Gepubliceerd door kaigani op GitHub. Lees de broninhoud voordat je de skill installeert.

Installatie

Installeer de AI-skill Image Qc in TypingMind om deze met elke LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map — het leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/kaigani/codeywood/tree/main/skills/production/image-qc
  4. Schakel de skill in elke chat in waarin je deze beschikbaar wilt hebben.
Plug-ins → Skills → Nieuwe skill → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/kaigani/codeywood.git /tmp/codeywood
mkdir -p .claude/skills
cp -r /tmp/codeywood/skills/production/image-qc .claude/skills/image-qc
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Image Qc in een willekeurige chat in TypingMind in en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek erbij past, laadt het model zelf de volledige instructies — je hoeft de skill nooit handmatig aan te roepen en deze kost pas tokens wanneer je de skill daadwerkelijk gebruikt.

Het model laadt Image Qc automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Image Qc niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

Image QC

Purpose

Catch defects in AI-generated images before they enter the production pipeline. Every generated image — identity sheets, scene frames, storyboards — must pass structured quality control. False positives waste seeds, time, and money. The image QC skill enforces rigorous, honest evaluation so the user can make informed pass/fail decisions.


The Honesty Rule

NEVER summarize positively if defects exist. This is the foundational principle of image QC.

  • Say "Panel X has [defect]" not "Great identity sheet!"
  • The user trusts this assessment to decide pass/fail — false positives waste seeds and time
  • When in doubt, flag it. The user can override if they think it's acceptable
  • Every review MUST include a structured table with per-panel or per-area verdicts

Identity Sheet / Multi-Panel QC

Identity sheets and multi-panel composites are the most complex images to evaluate. Check every dimension below for each panel.

1. Panel Containment

Do all sub-images fit cleanly within their panel borders?

Check for:

  • Content overflowing into adjacent panels
  • Cropping that cuts off important features (tops of heads, hands)
  • Bleeding or smearing across panel dividers
  • Panels that are empty or contain only partial content

Fail condition: Any panel has content crossing its borders or is visibly cropped.

2. Face Integrity

Are all faces structurally sound?

Check for:

  • Distorted or asymmetric eyes beyond natural variation
  • Misaligned facial features (nose off-center, mouth shifted)
  • Extra or missing features (three eyes, no nose, double mouth)
  • Melted or blurred regions around the face
  • Uncanny valley appearance — technically correct but deeply wrong

Fail condition: Any face with structural distortion or missing/extra features.

3. Eye Quality

Eyes are the #1 tell for AI generation artifacts. Dedicate specific attention here.

Check for:

  • Mismatched pupil sizes or shapes between eyes
  • Melted or blurred iris detail
  • Extra eyes (anywhere on the face or body)
  • Wrong gaze direction relative to the described pose
  • Uncanny valley stare — both eyes locked forward with no natural variation
  • Different eye colors when they should match
  • Pupil/iris shape inconsistency (one round, one elongated)

Fail condition: Any eye anomaly that would be visible at normal viewing distance.

4. Hand and Limb Check

Hands remain a persistent weakness in image generation models.

Check for:

  • Finger count: each hand should have exactly 5 fingers
  • Fused digits (two fingers merged into one)
  • Extra digits (6+ fingers, or thumb on wrong side)
  • Unnatural joint angles (fingers bending backward, wrists at impossible angles)
  • Limb count: correct number of arms and legs
  • Proportional consistency (one arm significantly longer than the other)

Fail condition: Wrong digit count, fused fingers, or impossible joint angles.

5. Panel Completeness

Does each panel contain what was requested in the prompt?

Check for:

  • Missing panels entirely (empty or black spaces where content should be)
  • Panels that show a different subject than requested
  • Panels that show the right subject but wrong pose/angle/expression
  • Panels merged together (two requested views collapsed into one)

Fail condition: Any panel missing or showing incorrect content.

6. Style Consistency Across Panels

The same character should look like the same character across all panels.

Check for:

  • Skin tone variation across panels
  • Hair color, length, or style changing between panels
  • Wardrobe details inconsistent (different colors, missing accessories)
  • Age appearance shifting between panels
  • Body type or proportions changing

Fail condition: Character not recognizable as the same person across panels.

7. Grid Clarity

The layout itself must be readable and organized.

Check for:

  • Dividing lines that are inconsistent, wavy, or missing
  • Uneven panel sizes when uniform was expected
  • Layout that's difficult to parse — unclear where one panel ends and another begins
  • Background color bleeding into or obscuring dividers

Fail condition: Layout is unreadable or panels cannot be distinguished.


Single Image / Scene Frame QC

For individual frames, storyboards, and production shots.

1. Anatomical Correctness

Check for:

  • Body proportions (head size relative to body, arm length, torso length)
  • Limb count and positioning
  • Face structure (eyes, nose, mouth in correct positions and proportions)
  • Joint angles that defy human anatomy

2. Prompt Adherence

The most common failure mode. Check EVERY specific detail in the prompt against the output.

Check for:

  • Species/subject consistency: If the prompt says "monkey", is it actually a monkey? Watch for species drift — monkey-to-human is a common failure mode. Check ALL panels, not just the most prominent one
  • Color specificity: If the prompt specifies "RED cap, BLUE cap, BROWN cap" — verify those exact colors are present. Not "some colored caps" or "vaguely tinted caps"
  • Spatial placement: If the prompt says "sitting in tree branches" — are subjects actually positioned in the tree? Not standing on the ground near a tree
  • Object count: If the prompt says "three monkeys" — count them. Not two, not four
  • Action accuracy: If the prompt describes a specific action, is that action depicted?
  • Setting details: Verify background and environment match prompt description

Fail condition: Any specific prompt detail that is missing, wrong, or ambiguous.

3. Artifact Check

Check for:

  • Watermarks or text artifacts embedded in the image
  • Blending seams (visible boundaries where image regions were stitched)
  • Resolution drops in specific areas (sharp foreground, blurry background when both should be sharp)
  • Banding in gradients (especially skies)
  • Repeated texture patterns (copy-paste artifacts)

4. Style Match

Does the image match the project's established visual style?

Check against PROJECT_CONFIG.yaml style DNA:

  • Medium/Era: correct animation style or photographic approach
  • Line-work/Texture: consistent edge rendering and surface detail
  • Lighting/Rendering: correct shadow quality and contrast level
  • Color Palette: within the defined palette boundaries

5. Aspect Ratio

Check for:

  • Output matches the expected aspect ratio
  • Flag if square (1:1) when 16:9 was expected, or vice versa
  • Flag if the image has been stretched or squeezed to fit a different ratio

Composition Prompt QC (Pre-Generation)

Review prompts BEFORE they are sent to the model. Catching prompt issues is cheaper than catching image issues.

1. Describe What the Camera Sees

The prompt should describe visible, physical reality — not narrative context.

  • Good: "mouth wide open, eyebrows raised high, eyes widened"
  • Bad: "shocked expression" (the model interprets "shocked" differently than you expect)
  • Good: "thick dark curly hair falling past shoulders, sun-darkened olive skin"
  • Bad: "she looks like a Caribbean sailor's daughter" (narrative reference the model has no context for)

2. No Narrative References the Model Cannot Know

The model only sees the prompt text and any image inputs. It has no story context.

  • Good: "the puppet character from image 1"
  • Bad: "the peddler" or "following the peddler's example"
  • Good: "a tall man in a red coat holding a wooden staff"
  • Bad: "the villain" or "Mars's father"

3. Physical Expression Vocabulary

Describe facial features physically, not emotionally.

Instead of...Write...
sadbrow furrowed, mouth corners pulled down, eyes glistening
angryjaw clenched, nostrils flared, brow compressed, eyes narrowed
surprisedeyebrows raised high, mouth open in O shape, eyes wide
scaredeyes wide, pupils dilated, mouth slightly open, shoulders raised
happycheeks raised, crow's feet at eyes, mouth open showing teeth
determinedjaw set, lips pressed together, brow slightly lowered, direct gaze

4. Every Specific Visual Detail Must Be Named

Do not rely on the model to infer details from general descriptions.

  • Good: "wearing a RED wool cap, a BLUE cotton cap stacked on top, and a BROWN leather cap on the very top"
  • Bad: "wearing different colored caps"
  • Good: "sitting on a thick oak branch, legs dangling, back against the trunk"
  • Bad: "in the tree area"

5. Do Not Economize on Details

More specific detail equals better adherence. A prompt that's too sparse leaves the model guessing, and models guess wrong frequently.

  • Specify materials: "worn leather boots" not "boots"
  • Specify lighting: "warm afternoon sunlight from the left" not "daytime"
  • Specify camera: "medium close-up, eye level" not just the subject

6. Body Pose Precision

Good: "right hand raised to shoulder height, index finger extended, pointing upward, other fingers curled into palm" Bad: "shaking finger" (ambiguous — which hand? which direction? what gesture exactly?)

7. Spatial Anchoring

Always state WHERE subjects are in the frame.

  • "positioned in the left third of the frame"
  • "filling the center of the frame from waist up"
  • "small figure in the bottom right corner, vast sky above"
  • NOT just the subject floating in unspecified space

Escalation Rules

When the primary model fails, escalate rather than re-rolling the same model endlessly.

Failure TypeFirst ActionEscalation
Species drift (monkey becomes human)Re-prompt with exhaustive physical descriptionEscalate to Flux Dev (--dev flag)
Style inconsistency across panelsCheck prompt for style anchors, re-generateEscalate to Flux Dev with multi-image reference
Prompt adherence failure (missing details)Add missing details explicitly to prompt, re-generateEscalate to Flux Dev
Strong model bias it cannot overcome (e.g., beret bias on monkeys)Fix downstream in qwen-image-edit or Flux Dev using multi-image referenceAccept the bias and work around it in composition
Wrong aspect ratioApply post-processing padding (pad_to_16x9)Re-generate with correct aspect ratio parameter
Persistent face/hand artifactsRe-generate with different seedEscalate to higher-quality model or use inpainting

General rule: Two consecutive failures on the same defect with the same model = escalate. Do not burn more than 2 seeds on the same issue.


QC Report Format

Every generated image review MUST produce a structured report. No exceptions.

Identity Sheet / Multi-Panel Format

### [Image Name] QC Review (workflow, seed N)

| Panel/Area | Expected Content | Status | Issues |
|------------|-----------------|--------|--------|
| Top-left   | Eye close-up    | PASS   | --     |
| Top-center | Profile view    | PASS   | --     |
| Top-right  | Hand reference  | FAIL   | 6 fingers on left hand |
| Center     | Full body front | PASS   | --     |
| Bottom-left| Vulnerable port.| FAIL   | Eyes mismatched, left iris melted |
| Bottom-mid | Action pose     | PASS   | --     |
| Bottom-right| Quiet moment   | PASS   | --     |

**Defects**:
1. Top-right panel: left hand has 6 fingers (extra pinky)
2. Bottom-left panel: left iris is melted/blurred, pupil shape inconsistent with right eye

**Verdict**: FAIL (2 defects in 7 panels)

**Recommendation**: Re-generate with different seed. If hand issues persist, escalate to Flux Dev.

Single Image / Scene Frame Format

### [Image Name] QC Review (workflow, seed N)

| Check | Status | Notes |
|-------|--------|-------|
| Anatomical correctness | PASS | -- |
| Prompt adherence | FAIL | Prompt says "red cap" — cap is orange |
| Artifact check | PASS | -- |
| Style match | PASS | Matches Caribbean fantasy DNA |
| Aspect ratio | PASS | 16:9 as expected |

**Defects**:
1. Cap color is orange, not red as specified in prompt

**Verdict**: FAIL (1 prompt adherence issue)

**Recommendation**: Add "bright saturated red, not orange" to prompt and re-generate.

Prompt QC Format (Pre-Generation)

### Prompt QC: [shot/panel name]

| Check | Status | Issue |
|-------|--------|-------|
| Physical descriptions only | FAIL | "angry expression" — replace with physical features |
| No narrative references | PASS | -- |
| Color specificity | FAIL | "colored caps" — specify exact colors |
| Spatial anchoring | PASS | -- |
| Detail sufficiency | FAIL | No material, lighting, or camera specs |

**Required fixes before generation**:
1. Replace "angry expression" with "jaw clenched, nostrils flared, brow compressed"
2. Replace "colored caps" with "RED wool cap, BLUE cotton cap, BROWN leather cap"
3. Add lighting direction and camera angle

Common Failure Patterns by Model

Knowledge of model-specific weaknesses helps focus the QC eye.

Nano Banana Pro

  • Strongest at technical refs and identity sheets
  • Watch for: multi-panel triptych generation when single frame expected (action prompts)
  • Watch for: content filter triggers on age references or violence

Klein (Flux 2)

  • Fast drafts, bolder contrast
  • Watch for: simplified details in complex scenes (cfg too low)
  • Watch for: model biases on unusual subjects (berets on monkeys, humanization of animals)
  • Watch for: output inheriting input resolution in i2i mode

Dev (Flux 2)

  • Higher quality but slower
  • Watch for: over-smoothing at high step counts (diminishing returns past step 20)
  • Watch for: AI-default blue cast in interior scenes

Z-Image Base

  • Watch for: model bias on headwear (berets on monkeys, wrong hat types) — fix downstream with qwen-image-edit or Flux Dev multiref rather than re-rolling endlessly
  • Watch for: no cross-frame consistency (every generation is independent)

qwen-image-edit

  • Watch for: species drift (animal subjects becoming human) — especially in expression/portrait panels
  • Watch for: style inconsistency when reference images have mixed styles
  • Watch for: square output when wide was expected — post-process with pad_to_16x9()
  • Watch for: field name confusion (image/image2/image3 for qwen vs image1/image2 for Dev multiref)

Integration with Production Pipeline

When to Run Image QC

  1. After every identity sheet generation — before the sheet enters the reference library
  2. After every scene frame generation — before the frame is used as a video start frame
  3. After every storyboard generation — before boards are used for shot planning
  4. Before prompt submission (prompt QC) — before spending API credits

QC Gates

Image TypePass RequirementEscalation Threshold
Identity sheetAll panels PASS, style consistent2 failed seeds on same defect
Scene frameAll checks PASS, prompt fully adhered2 failed seeds on same defect
StoryboardComposition readable, no anatomical horrors3 failed seeds (lower bar for sketches)
PromptAll checks PASSN/A (fix before generation)

Veelgestelde vragen

Wat doet de AI-skill Image Qc?

Image quality control skill. Teaches Claude to systematically evaluate generated images — identity sheets, scene frames, storyboards — for anatomical correctness, prompt adherence, style consistency, and composition integrity. Enforces honesty-first reporting with structured pass/fail verdicts per panel or area.

Waarom Image Qc gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Image Qc bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model, en je kunt midden in een chat van model wisselen zonder dat de skill niet meer werkt. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Image Qc in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/kaigani/codeywood/tree/main/skills/production/image-qc. TypingMind leest het bestand SKILL.md en installeert het als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Image Qc gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Image Qc gebruiken?

Zoveel als je wilt. Zolang een model skills ondersteunt, kun je Image Qc ermee gebruiken: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama en meer. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Image Qc gratis?

Deze skill is door kaigani op GitHub gepubliceerd. Bekijk de repository voor de licentievoorwaarden. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. Deze volgt het open Agent Skills-formaat: een bestand met de naam SKILL.md met een naam en beschrijving, plus eventuele scripts, sjablonen of referentiebestanden die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Toon alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇