Extensions/DOGMA Nodes
ComfyUI Extension

DOGMA Nodes

Custom ComfyUI nodes for DOGMA AI video workflows.

By axior·Created 5 months ago·Updated a day ago· 1
axior/ComfyUI-DOGMA-Nodes
Nodes191
On cloudLocal install
CategoryDOGMA/Semantic Detailer, DOGMA/v39
Stars1
Updateda day ago

Nodes (191)

DOGMA Active Local Prompt v31 — No Per-Object VLM

DOGMA's v31 local prompt builder

DOGMA/Semantic Detailer
DOGMA v38 Adaptive Category Prompt

The prompt that changes shape depending on what you're repairing

DOGMA/Semantic Detailer
DOGMA v39 Adaptive Crops

Crop once, upscale once, keep the object whole — DOGMA v39 Adaptive Crops

DOGMA/v39
DOGMA v40 Multi-Instance Crops

DOGMA v40 Multi-Instance Crops

DOGMA/v40
DOGMA v38 Adaptive Grouped Crops

The adapter node that turns planner output into the old family cropper

DOGMA/Semantic Detailer
DOGMA v39 Safe Adaptive Crops

The no-op fix that keeps a crop graph from dying on an empty sector

DOGMA/Semantic Detailer
DOGMA v39 Adaptive Prompt

Period lock, kind awareness, and one line that says 'do nothing'

DOGMA/v39
DOGMA Adaptive Semantic Plan v24

Turning a VLM's four scene fixes into six SAM slots, in the right order

DOGMA/Semantic Detailer
DOGMA v39 Adaptive Settings

One node, eight numbers, different tuning for cars, facades and asphalt

DOGMA/v39
DOGMA After Masks VRAM Cleanup

The stage barrier that evicts SAM before Klein moves in

DOGMA/Semantic Detailer
DOGMA v35 Latent-Aligned D&C Prepare

Tiling a 2x upscale so the Flux latent grid never lands off-centre

DOGMA/Semantic Detailer
DOGMA v35.1 Aligned 2x2 Noise

Check four tiles before you commit to the whole grid

DOGMA/Semantic Detailer
DOGMA v35 Global Spatially-Aligned Noise

One noise field for every tile — why your seams were never a mask problem

DOGMA/Semantic Detailer
DOGMA Audit Sector Plan v31 — 4B Audit + SAM Fallbacks

One 4B audit, three sectors, and fallback masks when SAM finds nothing

DOGMA/Semantic Detailer
DOGMA AuditText v56.7

The node that stops your VLM auditing nothing

DOGMA/v56.7
DOGMA v37 Category Grouped Crops

Crops by family, straight from a mask and a dropdown

DOGMA/Semantic Detailer
DOGMA Category Mask Gate

A one-line node that stops an unused sector from editing your image

DOGMA/Semantic Detailer
DOGMA Category Settings v11

Per-category detail settings, looked up from a table instead of guessed

DOGMA/Semantic Detailer
DOGMA Category Settings v12 — Full 4 Step

Full 4-step denoise for everyone, and a blend alpha per surface

DOGMA/Semantic Detailer
DOGMA Category Settings v13

Same interface, retuned numbers — v13 lets architecture actually get fixed

DOGMA/Semantic Detailer
DOGMA Category Settings v21 — Macro Edit

V21 hands you the edit prompt and drops SAM from the job

DOGMA/Semantic Detailer
DOGMA Category Settings v22 — Current Master Ref

Type a category, get a hand-tuned edit policy

DOGMA/Semantic Detailer
DOGMA Category Settings v23 — Full-Noise Objects

Full-noise local rebuild, but only for objects

DOGMA/Semantic Detailer
DOGMA Category Settings v24 — True Inpaint

The settings node that finally respects your mask

DOGMA/Semantic Detailer
DOGMA Center Crop v23 — Remove Context Pad

The node that removes the context padding it insisted you add

