Extensions/ComfyUI-DanceEverywhere
ComfyUI Extension

ComfyUI-DanceEverywhere

Make your dancer appear anywhere — ComfyUI node for foot-anchored dance video compositing onto any background

By GuardSkill·Created 4 months ago·Updated 4 months ago· 0
GuardSkill/ComfyUI-DanceEverywhere
Nodes1
On cloudLocal install
Category🎬 Video/Composite
Stars0
Updated4 months ago
Readme

Dance Everywhere — ComfyUI Node

Make your dancer appear anywhere.

A ComfyUI custom node that composites a masked dancing person video onto any background image. The person's feet are always anchored to the exact position you specify, regardless of scale — enabling realistic placement of a dancer into any scene.

Features

  • Foot-anchored placement — set pos_x / pos_y and the person's feet always land there, even as you adjust scale
  • Independent scale controlsscale sets the overall size (as a fraction of background height); height_ratio stretches or squishes the person without changing width
  • Mask edge feathering — Gaussian blur on the alpha mask for natural blending
  • Brightness matching — optionally blend the person's brightness toward the local background for better lighting consistency

Node: 🕺 Dance Video Composite

Category: 🎬 Video/Composite

Inputs

| Parameter | Type | Description | |---|---|---| | person_video | IMAGE | Dancing person video frames (batch) | | person_mask | MASK | Alpha mask per frame — connect from a background-removal node (e.g. InspyreNet, rmbg) | | background | IMAGE | Background image to composite onto | | pos_x | FLOAT 0–1 | Horizontal foot position (0 = left, 1 = right) | | pos_y | FLOAT 0–1 | Vertical foot position (0 = top, 1 = bottom) | | scale | FLOAT | Person height as a fraction of background height (0.9 = 90%) | | height_ratio | FLOAT | Fine-tune height only: >1 taller, <1 shorter, width unchanged | | edge_feather | INT | Mask edge blur radius in pixels | | brightness_blend | FLOAT | Blend person brightness toward background (0 = off, 1 = full match) |

Outputs

| Output | Type | Description | |---|---|---| | composited_video | IMAGE | Video frames composited onto the background |

Recommended Workflow

[Load Video] ──────────────────────────────────────────┐
                                                        ↓
[InspyreNet / rmbg] ← video → mask ──→ [🕺 Dance Video Composite] → composited_video
                                                        ↑
[Load Image] ──────────── background ──────────────────┘

Installation

Via ComfyUI Manager — search Dance Everywhere.

Or manually:

cd ComfyUI/custom_nodes
git clone https://github.com/GuardSkill/ComfyUI-DanceEverywhere