Extensions/komojini-comfyui-nodes
ComfyUI Extension

komojini-comfyui-nodes

Nodes:YouTube Video Loader. Custom ComfyUI Nodes for video generation

By komojini·Created 3 years ago·Updated 2 years ago· 77
komojini/komojini-comfyui-nodes
Nodes21
On cloudLocal install
Categorysd, komojini/image
Stars77
Updated2 years ago

Nodes (21)

BatchCreativeInterpolationNodeDynamicSettings

BatchCreativeInterpolationNodeDynamicSettings — a settings generator you'll only meet inside someone's workflow

sd
CachedGetter

CachedGetter — wireless retrieval for the komojini getter/setter trick

sd
DragNUWAImageCanvas

DragNUWAImageCanvas — draw drag trajectories on a still, then make it move

komojini/image
🔥 FlowBuilder

FlowBuilder — run only the part of the workflow you changed

komojini/flow
FlowBuilder (adv)

FlowBuilder (adv) — the same flow trick, now with batch looping

komojini/flow
🔥(adv) FlowBuilder

🔥(adv) FlowBuilder — the batch-looping flow endpoint, under its other name

komojini/flow
🔥(adv) FlowBuilderSetter

🔥(adv) FlowBuilderSetter — the flame-labeled advanced flow setter

komojini/flow
🔥FlowBuilderSetter

🔥FlowBuilderSetter — a flow endpoint that also saves its result under a name

komojini/flow
FlowBuilderSetter (adv)

FlowBuilderSetter (adv) — the flow endpoint that stores a value and loops

komojini/flow
Getter

Getter — the read half of a key/value pair that keeps your graph tidy

sd
ImageCropByRatio

ImageCropByRatio — crop to an aspect ratio without resizing anything

essentials
ImageCropByRatioAndResize

ImageCropByRatioAndResize — crop to the ratio, then resize to the exact pixels

essentials
ImageGetter

ImageGetter — a Getter that only knows how to move images

sd
Image Merger

Image Merger — put before and after side by side so you can actually see what changed

komojini/Image
ImagesCropByRatioAndResizeBatch

ImagesCropByRatioAndResizeBatch — crop-and-resize a whole batch in one shot

essentials
KSamplerAdvanced (cacheable)

KSamplerAdvanced (cacheable) — staged sampling that doesn't redo what it already did

komojini/sampling
KSampler (cacheable)

Same KSampler, minus the wasted GPU time — the cacheable sampler

sampling
Setter

Setter — name a value, stash it, and keep your workflow from turning into spaghetti

sd
🎥Ultimate Video Loader🎥

Ultimate Video Loader — one node, four ways to get video frames into ComfyUI

komojini/Video
🎥Ultimate Video Loader (simple)🎥

Four Video Sources in One Node — and It Won't Clutter Your Graph

komojini/Video
YouTube Video Loader

YouTube Video Loader — pull any embeddable clip straight into your workflow

komojini/Video
Readme

komojini-comfyui-nodes

Custom ComfyUI Nodes for video generation

<a name="dragnuwaimagecanvas"></a>

DragNUWA Image Canvas

drag_preview 7998A098-B97B-45F3-9CE2-3591AC3FFAB4

Used for DragNUWA nodes witch is from: https://github.com/chaojie/ComfyUI-DragNUWA

DragNUWA main repo: https://github.com/ProjectNUWA/DragNUWA

741E724B-E861-4C93-9E38-D61B06FFD14D_4_5005_c

<a name="flownodes"></a>

Flow Nodes

Flow node that ables to run only a part of the entire workflow. By using this, you will be able to generate images or videos "step by step" Add the "FlowBuilder" node right before the output node (PreviewImage, SaveImage, VideoCombine, etc.), then it will automatically parse only the nodes for generating that output.

FlowBuilder

image

FlowBuilderSetter

(advanced) Flowbuilder Nodes

<a name="gettersetternodes"></a>

Getter & Setter Nodes

image

Getter & Setter nodes that ensures execution order by connecting them when starting the prompt.

<a name="videoloadingnodes"></a>

Video Loading Nodes

<a name="ultimatevideoloader"></a>

Ultimate Video Loader

Able to load video from several sources (filepath, YouTube, etc.)<br> 3 source types available:

  • file path
  • file upload
  • youtube
  • empty video <br><br> image

Common Args:

  • start_sec: float
  • end_sec: float (0.0 -> end of the video)
  • max_fps: int (0 or -1 to disable)
  • force_size
  • frame_load_cap: max frames to be returned, the fps will be automatically changed by the duration and frame count. This will not increase the frame count of the original video (will not increase original fps). <br>

The video downloaded from YouTube will be saved in "path-to-comfyui/output/youtube/" (will be changed later) <br>

Ultimate Video Loader (simple)

Same as above but without preview. <br><br> <a name=youtubevideoloader></a>

YouTube Video Loader

<img width="50%" alt="Youtube video loader" src="https://github.com/komojini/komojini-comfyui-nodes/assets/118584718/65142191-f7e9-4341-ba47-4226b31451fd"><br> Able to load and extract video from youtube.

Args:

  • Common Args Above...
  • output_dir (optional): defaults to "path-to-comfyui/output/youtube/"

Others

Image Merger

Able to merge 2 images or videos side by side. Useful to see the results of img2img or vid2vid.

divide_points: 2 points that creates a line to be splitted. One point will be like (x, y) and the points should be seperated by ";". for "x" and "y", you can use int (pixel) or with %. e.g.

  • (50%, 0);(50%, 100%) -> split by vertical line in the center
  • (0%, 50%);(100%, 50%) -> split by horizontal line in the center
  • (40%, 0);(70%, 100%) ->
<img width="80%" src="https://github.com/komojini/komojini-comfyui-nodes/assets/118584718/8839b1da-e5c1-41a9-87e4-514e25e113b5"/> <img width="80%" src="https://github.com/komojini/komojini-comfyui-nodes/assets/118584718/585b46d7-2a73-4cc2-be29-68d02db0fe1c"/>

<a name="statusviewer"></a>

System Current Status Viewer

Shows current status of GPU, CPU, and Memory every 1 second.

<p float="left"> <img src="https://github.com/komojini/komojini-comfyui-nodes/assets/118584718/64954343-d75f-4510-8664-1fafdd40a83d" height="400" /> <img src="https://github.com/komojini/komojini-comfyui-nodes/assets/118584718/5d61b82f-58a8-4309-a58d-8bdc764adcb9" height="400" /> </p>
  • Current GPU memory, usage percentage, temperature
  • Current CPU usage
  • Current RAM usage

Go to settings and check "🔥 Show System Status" to enable it.