DOGMA/Semantic Detailer
DOGMA v35 Center-Weighted Tile Combine

Stop averaging your overlaps into mush

DOGMA/Semantic Detailer
DOGMA ChunkPrompt v56.6

Deleting half your VLM's caption on purpose

DOGMA/v56.6
DOGMA Clustered Mask Crops (2K)

Turn a mask dump into grouped 2K tiles

DOGMA/Semantic Detailer
DOGMA v35.1 Combine 2x2 Test Tiles

A rehearsal stage so your 40-tile run doesn't surprise you

DOGMA/Semantic Detailer
DOGMA v37 Conservative Blend

An alpha that decides itself, and never trusts a crop

DOGMA/Semantic Detailer
DOGMA v39 Safe Conservative Blend

The version that throws the failed tile away

DOGMA/Semantic Detailer
DOGMA v39.2 Global + Local Controls

One node holding both halves of a Klein run

DOGMA/v39
DOGMA DenoiseCategory v56.6

The caption contract your crops get held to

DOGMA/v56.6
DOGMA v39 Multiband Detail Stitch

Take the texture, keep your geometry

DOGMA/v39
DOGMADualMaskV545

A wide mask to sample through, a tight one to paste with

DOGMA/v56.4
DOGMA DualMask v56.6

DOGMA DualMask v56.6 and the 12-pixel difference that matters

DOGMA/v56.6
DOGMA Source Evidence Gate v25 — Anti-Hallucination

Don't let the model invent detail where the source is flat

DOGMA/Semantic Detailer
DOGMA v36 Source + Novel Edge Gate

Vetoing the bus the model invented

DOGMA/Semantic Detailer
DOGMA v39 Ghost Veto

When the generated image quietly restages the scene

DOGMA/Semantic Detailer
DOGMA v35 Exact-Core Stitch

Full-strength core, dialled-back feather

DOGMA/Semantic Detailer
DOGMA Exact Masked Stitch v10

Pure geometry, no colour matching, no cleverness

DOGMA/Semantic Detailer
DOGMA Fast Dual Mask v34 — GPU / Opaque Core

One mask in, two masks out (and one of them must be opaque)

DOGMA/Semantic Detailer
DOGMA v35 Fast Category Mask Pair

The mask padding is chosen by what the object is

DOGMA/Semantic Detailer
DOGMA FinalMasks v56.7

The node that refuses to hand you an empty mask

DOGMA/v56.7
DOGMA v37 Fixed Categories

Six hard-coded category slots and the SAM prompts that find them

DOGMA/Semantic Detailer
DOGMA v37 Fixed Category Prompt

DOGMA v37 Fixed Category Prompt

DOGMA/Semantic Detailer
DOGMA Semantic Plan v23 — Discrete Objects Only

DOGMA Semantic Plan v23

DOGMA/Semantic Detailer
DOGMAGenerativeCategoryPromptV54

DOGMAGenerativeCategoryPromptV54

DOGMA/v56.4
DOGMA v39 Global Controls

DOGMA v39 Global Controls

DOGMA/v39
DOGMA Global Low-Frequency Lock FAST v24

DOGMA Global Low-Frequency Lock FAST v24

DOGMA/Semantic Detailer
DOGMA Global Refine Mask v14 — Protect Text

DOGMA Global Refine Mask v14

DOGMA/Semantic Detailer
DOGMA v35.1 Global Test + Full Controls

DOGMA v35.1 Global Test Controls

DOGMA/Semantic Detailer
DOGMA v39 Global Detail Donor

DOGMA v39 Global Detail Donor

DOGMA/v39
DOGMA Harmonized Stitch Crops

DOGMA Harmonized Stitch Crops

DOGMA/Semantic Detailer
DOGMA ImageAfterAudit v56.7

A node that does nothing, and why you need it

DOGMA/v56.7
DOGMA Image After Text — VRAM Barrier

DOGMA Image After Text

