komojini-comfyui-nodes

komojini-comfyui-nodes
★ 79

视频生成视频加载DragNUWA节点扩展
为ComfyUI提供用于视频生成的自定义节点集合,包含视频加载、流控制与DragNUWA画布,简化视频工作流与素材管理。
💡 在ComfyUI中快速加载并处理YouTube或本地视频用于生成视频内容。
🍴 4 Forks💻 JavaScript🔄 2024-05-22
📦
网盘下载
复制链接后前往夸克网盘下载
https://pan.quark.cn/s/e00a65475347
📦 requirements.txt
pytube==15.0.0
opencv-python
numpy
torch
pillow
psutil
gputil
drag_preview
7998A098-B97B-45F3-9CE2-3591AC3FFAB4
741E724B-E861-4C93-9E38-D61B06FFD14D_4_5005_c
image
image
image
📄 README

komojini-comfyui-nodes

Custom ComfyUI Nodes for video generation

  • DragNUWA Image Canvas
  • Flow Nodes
  • Getter & Setter Nodes
  • Video Loading Nodes
  • Ultimate Video Loader
  • YouTube Video Loader
  • DragNUWA Image Canvas

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

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

    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

    FlowBuilderSetter

    (advanced) Flowbuilder Nodes

    Getter & Setter Nodes

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

    Video Loading Nodes

    Ultimate Video Loader

    Able to load video from several sources (filepath, YouTube, etc.)

    3 source types available:

  • file path
  • file upload
  • youtube
  • empty video
  • 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).
  • The video downloaded from YouTube will be saved in “path-to-comfyui/output/youtube/” (will be changed later)

    Ultimate Video Loader (simple)

    Same as above but without preview.

    YouTube Video Loader

    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%) ->
  • System Current Status Viewer

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

  • Current GPU memory, usage percentage, temperature
  • Current CPU usage
  • Current RAM usage
  • Go to settings and check “🔥 Show System Status” to enable it.