Interactive 3D scene staging, actor acting, and camera directing suite for ComfyUI.
Created by @arturitu / Unboring.net.
Stop prompting movement into a black box. ComfyUI-scene-camera-action turns AI video generation into an interactive, playable 3D previz studio:
- Staging: Build navigable 3D blockout sets with instant colliders β manually or via AI prompts (
SKILL.md). - Acting: Playable
WASDcontrols & multi-track actor chaining with live ghost replays (no keyframing!). - Directing: Live camera cuts with anti-collision Spring Arm, outputting crisp 720p HD reference video (
VIDEO) for models like Seedance 2.5 / 2.0 Fast or MiniMax H3 Reference-to-Video.
- Open ComfyUI.
- Open Manager β Custom Nodes Manager.
- Search for
Scene Camera Action(orcomfyui-scene-camera-action). - Click Install, then restart ComfyUI.
comfy node install comfyui-scene-camera-actionOpen your terminal in your ComfyUI directory:
cd ComfyUI/custom_nodes
git clone https://github.com/arturitu/ComfyUI-scene-camera-action.git
pip install -r ComfyUI-scene-camera-action/requirements.txtWindows Portable Users: Run this from your
ComfyUI_windows_portableroot folder:python_embeded\python.exe -m pip install -r ComfyUI\custom_nodes\ComfyUI-scene-camera-action\requirements.txt
Restart ComfyUI after installation. The nodes will appear in the scene-camera-action category.
We provide pre-built workflows in the examples/ folder so you can start directing immediately without any setup:
| Workflow | Description | Download |
|---|---|---|
| π’ Basic 3D Previz (Recommended) | 0 AI models required! Pure 3D Previz pipeline (Staging β Acting β Directing β Save Video) with race_track.json preset & Car actor ready to drive, including AI reference video integration. |
basic_previz_workflow.json |
| π₯ Multi-Actor Chaining | industrial_ruin.json preset with Human and Quadruped actors on distinct spawn points, synchronized ghost replays, and AI reference video integration. |
multi_actor_workflow.json |
- Method A: Download any
.jsonfrom above and drag & drop it directly into your ComfyUI browser window. - Method B: Click Load in ComfyUI and select the file from
ComfyUI/custom_nodes/ComfyUI-scene-camera-action/examples/.
sidebyside-blockout-seedance.mp4
- Load Presets: Pick built-in 3D environments from the preset dropdown (
courthouse_square,gas_station,liberty_beach,industrial_ruin,warehouse, etc.). - Interactive Viewport: Orbit (Left Click + Drag), Pan (Right Click + Drag), and Zoom (Scroll).
- Transform & Compose: Add primitives, move, rotate, and scale assets. Use
Shift + Clickfor multi-selection and Grouping (Group/Ungroup). - Output: Connects
Stage Datadownstream into the Acting node.
- 3 Actor Archetypes:
- πΆ Human: Rigged 3D character with automatic walking, running, and idle locomotion.
- π Car: Vehicle physics with dynamic steering, acceleration, and drift.
- π Quadruped: 4-legged animal archetype with full locomotion animations.
- Game-Like WASD Controls: Move around the stage in real time using
W,A,S,D. - Practice Rehearsal Mode: Test movement loops freely before recording.
- Multi-Actor Chaining: Connect multiple Acting nodes in series. Sequence independent actors while watching synchronized live ghost replays of previous takes!
- Output: Combines stage geometry and actor trajectories into
Acting Data.
- Smart Camera Rigs: Switch between Third-Person (TPV), First-Person (FPV), Tracking Side, and Auto-Framing Master Wide.
- Anti-Collision Spring Arm: Real-time obstacle avoidance prevents camera clipping against walls and geometry.
- Visual Cut Timeline: Add and edit camera cuts on the fly along the playback timeline.
- Direct-to-Generative Output: Outputs crisp 720p HD
Captured Video(VIDEO) ready to plug into reference-to-video AI models!
Generate proportioned 3D previz scenes from natural language prompts or reference images using the included stage-builder skill with any AI coding agent (Antigravity, Claude Code, Codex, Cursor, Pi, etc.).
The skills/stage-builder/SKILL.md instruction set equips AI coding assistants with 3D spatial reasoning to output clean 3D SceneState JSON preset files saved to presets/.
Q: Directing node gives an error saying "Directing canvas is disabled. Connect an Acting node and record motion first."
A: Directing requires actor motion to frame the cameras. Make sure you select the Acting node, click Record, and move your actor usingWASD before queuing the Directing node.
Q: Does this require a powerful GPU to run the 3D viewport?
A: No! The 3D viewport runs on standard WebGL in your browser and features Demand-Based GPU Rendering, meaning it automatically pauses rendering during graph navigation for lightweight performance.Q: How do I feed the video into Seedance / MiniMax?
A: The Directing node outputs standard ComfyUIVIDEO. Simply connect the Captured Video wire into the video input of your chosen reference-to-video model (e.g., Seedance 2.5 / 2.0 Fast or MiniMax H3 Reference-to-Video).
- Rigged Quadruped Actor: New 4-legged animal archetype (
QuadrupedActor) with full locomotion animations (idle, walk, run, sit/crouch) built onSkinnedActor. - Configurable Actor Scaling: Adjust actor sizes dynamically with automatic camera framing and speed scaling.
- Practice Rehearsal Mode: Loop actor movement in real time to test trajectories before recording.
- Demand-Based GPU Rendering: Pauses WebGL rendering during graph navigation for lightweight performance.
- Stage Distance Fading & UI Upgrades: Smooth edge fading, modern Lucide icons, and optimized node payloads.
v0-5-0.mp4
- Multi-Actor Chaining: Sequence and record multiple independent actors (humanoids and vehicles) on the same stage with synchronized playback.
- Camera Spring Arm (Anti-Collision): Real-time obstacle avoidance prevents camera clipping against walls and geometry during dynamic camera moves.
- Actor Color Customization: Dynamic mesh coloring to visually distinguish different actors across the 3D viewport and node timeline.
- Universal Stage Builder: Universal 3D geometric engine with 5 core primitives and new presets (
courthouse_square,gas_station). - Vue.js Architecture: Modernized modular reactive UI components (
StagingWidget,ActingWidget,DirectingWidget).
v0-4-0.mp4
- Animated 3D Humanoid Model: Custom 3D human model with bone structure and armature animations.
- Configurable Spawn Points: UI selection for actor starting locations across Staging and Acting nodes.
- 3D Scene Presets: Built-in previz tracks (
liberty_beach,industrial_ruin,warehouse,test-collider).
v0-3-0.mp4
π See it in action on LinkedIn
- Natural Language 3D Scene Builder (
SKILL.md): Transform prompts or reference images into 3D stage compositions using any AI coding assistant. - Multi-Archetype Actor Physics Engine: Support for Humanoid and Vehicle (
CarActor) movement physics. - Hierarchical Scene Management: Grouping (
Group/Ungroup), multi-selection, and transform snapping.
v0-2-0.mp4
π See it in action on LinkedIn
- Initial PoC Custom Nodes: Proof-of-concept custom nodes (
Staging,Acting,Directing). - Basic 3D Prev-viz: Asset placement, single capsule actor control, and multi-camera timeline cuts.
v0-1-0.mp4
π See it in action on LinkedIn
MIT License. Built with β€οΈ by @arturitu / Unboring.net.