DOGMA/Semantic Detailer
DOGMA Mapped Image List → Batch v25

DOGMA Mapped Image List → Batch v25

DOGMA/Semantic Detailer
DOGMA Image VRAM Cleanup v14

DOGMA Image VRAM Cleanup v14

DOGMA/Semantic Detailer
DOGMAInpaintMaskV543

DOGMA Inpaint Mask v54.3

DOGMA/v54.4.1
DOGMA InstanceAuditView v56.7

Building the evidence sheet your VLM needs to judge a mask

DOGMA/v56.7
DOGMAInstanceChunkCropsV541

DOGMA Instance Chunk Crops v54.1

DOGMA/v54
DOGMA v54.2 Native-HD Spatial Chunks

DOGMA v54.2 Native-HD Spatial Chunks

DOGMA/v54.2
DOGMAInstanceChunkCropsV545

DOGMA Instance Chunk Crops v54.5

DOGMA/v54.5
DOGMA InstanceReview v56.7

One verdict per mask, or nothing at all

DOGMA/v56.7
DOGMA v38 Inventory Resize

DOGMA v38 Inventory Resize

DOGMA/Semantic Detailer
DOGMA v35.1 Latent By Denoise

DOGMA v35.1 Latent By Denoise

DOGMA/Semantic Detailer
DOGMA LazyImage v56.7

The switch that saves you the entire diffusion pass

DOGMA/v56.7
DOGMA LazyText v56.7

Don't caption a slot with no masks

DOGMA/v56.7
DOGMA Local Prompt v26 — Safe Sector Instruction

DOGMA Local Prompt v26

DOGMA/Semantic Detailer
DOGMA Local Prompt v26.1 — Text Safe

DOGMA Local Prompt v26.1 — Text Safe

DOGMA/Semantic Detailer
DOGMA Local Prompt v34 — FIX FIRST

The DOGMA prompt node that stops Klein redecorating your car

DOGMA/Semantic Detailer
DOGMA v35 Local Prompt — FIX FIRST

The shorter local prompt, and why shorter wins here

DOGMA/Semantic Detailer
DOGMA v36 Positive Target Prompt

Stop telling the model what's broken — give it a target instead

DOGMA/Semantic Detailer
DOGMA v40 Short Category Prompt

DOGMA's canned per-category repair prompt

DOGMA/v40
DOGMA v42 Target-First Local Prompt

One denoise number for a whole scene is how you wreck the sky

DOGMA/v42
DOGMA v43 Base Local Prompt

The local prompt node you can stop tuning

DOGMA/v43
DOGMA Local Repair Masks v14 — Objects Only

Keep the local repair pass off your sky, grass and storefronts

DOGMA/Semantic Detailer
DOGMA Local Result Gate v34 — Preserve Means Preserve

The one-line gate that throws away a bad local edit

DOGMA/Semantic Detailer
DOGMA v35 Local Preserve Gate

The gate that keeps your original crop

DOGMA/Semantic Detailer
DOGMA v36 Local Safety Gate

When Klein rewrites your crop, this node rations the damage

DOGMA/Semantic Detailer
DOGMA Local VLM Barrier v26

Unload the VLM before Klein, or watch your second pass OOM

DOGMA/Semantic Detailer
DOGMA v56.4 Automatic Mask Safety Gate

A PASS/FAIL audit that can only ever make your masks safer

DOGMA/v56.4
DOGMA MaskAuditGate v56.6

The fussiest PASS in ComfyUI

DOGMA/v56.6
DOGMA v56.4 Automatic Mask Audit Sheet

Build the contact sheet that lets a VLM actually audit your masks

DOGMA/v56.4
DOGMA MaskAuditView v56.6

The 2x2 sheet that decides whether your mask survives

DOGMA/v56.6
DOGMA MaskedDenoiseLatent v56.6

Encode the crop with the mask already attached

DOGMA/v56.6
DOGMA v40 Masked Source Latent

