ComfyUI Node
Difforum · Camera (keys)
Keyframed camera as text, one key per line: frame: move [speed] [intensity] [lens] [ease] Moves blend into each other (`transition` 1.0 = continuous crane move, 0.0 = hard cuts). `loop_mode` makes the path periodic over `cycle_frames` so the clip loops without a crossfade. The Director timeline writes the same thing visually - use this node when you prefer typing.
Difforum · Camera (keys)
- params
- audio
- camera
- cycle_frames
- info
◄keys0: zoom_in 0.6 0.5 40 ease_in_out
30: pan_right 1.0 0.8 40 ease_in_out
60: spiral 1.4 1.1 55 ease_in
90: zoom_out 0.5 0.45 40 ease_out►
◄camera_mode2d►
◄transition1.00►
◄speed1.00►
◄loop_modeoff►
◄cycle_frames0►
◄harmonics3►
CategoryDifforum/2 · Direction
Inputs (9)
| Name | Type | Default | Description |
|---|---|---|---|
| params | DIFFORUM_PARAMS | From Setup: frame count, fps, width and height. Plug the same Setup everywhere. | |
| keys | STRING | 0: zoom_in 0.6 0.5 40 ease_in_out 30: pan_right 1.0 0.8 40 ease_in_out 60: spiral 1.4 1.1 55 ease_in 90: zoom_out 0.5 0.45 40 ease_out | One key per line: frame: move [speed] [intensity] [lens°] [ease]. e.g. '48: orbit_right 1.2 0.8 35 ease_in_out'. Frames can be '2.5s'. |
| camera_mode | COMBO | 2d | 2d = flat moves; 3d = parallax with a depth map. |
| transition | FLOAT | 1.000–1 | 1 = moves blend into each other; 0 = hard cuts at each key. |
| speed | FLOAT | 1.000–5 | Master speed on every key. |
| loop_mode | COMBO | off | harmonic / zero_mean make the path periodic over cycle_frames, so the clip loops with no crossfade (installations). off = free path. |
| cycle_frames | INT | 00–100000 | Frames per loop. 0 = the whole clip is one cycle. Feeds Loop 'keep settled lap'. |
| harmonics | INT | 31–16 | harmonic loop: how many sine terms describe the path. More = closer to the keys, fewer = smoother loop. |
| audioopt | DIFFORUM_AUDIO | From Audio Analyzer: per-frame loudness, bands and beats. |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| camera | DIFFORUM_CAMERA | — |
| cycle_frames | INT | — |
| info | STRING | — |