ComfyUI Extension: DOGMA Nodes

Authored by axior

Created

Updated

1 stars

Run ComfyUI workflows without the setup

No installs, no CUDA version roulette, no GPU sitting idle on your bill. Bring a workflow and run it in the browser.

Custom ComfyUI nodes for DOGMA AI video workflows.

Looking for a different extension?

Custom Nodes (2)

README

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

Install

Install through ComfyUI Manager as DOGMA Nodes, or with:

comfy node install comfyui-dogma-nodes

Notes

The nodes use only PyTorch, which is already part of a normal ComfyUI installation. No extra Python dependencies are required.

Run ComfyUI workflows without the setup

No installs, no CUDA version roulette, no GPU sitting idle on your bill. Bring a workflow and run it in the browser.

Learn more