The soft version, and when soft is what you want

DOGMA/v40
DOGMA v54.2 Opaque-Core Generation Mask

The mask was see-through

DOGMA/v54.2
DOGMA v35.4 Mask Device Guard

The one-line fix for 'Expected all tensors to be on the same device'

DOGMA/Semantic Detailer
DOGMA MaskOwnership v56.7

Who owns pixel 512 when two categories both want it

DOGMA/v56.7
DOGMA v39 Mask Preview

See the mask before you burn a GPU pass on it

DOGMA/v39
DOGMA v40 Mask Visual

The mask sanity check that shows you the image underneath

DOGMA/v40
DOGMA Merge SAM + Audit v31 — Missed Defect Recovery

When SAM misses the broken part, let the audit box rescue it

DOGMA/Semantic Detailer
DOGMA Native Clustered Mask Crops

Cutting a 4K frame into crops that actually line up when you paste them back

DOGMA/Semantic Detailer
DOGMA v56.5 Non-Semantic Tile Prompt

A prompt that deliberately says nothing about the picture

DOGMA/v56.5
DOGMA v56.5 Novel Structure Guard

Catching the building your upscaler invented

DOGMA/v56.5
DOGMA Object Crops v27 — Whole Objects, Never Tile

Cut the car out whole instead of tiling it

DOGMA/Semantic Detailer
DOGMA Object Cluster Crops v31 — Compact Adjacent Groups

Same whole-object rule, fewer and denser crops

DOGMA/Semantic Detailer
DOGMA v35 Compact Whole-Object Crops

The crop node with nothing left to configure

DOGMA/Semantic Detailer
DOGMA Object Settings v27 — Complete Object / Small Cluster

One category in, every dial out

DOGMA/Semantic Detailer
DOGMA Object Settings v31 — Compact Groups / Base 0.35

Fewer, denser groups and no VLM call at all

DOGMA/Semantic Detailer
DOGMA Object Settings v34 — Short Prompt / Base 0.35

The 18-word limit that fixes local prompts

DOGMA/Semantic Detailer
DOGMA v35 Object Settings — Defect-Only Prompt

Ask the VLM for a 14-word defect, nothing else

DOGMA/Semantic Detailer
DOGMA v36 Positive Target Settings

Never describe the damage

DOGMA/Semantic Detailer
DOGMA v40 Opaque Local Stitch

The paste-back node that respects no-op crops

DOGMA/v40
DOGMA v37 Opaque Stitch

Paste repaired crops back without a translucent halo

DOGMA/Semantic Detailer
DOGMA Prepare SAM Input v11.1 — VRAM Safe

Unload the big models before SAM eats your VRAM

DOGMA/Semantic Detailer
DOGMA Protect Semantic Masks v13

Stop the road pass from eating your cars

DOGMA/Semantic Detailer
DOGMA Protect Semantic Masks v21

Same protections, fewer surprises

DOGMA/Semantic Detailer
DOGMA Protected Masks v23 — Roadway People Split

Splitting road people from pavement people

DOGMA/Semantic Detailer
DOGMA Protected Masks v24

Text is protection-only, and everything gets out of its way

DOGMA/Semantic Detailer
DOGMA Reflect Pad v23 — Border Context

Give edge objects some pixel context to lean on

DOGMA/Semantic Detailer
DOGMA v43 Region-Aware Crops

Object, structure and surface get different rules

DOGMA/v43
DOGMA v44 High-Recall Region Crops

Same node, tuned to miss nothing

DOGMA/v44
DOGMA v43 Region-Safe Stitch

Feather everything, hide the seams

DOGMA/v53
DOGMA v54.2 HD Opaque-Core Stitch

Paste at native resolution, resample nothing twice

DOGMA/v54.2
DOGMARegionStitchV543

Pasting the repair back without a halo

DOGMA/v54.4
DOGMA Resize Mask To Image v15

The two-wire fix for mask size mismatches

DOGMA/Semantic Detailer
DOGMA Resize To Reference Scale v14

Pin your working master to an exact 2x

DOGMA/Semantic Detailer
DOGMA Restoration Brief v16

One text box your whole pipeline reads from

DOGMA/Semantic Detailer
DOGMA MASTER SWITCH — Test / Full

One boolean to flip a whole workflow between test and full run

DOGMA/Run Control
DOGMA Safe Masked Stitch v34 — Opaque Core

Paste the repair back with an opaque core

DOGMA/Semantic Detailer
DOGMA v37 SAM Input Resize

Stop feeding your 5K master to the segmenter

DOGMA/Semantic Detailer
DOGMA SAMInstanceGuard v56.6

Your SAM mask is lying about what it owns

DOGMA/v56.6
DOGMA SAM Mask CPU Checkpoint v12

Park the mask on CPU, unload before the next pass

DOGMA/Semantic Detailer
DOGMA Sampler Select

DOGMA Sampler Select

sampling/custom_sampling/samplers
DOGMA SAMSearch v56.7

Sweep the whole frame, then stare at the corners

DOGMA/v56.7
DOGMA v38 Inventory Kinds

Turn a VLM's rambling into six labels

DOGMA/Semantic Detailer
DOGMA v38 Scene Inventory Plan

The strict parser for your VLM's GROUP lines

DOGMA/Semantic Detailer
DOGMA v39 Scene Inventory Plan

Four groups, plus kinds and confidence thresholds

DOGMA/v39
DOGMA v40 Six Diverse Scene Groups

A fixed vocabulary instead of the VLM's own words

DOGMA/v40
DOGMA v42 Robust Scene Inventory

When your VLM ignores the format, this still plans

DOGMA/v42
DOGMA v43 High-Recall Scene Plan

Tuned to find the tiny stuff

DOGMA/v43
DOGMA v44 Source-Grounded Scene Plan

If the model didn't see it, it doesn't get planned

DOGMA/v44
DOGMA Scene Plan → 6 Slots

The planner that reserves a slot to protect your signage

DOGMA/Semantic Detailer
DOGMA Sector Crops v26 — Grouped High Resolution

Few big crops, cut at full resolution

DOGMA/Semantic Detailer
DOGMA v35.4 Four-Sector Mask Summary

Same cleanup, one more slot

DOGMA/Semantic Detailer
DOGMA Sector Masks v26 — Preserve Instances

Normalize three masks, delete nothing

DOGMA/Semantic Detailer
DOGMA Sector Plan v26 — 3 Non-Destructive Targets

Three local targets, and a slot layout that says don't touch the rest

DOGMA/Semantic Detailer
DOGMA Sector Plan v26.1 — Text Safe

The planner that refuses to let AI redraw your signage

DOGMA/Semantic Detailer
DOGMA Sector Plan v27 — Object-Centric Targets

Finite object caps, and a prompt that guarantees zero detections

DOGMA/Semantic Detailer
DOGMA v35.4 Four-Sector Plan

The same planner, four live slots

DOGMA/Semantic Detailer
DOGMA v36 Four Present Categories

The planner that turns the detection recall up

DOGMA/Semantic Detailer
DOGMA Sector Settings v26 — Local VLM Brief

One category in, twelve knobs out — and a Milan 1970s surprise

DOGMA/Semantic Detailer
DOGMA Sector Settings v26.1 — Text Identity Lock

The text identity lock, explained

DOGMA/Semantic Detailer
DOGMA v35.1 Select 2x2 Test Tiles

Tune the settings on four tiles instead of four hundred

DOGMA/Semantic Detailer
DOGMA Semantic Macro Crops v10

One union mask, a handful of big crops, no per-instance loop

DOGMA/Semantic Detailer
DOGMA Semantic Macro Crops v21 — Current + Original

The same region crop, plus the original as an identity witness

DOGMA/Semantic Detailer
DOGMA Semantic Overview v16

Look at your masks before you spend an hour sampling

DOGMA/Semantic Detailer
DOGMA Semantic Plan v16 — Concrete Categories

The original five-slot planner, and its forbidden-word list

DOGMA/Semantic Detailer
DOGMA Semantic Plan v21 — Global First

Six slots, family dedupe, and a priority order you should understand

DOGMA/Semantic Detailer
DOGMA SemanticPlan v56.7

Turning a scene inventory into five wired categories

DOGMA/v56.7
DOGMA v44 Semantic Source View

Park the clean source at a fixed size and stop guessing

DOGMA/v44
DOGMA Shift Pad v34 — Half-Stride Grid Offset

Move every tile seam by half a stride and watch the grid disappear

DOGMA/Semantic Detailer
DOGMASoftStitchV545

Feather inward only, so nothing outside the mask can move

DOGMA/v56.4
DOGMA SoftStitch v56.6

Pasting the repair back without a visible rectangle

DOGMA/v56.6
DOGMA Stitch Crops

The plain paste-back, and the seam controls that actually matter

DOGMA/Semantic Detailer
DOGMA Tile Batch → Mapped List v25

The five-line node that changes how your graph runs

DOGMA/Semantic Detailer
DOGMA TileBundle v56.7

DOGMA TileBundle v56.7 Generates Nothing — It Just Refuses to Let Your Tile Captions Slip Out of Order

DOGMA/v56.7
DOGMA Tile Coherence Blend FAST v23.1

Keep the source's colour, keep the model's detail

DOGMA/Semantic Detailer
DOGMA Tile Coherence Blend v22 — Low-Frequency Lock

The slow one that v23.1 replaced — and when it's still right

DOGMA/Semantic Detailer
DOGMA v56.4 Source-Lowfreq Tile Detail Merge

Throw away the generated low frequencies on purpose

DOGMA/v56.4
DOGMATiledInpaintConditioningV545

InpaintModelConditioning for 4K crops without a VAE that eats your VRAM

DOGMA/v54.5
DOGMA v56.4 Source-Anchored Tile Border

Kill the tile seam by nailing each tile's border back to the source

DOGMA/v56.4
DOGMA Tile-Specific Restoration Prompt v25

Turning a chatty VLM tile report into a prompt that can't invent anything

DOGMA/Semantic Detailer
DOGMA Tile Prompt v34 A — Short / Front-Loaded

Put the noun first, because the model only reads the start

DOGMA/Semantic Detailer
DOGMA Tile Prompt v34 B — Shifted QC Repair

The repair-pass prompt writer that can say 'do nothing'

DOGMA/Semantic Detailer
DOGMA v36 Compact Tile Prompt

Strip the VLM report down to nouns, then protect the rest

DOGMA/Semantic Detailer
DOGMA v39 Period-Aware Tile Prompt

When the VLM calls a car four different things — canonicalise the terms first

DOGMA/Semantic Detailer
DOGMA v39 Context-First Tile Prompt

Say what era this is before you say what to restore

DOGMA/v39
DOGMA v42 HD Tile Prompt

No dehazing, no silhouette outlines, no bright rings

DOGMA/v42
DOGMA v44 Source-Grounded Tile Prompt

Only mention the period if the tile actually contains the thing

DOGMA/v44
DOGMA Tile Pass-B Gate v34 — Exact Preserve

If the VLM says 'nothing to fix', keep the source pixel-for-pixel

DOGMA/Semantic Detailer
DOGMA Semantic Tile Composer v16

Five masks in, one noise mask and a prompt out — the template tile pass

DOGMA/Semantic Detailer
DOGMA v42 Safe Tile Statistics Lock

Colour-matching each tile without painting halos — non-spatial stats only

DOGMA/v42
DOGMA TileUnpack v56.7

Get the Tiles Back, In Order, With Every Caption on One Page

DOGMA/v56.7
DOGMA Tile VLM Barrier v25 — Unload Before Klein

Unload the VLM before Klein starts, or watch 8GB of weights fight for the same card

DOGMA/Semantic Detailer
DOGMA Union Macro Crops — Few Large Crops

How to feed 2K-4K tiles instead of a hundred little boxes

DOGMA/Semantic Detailer
DOGMA Unshift Crop v34 — Exact Frame

The undo button for a shifted tile grid (and why it needs the meta, not a number)

DOGMA/Semantic Detailer
DOGMA V50 Clean Tile Prompt

Stripping a VLM answer down to one usable phrase

DOGMA/v50
DOGMA V50 2K Region Crops

Every instance crop the same 2K before Klein sees it — that's the V50 trick

DOGMA/v50
DOGMA V50 SAM Input Gate

Stop running SAM on categories that don't exist — the 64-pixel bypass

DOGMA/v50
DOGMA V50 Scene VLM Instruction

The prompt you write for the VLM, not the model — and it's the one that decides everything

DOGMA/v50
DOGMA V50 Scene Plan

Your VLM writes the inventory, this node turns it into six SAM jobs

DOGMA/v50
DOGMA V50 Tile VLM Instruction

The prompt that stops your tile refiner inventing windows

DOGMA/v50
DOGMA v52.1 Mask De-overlap / Empty-Mask Safe

Your SAM 'road' mask ate the cars — this node gives them back

DOGMA/v52
DOGMA v52 Non-Overlapping Scene Inventory

The VLM prompt that makes SAM find the tiny stuff

DOGMA/v53
DOGMA v52 Coarse-to-Objects Scene Plan

The node that picks which masks your SAM pass hunts for

DOGMA/v52
DOGMA Vision Resize — Max Side

Your VLM doesn't need a 4000px photo — this node is the bouncer

DOGMA/Semantic Detailer
WAN VACE Keyframe Control Prep

Lock Frames for WAN VACE Without Fighting the 4n+1 Wall

video/WAN VACE
WAN VACE Remove Added Padding

Give Your WAN VACE Clip Its Original Frame Count Back

video/WAN VACE
Readme

DOGMA Nodes 1.0.7 — one VLM load per image list

Use workflow V56.19. DOGMAVLMListV568 owns one ModernVLM worker per ordered image list, reuses its model sequentially, and clears its private model handle in a finally block. This removes the repeated reload/quantization caused by ordinary Comfy list mapping with unload_after=True. It does not retain a separate model cache per graph node. Empty lists load nothing; mismatched prompts fail before loading. Progress and per-image elapsed times are logged. Cancellation is checked before/after each image; an already-running ModernVLM generation must return before the next check.

All 16 list-fed audit/caption nodes use the adapter. The single-image planner retains its ordinary unload behavior. Audit reasons are capped at 32 tokens and requested in six words. File selectors, diffusion settings, candidate counts and segmentation parameters are preserved. Requires the existing comfyui_vlm_nodes ModernVLM with clear_model API; no additional models. Publish this release, update DOGMA via Manager, restart ComfyUI, and load V56.19.

59 CPU regression tests passed. Frontend import/export and graph wiring validated offline. No GPU benchmark or visual generation has been performed on the pod; further hardware/quantization bottlenecks remain possible.

DOGMA Nodes 1.0.6 — instance review and local recovery

Workflow V56.18 keeps the supplied SimplePod model filenames and uses KJNodes for explicit memory cleanup. ModernVLM retains its own private-model lifecycle. Update through ComfyUI-Manager after this release is available in the Registry.

Phase 3 detects raw SAM masks with paired boxes, removes speckles without growing ownership, reviews each candidate separately, and searches four overlapping local views to recover missed targets. Valid detections survive rejection of unrelated candidates. Duplicate detections and cross-category overlaps are removed. Captions describe actual crops. Inactive slots do not execute caption or diffusion; a selected visible category with no verified masks after both searches raises an explicit diagnostic instead of silently returning an empty result.

This adds CPU-tested processing and workflow wiring; actual segmentation quality and GPU runtime still require validation on the user's pod. SAM/Qwen can fail. Instance-level review and local search require more analysis than a single category-wide verdict.

DOGMA Nodes 1.0.5 — Phase 3 mask and caption correction

New opt-in V566 nodes provide per-crop declarative prompts, SAM box ownership cleanup, per-category visual audits, masked img2img latent encoding, and distance-feathered compositing with low-frequency color protection. Existing node IDs retain their behaviour. Use the DOGMA V56.17 workflow. CPU regression tests: python tests/run.py (requires pytest).

DOGMA Nodes

Custom ComfyUI nodes for DOGMA AI video workflows.

Nodes

WAN VACE Keyframe Control Prep

Category:

video/WAN VACE

This node prepares a WAN VACE control video and control mask video from:

video             IMAGE batch
mask_video        IMAGE batch
reference_frames  IMAGE batch
keyframe_indices  STRING

It replaces selected video frames with the corresponding reference frames, turns the mask fully black at those same frames, and pads the result to a WAN VACE-compatible frame count.

WAN VACE expects frame counts in the form:

4n + 1

So the node pads the sequence by duplicating frames at the beginning and end, symmetrically, with preference for the beginning when the padding count is odd.

keyframe_indices supports comma, space, or semicolon separated values.

Examples:

start, 25, end
0 24 48
first; 32; last

Indexing is 0-based.

0 = first frame
24 = 25th frame
end = last frame

Outputs:

control_video       IMAGE batch
control_mask_video  IMAGE batch
frame_count         INT
padding_info        WANVACE_PAD_INFO

WAN VACE Remove Added Padding

Category:

video/WAN VACE

This node removes the replicated start/end frames that were added by WAN VACE Keyframe Control Prep.

Use it after WAN VACE generation when a later crop-and-stitch step needs the generated video to return to the original unpadded frame count.

Inputs:

video         IMAGE batch
padding_info  WANVACE_PAD_INFO

Output:

video        IMAGE batch
frame_count  INT

Typical use:

WAN VACE Keyframe Control Prep → padding_info
WAN generated video            → WAN VACE Remove Added Padding

DOGMA Sampler Select

Category:

sampling/custom_sampling/samplers

This node returns a DOGMA sampler as a SAMPLER object. Use it with SamplerCustomAdvanced and any SIGMAS source, including custom hand-drawn sigma curves.

The same DOGMA samplers are also registered into normal ComfyUI sampler menus after restart, so they can appear in ordinary KSampler, KSampler Advanced, and KSamplerSelect dropdowns.

Available samplers:

| Sampler | Intended use | Approximate model calls | |---|---|---:| | DOGMA_klein_distilled_REBUILD | T2I, strong edit, heavily damaged upscale tile | 2 × non-final steps + 1 | | DOGMA_klein_distilled_BALANCED | General T2I / i2i / edit | 2 × non-final steps + 1 | | DOGMA_klein_distilled_DETAIL | Soft edit, good upscale tile, fine reconstruction | 3 × non-final steps + 1 | | DOGMA_klein_basemodel_REBUILD | Fast strong reconstruction, bad source anatomy or structure | 1 × steps | | DOGMA_klein_basemodel_BALANCED | General base-model work with selective correction | Usually 1.2-1.35 × steps | | DOGMA_klein_basemodel_DETAIL | Soft edit and upscale refinement; extra work at low sigma | Usually 1.4-1.5 × steps |

These are experimental ODE samplers designed around FLUX.2 Klein 9B workflows: three for the 4-6 step distilled model and three for the 20-50 step base model. No LoRA is included or required.

Install

Install through ComfyUI Manager as DOGMA Nodes, or with:

comfy node install comfyui-dogma-nodes

Notes

The nodes use only PyTorch and ComfyUI's built-in sampler APIs. No extra Python dependencies are required.