[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-111564":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":14,"subscribersCount":14,"size":14,"stars1d":14,"stars7d":13,"stars30d":15,"stars90d":14,"forks30d":14,"starsTrendScore":16,"compositeScore":17,"rankGlobal":9,"rankLanguage":9,"license":18,"archived":19,"fork":19,"defaultBranch":20,"hasWiki":21,"hasPages":21,"topics":22,"createdAt":9,"pushedAt":23,"updatedAt":24,"readmeContent":25,"aiSummary":26,"trendingCount":14,"starSnapshotCount":14,"syncStatus":13,"lastSyncTime":27,"discoverSource":28},111564,"comfyui-motion-previs-studio","navarisun1982\u002Fcomfyui-motion-previs-studio","navarisun1982","Open-source 3D camera, character & motion previs studio replacing Higgsfield 3D-Jutsu for AI video.",null,"TypeScript",61,9,2,0,8,1,44.8,"MIT License",false,"master",true,[],"2026-11-16 00:05:42","2026-11-20 22:48:09","\u003Cp align=\"center\">\n  \u003Cimg src=\"docs\u002Fscreenshots\u002Fgithub-banner.png\" alt=\"ComfyUI Motion Previs Studio — Direct the Shot, Not the Prompt\" width=\"100%\" \u002F>\n\u003C\u002Fp>\n\n\u003Ch1 align=\"center\">🎬 ComfyUI Motion Previs Studio\u003C\u002Fh1>\n\u003Cp align=\"center\">\n  \u003Cstrong>\"Direct the Shot, Not the Prompt.\"\u003C\u002Fstrong>\u003Cbr\u002F>\n  \u003Cem>The Open-Source 3D Previsualization, Motion Capture & Camera Blocking Studio for AI Filmmaking in ComfyUI\u003C\u002Fem>\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FComfyUI-Live_Bridge_&_7_Workflows-10b981?style=for-the-badge&logo=data:image\u002Fsvg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0id2hpdGUiPjxwYXRoIGQ9Ik0xMiAyTDMgN3YxMGw5IDUgOS01VjdMMTIgMnAiLz48L3N2Zz4=\" alt=\"ComfyUI Live Bridge\" \u002F>\n  \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FVideo_Engines-LTX--2_19B_%7C_LTX--2.5_%7C_MiniMax_H3-6366f1?style=for-the-badge\" alt=\"Video Engines\" \u002F>\n  \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002F3D_Mocap-NLF_SMPL_6890v_%26_Mixamo-f59e0b?style=for-the-badge\" alt=\"3D Mocap\" \u002F>\n  \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002F3D_GLB_Studio-Pixal3D_%7C_TRELLIS.2_%7C_Hunyuan3D-ec4899?style=for-the-badge\" alt=\"3D GLB Studio\" \u002F>\n  \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FTests-468_Passing-22c55e?style=for-the-badge\" alt=\"Tests Passing\" \u002F>\n  \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FLicense-MIT-38bdf8?style=for-the-badge\" alt=\"MIT License\" \u002F>\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  \u003Ca href=\"#-why-comfyui-motion-previs-studio-stop-burning-time--credits\">💡 Why This Studio?\u003C\u002Fa> •\n  \u003Ca href=\"#-live-studio-demo-video\">🎬 Demo Video\u003C\u002Fa> •\n  \u003Ca href=\"#-13-powerhouse-features\">✨ 13 Key Features\u003C\u002Fa> •\n  \u003Ca href=\"#-7-bundled-ready-made-comfyui-workflows\">📦 7 ComfyUI Workflows\u003C\u002Fa> •\n  \u003Ca href=\"#-visual-feature-tour--screenshots\">📸 Screenshots\u003C\u002Fa> •\n  \u003Ca href=\"#️-1-click-installation--quick-start\">🚀 Quick Start\u003C\u002Fa>\n\u003C\u002Fp>\n\n---\n\n## 💡 Why ComfyUI Motion Previs Studio? (Stop Burning Time & Credits)\n\n### The Problem with AI Video Today\nDirecting AI video by typing text prompts alone is like directing a movie blindfolded. Creators routinely spend **hours of waiting** and burn **hundreds of GPU hours or paid API credits** re-rolling the same prompt 30 times just to get:\n- A camera to orbit smoothly around a subject instead of drifting away.\n- Two characters to walk past each other without merging or teleporting.\n- An actor to enter the frame at the exact 2-second mark, stop, and perform a specific action.\n\n### How Our Studio Solves It Practically\n**ComfyUI Motion Previs Studio** lets you **build, direct, and preview your entire shot in a real-time 3D stage at 60 FPS — costing $0 in credits and 0 seconds of rendering wait time.**\n\n1. **Stage Your Scene in Seconds**: Pick from **200+ built-in 3D characters, props, and environments**, generate new 3D `.GLB` models from an image or text prompt, or extract **real 3D human motion & camera movement directly from any video**.\n2. **Direct Timing & Camera Like a Filmmaker**: Apply ready-made animations (`Walk`, `Run`, `Fight`, `Sit`, `Crawl`), drag cues on a 24fps timeline, and frame your shot through real cinema lenses (`14mm` to `135mm`).\n3. **Render Once with 100% Confidence**: When your 3D preview looks right, click **Render in ComfyUI**. The studio automatically exports the exact control pass (`Clay`, `RGB`, `Depth`, or `OpenPose`), binds your reference images, compiles a camera-accurate prompt, and renders the final AI video on the very first try.\n\n> 🔧 **Tech Under the Hood:** *Built with React 19, TypeScript, Three.js WebGL2, Zustand, Zod-validated `ShotSpec` schemas, `mp4-muxer` hardware-accelerated encoding, and a direct WebSocket\u002FREST bridge to local ComfyUI.*\n\n---\n\n## 🎬 Live Studio Demo Video\n\n[![ComfyUI Motion Previs Studio — Full Demo Video](docs\u002Fdemo\u002FComfy-AI-Director-Demo-Cover.jpg)](https:\u002F\u002Fnavarisun1982.github.io\u002Fcomfyui-motion-previs-studio\u002Fdemo\u002FComfy-AI-Director-Demo.mp4)\n\n\u003Cp align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Fnavarisun1982.github.io\u002Fcomfyui-motion-previs-studio\u002Fdemo\u002FComfy-AI-Director-Demo.mp4\">\u003Cstrong>🎬 Watch Full 1080p Studio Demo Video (.MP4 Stream with Audio)\u003C\u002Fstrong>\u003C\u002Fa>\n\u003C\u002Fp>\n\n---\n\n## 🧭 End-to-End Production Pipeline\n\n```mermaid\nflowchart LR\n    subgraph Input[\"1. Build or Capture 3D Scene\"]\n        A1[\"🏛️ 200+ 3D Asset Library\\n& Ready-Made Motion Clips\"]\n        A2[\"🕺 3D Video Mocap Studio\\n(Real SMPL 6,890v or Mixamo Y-Bot)\"]\n        A3[\"🧊 ComfyUI Image\u002FText-to-3D\\n(.GLB + Auto Bone Rigging)\"]\n    end\n\n    subgraph Stage[\"2. Direct on the 3D Stage (0 Credits)\"]\n        B1[\"🎥 Dual 3D Viewports\\n& Cinema Lenses (14mm–135mm)\"]\n        B2[\"🎞️ 24fps Cue Swimlanes\\nSpeed Stretch & +Chain\"]\n        B3[\"🤸 Bilingual Text-to-Motion\\n6-Effector IK Synthesizer\"]\n    end\n\n    subgraph Export[\"3. Smart Multi-Pass & Prompt Engine\"]\n        C1[\"🎨 4-Channel 24fps MP4\\n(Clay \u002F RGB \u002F Depth \u002F OpenPose)\"]\n        C2[\"👁️ Camera-POV Frustum\\nVisibility Prompt Compiler\"]\n        C3[\"🧠 Workflow Output Registry\\n& Channel Auto-Advisor\"]\n    end\n\n    subgraph Render[\"4. Final ComfyUI Generation\"]\n        D1[\"⚡ LTX-2 19B IC-LoRA Union\\n& LTX-2.5 22B\"]\n        D2[\"🎬 MiniMax H3 Ref2VA\\n& Stubelius Ultimate\"]\n        D3[\"🖥️ Side-by-Side Sync Player\\n(3D Previs vs Final Render)\"]\n    end\n\n    Input --> Stage --> Export --> Render\n```\n\n---\n\n## ✨ 13 Powerhouse Features\n\n### 1. 🧊 ComfyUI Image-to-3D & Text-to-3D `.GLB` Studio + Auto-Rigging\n\n![ComfyUI Image-to-3D & Text-to-3D .GLB Studio + Auto-Rigging](docs\u002Fscreenshots\u002Ffeat-01-comfy-3d-glb-studio.jpg)\n\n**How it helps you:** Turn any 2D concept picture or text idea into a textured, posable, animated 3D `.GLB` character or prop right inside the app—powered by your local ComfyUI server.\n- **🖼️ Image-to-3D Mode**: Upload any PNG\u002FJPG\u002FWebP character or object image. ComfyUI removes the background, estimates 3D depth, reconstructs a textured `.GLB` mesh, and links your image as `\u003Cpicture 1>` for final video rendering.\n- **✍️ Text-to-3D Mode**: Type a description of any character, creature, or prop. ComfyUI first generates a clean studio concept image and immediately converts it into a 3D `.GLB` model.\n- **🦴 Instant Automatic Bone Rigging (`4 Archetypes`)**: Every generated or uploaded `.GLB` is automatically rigged at 60 FPS as a **`🧍 Humanoid (19-Bone)`**, **`🐾 Quadruped (4-Leg Animal)`**, **`🐍 Flexible Spine`**, or **`📦 Rigid Prop`**, complete with an interactive **Joint Landmark Fine-Tuner** and X-ray bone preview.\n\n> 🔧 **Tech Under the Hood:** *ComfyUI workflows `#aa77013b` & `#e7a9555b` (`Pixal3D INT8`, `TRELLIS.2 INT8`, `Hunyuan3D-2.1 PBR`, `Z-Image Turbo FP8`, `Qwen-3-4B`, `BiRefNet`, `MoGe Depth`) + silhouette-aware `SkinnedMesh` auto-rigger (`autoRigEngine.ts`).*\n\n---\n\n### 2. 🕺 3D Video Mocap & Camera Tracking Studio (`Real SMPL Body` vs. `Mixamo Y-Bot`)\n\n![3D Video Mocap & Camera Tracking Studio](docs\u002Fscreenshots\u002Ffeat-02-video-mocap-studio.jpg)\n\n**How it helps you:** Have a real-life video clip with great acting or camera movement? Upload any RGB video (up to 30 seconds) and convert the people, camera motion, and surrounding buildings into an editable 3D scene on your stage.\n- **Multi-Person 3D Motion Capture (`1..N` Actors)**: Automatically detects and tracks multiple people moving in 3D depth space—even when they cross paths.\n- **User Choice of 3D Character Mesh**:\n  - **🧬 Real SMPL Body (`6,890 Vertices`)**: Reconstructs realistic 3D human body meshes shaped to match each person's real-world height, shoulder breadth, chest\u002Fwaist\u002Fhip proportions, and body build (`slim`, `average`, `athletic`, `stocky`, `heavy`) from the video.\n  - **🤖 Mixamo Y-Bot (`1:1 Natural`)**: Retargets the extracted 3D motion onto the classic Mixamo Y-Bot mannequin while keeping its clean, natural 1:1 proportions with zero stretching or distortion.\n- **3D Camera Tracking & Scene Reconstruction**: Extracts the video's camera focal length (`mm`) and 6-DoF movement (`pan`, `tilt`, `dolly`, `truck`) plus nearby 3D architectural blocks.\n\n> 🔧 **Tech Under the Hood:** *Local GPU `NLF-Large` (`nlf_l_multi_0.3.2.torchscript`) 3D SMPL-24 extractor (`scripts\u002Fmocap_nlf_extractor.py`), auto-generated 6,890-vertex \u002F 13,776-face PCA shape blendshape skinning engine (`smplMannequinLoader.ts`), MediaPipe 33-landmark 3D fallback, and 6-DoF Camera Odometry.*\n\n---\n\n### 3. 🦴 Interactive Bone Posing (`FK\u002FIK`) & Prop-to-Hand Socketing\n\n![Interactive Bone Posing (FK\u002FIK) & Prop-to-Hand Socketing](docs\u002Fscreenshots\u002Ffeat-03-bone-posing-socketing.jpg)\n\n**How it helps you:** Dial in custom poses by hand or put a sword, lantern, or camera prop directly into a character's hand so they carry it naturally while walking or fighting.\n- **Direct 3D Bone Manipulation (`Pose Bones`)**: Click any joint on a character (`Shoulder`, `Elbow`, `Wrist`, `Hip`, `Knee`, `Head`, `Spine`) and rotate it directly in the 3D viewport.\n- **1-Click Bone Socketing**: Attach any 3D prop in your scene to a character's `Right Hand`, `Left Hand`, `Head`, or `Chest\u002FSpine`—the prop automatically follows the character's hand or body through every animation frame.\n\n> 🔧 **Tech Under the Hood:** *Interactive Three.js `TransformControls` joint rotation overrides and real-time skeletal world-matrix bone socket parenting.*\n\n---\n\n### 4. 🏛️ 200+ Built-In 3D Asset Library & Custom `.GLB` Collection\n\n![200+ Built-In 3D Asset Library & 360° 3D Preview Inspector](docs\u002Fscreenshots\u002Ffeat-04-asset-library.jpg)\n\n**How it helps you:** You never have to start from an empty screen or hunt for 3D models online. Open the library and populate a complete movie scene in seconds.\n- **200+ Curated 3D Models**: Browse ready-to-use characters, articulated mannequins, cars, motorcycles, creatures, trees, buildings, furniture, weapons, and stage props organized by category.\n- **Personal `⭐ My Uploads & AI` Vault**: Import your own `.GLB` or `.FBX` files from disk or save models generated by ComfyUI—automatically stored in your browser and synced with your local `ComfyUI\u002Foutput\u002F3d\u002F` folder.\n- **1-Click Stage Spawn**: Drop any character or prop onto the 3D floor, swap models at any time, and attach a `\u003Cpicture>` reference photo for AI video styling.\n\n> 🔧 **Tech Under the Hood:** *Three.js `GLTFLoader` & `FBXLoader`, persistent IndexedDB `modelStorage` vault, and automatic local filesystem discovery (`D:\\ComfyUI\\output\\3d\\`).*\n\n---\n\n### 5. 🏃 20+ Ready-Made Motion Clips & Realistic Human Gait Engine\n\n![20+ Ready-Made Motion Clips & Realistic Human Gait Engine](docs\u002Fscreenshots\u002Ffeat-05-motion-clips.png)\n\n**How it helps you:** Animate characters like a pro with zero 3D animation experience. Pick a movement from a visual menu and watch your character perform it immediately with realistic human weight and balance.\n- **3 Organized Motion Categories**:\n  - **Move \u002F Jump**: `Walk Forward`, `Run \u002F Sprint`, `Jump \u002F Leap`, `Sneak \u002F Stealth`, `Back Up \u002F Retreat`, `Crawl (Prone)`, `Climb \u002F Scale`.\n  - **Fight \u002F Action**: `Sword Slash`, `Dodge \u002F Roll`, `Martial Combo`, `Aim & Fire`, `Push \u002F Shove`, `Fall \u002F Collapse`.\n  - **Act \u002F Emote**: `Wave \u002F Greet`, `Talk \u002F Dialogue`, `Sit Down`, `Stand Up \u002F Rise`, `Kneel \u002F Bow`, `Heroic Taunt`, `Victory Cheer`, `Look Around`.\n- **Smart Floor Travel vs. In-Place (`Auto \u002F Move \u002F Spot`)**: Let walking\u002Frunning characters automatically travel along their floor path, or lock them in one spot.\n- **Action Cycles (`1x`–`5x`) & Body Facing**: Choose exactly how many times a gesture repeats across the shot so movements never loop robotically, and set facing angles (`Face Cam`, `3\u002F4 Left`, `Profile`, `OTS Back`).\n\n> 🔧 **Tech Under the Hood:** *Biomechanical Gait Engine (`gaitEngine.ts`) featuring asymmetric stance\u002Fswing timing (`60\u002F40` walk, `38\u002F62` run), heel-strike to toe-off foot roll (`createFootRollController`), contrapposto pelvic sway, spine counter-torsion, and `solveLookAt` horizon head stabilization.*\n\n---\n\n### 6. 🤸 Bilingual Text-to-Motion AI Director (English & Arabic)\n**How it helps you:** Need a custom action that isn't in the preset buttons? Type any movement in plain **English or Arabic**—including multi-step instructions—and watch the character act it out on the 3D stage.\n- **Natural Multi-Step Choreography**: Type phrases like *\"crawl on the ground then stand up\"*, *\"walk right then sit down\"*, or *\"رجل يزحف على الأرض ثم يقوم\"* and click **Direct**.\n- **Full-Body Coordination**: The engine coordinates all 6 body zones (hips, spine, both hands, both feet, and head gaze) simultaneously so characters bend, reach, kneel, or climb naturally.\n- **Works Offline or with Local\u002FCloud LLMs**: Runs instantly out-of-the-box using our built-in kinematic parser, and can optionally connect to local **Ollama** (`deepseek-r1`, `qwen2.5`, `llama3.3`), **Google Gemini**, or **OpenAI** for open-ended choreography.\n\n> 🔧 **Tech Under the Hood:** *Analytical 2-Bone Inverse Kinematics solver (`ikSolver.ts`) + Universal 6-Effector IK Motion Synthesizer (`universalMotionSynthesizer.ts`) + bilingual LLM kinematic program generator (`aiActingDirector.ts`).*\n\n---\n\n### 7. 🎞️ 24fps Multi-Track Cue Timeline, Speed Stretching & `+ Chain` Directing\n**How it helps you:** Control *when* every action happens and *how fast* it plays using simple drag-and-drop bars—just like editing clips in a video editor.\n- **Color-Coded Character & Camera Swimlanes**: Every actor on stage gets their own timeline track with distinct icons for movement (`◆`), acting (`●`), and jumping (`▱`), alongside a dedicated `[CAM]` camera track.\n- **Drag-and-Drop Retiming & Speed Stretch Handles**: Drag a cue left or right to change its start time, or grab the edges of a cue bar to stretch\u002Fcompress the action speed.\n- **1-Click Pacing Curves**: Change the energy of any movement with `Linear`, `Smooth`, `Burst ⚡` (explosive start), or `Ramp ↗` (gradual build-up).\n- **`+ Chain` Sequential Actions**: Click **`+ Chain`** to add a second or third action right where the previous one finished (e.g., *walk to center → kneel down → look around*) without resetting the character.\n\n> 🔧 **Tech Under the Hood:** *Deterministic 24fps multi-subject keyframe evaluator (`trajectoryMath.ts`), non-linear time-warping easing curves, and stateful pose\u002Fposition handoff chaining.*\n\n---\n\n### 8. 🎥 Dual 3D Viewports, Cinema Lenses & Live Top-View Radar\n**How it helps you:** See both the \"behind-the-scenes\" set and the exact camera shot at the same time, so you never have to guess how lens focal length or camera angles will look.\n- **Left Viewport (`3D Soundstage`)**: Free-orbit director's view showing the whole room, lighting cones, camera rig, and floor paths.\n- **Right Viewport (`Camera Viewfinder`)**: Locked to your exact output aspect ratio (`16:9`, `2.39:1 Anamorphic`, `9:16 Vertical`, `1:1`), lens focal length (`14mm` Ultra-Wide to `135mm` Telephoto Close-Up), aperture (`f\u002F1.4`–`f\u002F22`), and Dutch roll (`-45°` to `+45°`).\n- **Dynamic Camera Moves & 2D Top-View Radar**: Choose `Static`, `Dolly In`, `Pull Back`, `Track L\u002FR`, `Orbit CW\u002FCCW`, `Spiral Orbit`, `Crane Arc`, `FPV Dive`, `Steadicam Follow`, or `Whip Pan` and preview the curved path live on the 2D radar map.\n\n> 🔧 **Tech Under the Hood:** *Synchronized dual-pass Three.js WebGL2 rendering, real sensor\u002Ffocal-length FoV math, and `evaluateLiveCameraStageState` orbital\u002Fpan trajectory evaluation.*\n\n---\n\n### 9. 🌆 1-Click 3D Environments & Three-Point Studio Lighting\n**How it helps you:** Place your characters inside a rich 3D architectural set and light them cinematically in seconds without building environments from scratch.\n- **Ready-Made 3D Soundstages**: Switch instantly between `Cyberpunk Alleyway`, `Ancient Temple Ruins`, `Warm Candlelit Rooftop Terrace`, `Sci-Fi Corridor`, and `Film Studio Cyc Wall`, or upload a `\u003Cpicture 4>` background reference image.\n- **Interactive 3D Lighting Rig**: Position and aim `Key`, `Fill`, `Rim`, and `Practical` 3D light gizmos with live controls for brightness, color warmth, cone angle, atmospheric fog, and real-time shadows.\n\n> 🔧 **Tech Under the Hood:** *Procedural PBR environment generator (`environmentBuilder.ts`), shadow-mapped `SpotLight` \u002F `DirectionalLight` rigs, and volumetric fog shaders.*\n\n---\n\n### 10. 🎨 4-Channel Previs Renderer (`Clay`, `RGB`, `Depth`, `OpenPose`) & Smart Workflow Advisor\n**How it helps you:** Different ComfyUI video workflows work best with different types of guide videos. The studio renders all 4 industry-standard control passes and automatically picks the right one for your chosen workflow.\n- **4 Real-Time & Offline 24fps Render Channels**:\n  - **🗿 Clay (Neutral Grey Previs)**: Renders characters and buildings in clean studio clay so **LTX-2 IC-LoRA** captures pure 3D motion and lighting while taking 100% of its colors from your prompt and `\u003Cpicture 1>` reference (with zero grey color bleed).\n  - **🎨 RGB (Color-Coded Motion)**: Distinct limb and subject color encoding for motion-transfer workflows.\n  - **🌫️ Depth (Normalized Z-Buffer)**: Smooth near-to-far depth maps for 3D structure conditioning.\n  - **🦴 OpenPose (18-Joint Skeleton)**: High-contrast skeletal pose pass on pure black for ControlNet Pose.\n- **Smart Workflow Advisor & Auto-Switch**: Automatically knows the output node (`SaveVideo`, `VHS_VideoCombine`, `SaveGLB`, `Hy3DExportMesh`) and ideal render channel for every bundled or custom workflow, offering 1-click **`Switch to Recommended`** and automatic channel switching.\n\n> 🔧 **Tech Under the Hood:** *Hardware-accelerated `mp4-muxer` offline renderer (`offlinePrevisRenderer.ts`), deterministic `workflowOutputRegistry.ts` graph inspector, and adaptive `LTXVAddGuide` IC-LoRA control strength calibration (`0.65` in Clay mode).*\n\n---\n\n### 11. 👁️ Camera-POV Smart Prompt Compiler\n**How it helps you:** Most prompt tools describe everything on the stage—even objects hidden behind the camera, which confuses AI video models. Our studio checks the actual Camera Viewfinder and only describes what the camera truly sees.\n- **Exact Entry & Exit Timestamps**: Automatically detects when each character or prop enters or leaves the camera frame (e.g., *\"Lead Actor enters frame at 1.2s and exits at 2.8s\"*) and leaves off-screen objects out of the prompt completely.\n- **Tailored for Each Video Model**: Formats prompts specifically for **LTX-2 \u002F LTX-2.5** (flowing cinematic T5 paragraph), **MiniMax H3 Ref2VA** (`\u003CVideo 1>` + `\u003Cpicture 1>`–`\u003Cpicture 4>` subject definitions), and **Seedance 2.0** (`@Video1` + `@Image1` multimodal tags).\n\n> 🔧 **Tech Under the Hood:** *25-sample 3D `PerspectiveCamera` frustum bounding-sphere visibility engine (`povVisibilityEngine.ts`) and multi-engine adapter compilers (`ltxAdapter.ts`, `minimaxAdapter.ts`, `seedanceAdapter.ts`).*\n\n---\n\n### 12. ⚡ Live ComfyUI Rendering & Side-by-Side Sync Comparison Player\n**How it helps you:** Send your 3D preview and reference photos straight to ComfyUI with a single button click, watch live progress, and compare your 3D blocking against the final AI video side-by-side.\n- **Zero Manual File Shuffling**: Automatically uploads your rendered 24fps Previs MP4 and up to **4 Reference Images (`\u003Cpicture 1>`–`\u003Cpicture 4>`)** directly into the right ComfyUI nodes.\n- **In-App `Side-by-Side Sync` Player**: Play your **3D Previs MP4** and the **Final ComfyUI Render** locked together frame-by-frame to verify motion accuracy, or compare shot revisions in **Director Diff**.\n\n> 🔧 **Tech Under the Hood:** *Schema-verified ComfyUI API graph binder (`templateLoader.ts`), live WebSocket + HTTP `\u002Fhistory` execution tracker, and zero-CORS loopback proxy (`127.0.0.1:51731`).*\n\n---\n\n### 13. 📖 Multi-Scene Shot Bible, Interactive Demos & Dedicated Local Studio Storage\n**How it helps you:** Plan a single shot or a full multi-scene short film, learn the studio in minutes with pre-built interactive scenes, and keep all your generated files organized on your own hard drive.\n- **Shot Bible & Built-In Learning Scenes**: Switch between scenes and shots, duplicate setups, maintain character continuity across cuts, or load built-in demo scenes with one click.\n- **Dedicated `studio_storage\u002F` Disk Folder**: Every generated `.GLB` asset, ComfyUI video render, Previs MP4 export, and custom workflow is neatly saved to your local disk (`studio_storage\u002F` or any custom folder you choose in `⚙ Settings`).\n\n> 🔧 **Tech Under the Hood:** *Zustand stores (`useShotStore`, `useHistoryStore`, `useComfyStore`, `useAssetLibraryStore`) with undo\u002Fredo history and local disk storage middleware.*\n\n---\n\n## 📦 7 Bundled Ready-Made ComfyUI Workflows\n\nAll **7 production-tested ComfyUI workflows** powering this studio are included inside [`workflows\u002Ftemplates\u002F`](workflows\u002Ftemplates\u002F). Click **`📥 Workflows Pack`** inside the app header to download any workflow (both drag-and-drop **ComfyUI UI `.json`** and **API `.api.json`**) or **Download All Workflows** in one click:\n\n| # | Workflow Name | Category | Recommended Previs Channel | ComfyUI UI Workflow (Drag & Drop) | API Execution Graph | Core Models Used |\n| :--- | :--- | :--- | :--- | :--- | :--- | :--- |\n| **1** | **⚡ LTX-2 19B IC-LoRA Union Control (`v4.2`)** | Video VFX | `🗿 Clay` *(Auto-tuned `0.65`)* | [`ComfyUI_LTX2_ICLoRA_Union_Control_Workflow.json`](workflows\u002Ftemplates\u002FComfyUI_LTX2_ICLoRA_Union_Control_Workflow.json) | [`ltx2_iclora_union_control.api.json`](workflows\u002Ftemplates\u002Fltx2_iclora_union_control.api.json) | LTX-2 19B Distilled FP8, Union IC-LoRA, Gemma-3 12B, LTXV Audio VAE |\n| **2** | **🎬 MiniMax H3 Multi-Subject Ref2VA** | Video + Audio | `🎨 RGB` | [`MiniMax_H3_Ref2VA_ComfyUI_Workflow.json`](workflows\u002Ftemplates\u002FMiniMax_H3_Ref2VA_ComfyUI_Workflow.json) | [`minimax_h3_ref2va.api.json`](workflows\u002Ftemplates\u002Fminimax_h3_ref2va.api.json) | MiniMax H3 Ref2VA INT8, SolAttn, 8-Step Turbo LoRA, RIFE 60fps |\n| **3** | **🎥 MiniMax H3 Stubelius Ultimate Director** | Video + Audio | `🎨 RGB` | [`Stubelius_Ultimate_H3.json`](workflows\u002Ftemplates\u002FStubelius_Ultimate_H3.json) | [`h3_stubelius.api.json`](workflows\u002Ftemplates\u002Fh3_stubelius.api.json) | MiniMax H3 Ref2VA & FL2VA, Qwen3-VL 32B, Video + Audio VAE |\n| **4** | **🎞️ LTX-2.5 22B Distilled INT8 VFX** | Video VFX | `🎨 RGB` \u002F `🌫️ Depth` | — | [`ltx25_stubelius.api.json`](workflows\u002Ftemplates\u002Fltx25_stubelius.api.json) | LTX-2.5 22B Distilled INT8, T5-XXL FP8 |\n| **5** | **🖼️ Image-to-3D `.GLB` Reconstruction** | 3D `.GLB` | — | [`ComfyUI_Image_to_3D_GLB_Workflow.json`](workflows\u002Ftemplates\u002FComfyUI_Image_to_3D_GLB_Workflow.json) | [`comfy_image_to_3d_glb.api.json`](workflows\u002Ftemplates\u002Fcomfy_image_to_3d_glb.api.json) | Pixal3D INT8, TRELLIS.2 INT8, BiRefNet, MoGe v1, DINOv3 |\n| **6** | **✍️ Text-to-3D `.GLB` Studio Generator** | 3D `.GLB` | — | [`ComfyUI_Text_to_3D_GLB_Workflow.json`](workflows\u002Ftemplates\u002FComfyUI_Text_to_3D_GLB_Workflow.json) | [`comfy_text_to_3d_glb.api.json`](workflows\u002Ftemplates\u002Fcomfy_text_to_3d_glb.api.json) | Z-Image Turbo FP8, Qwen-3-4B, Flux VAE, BiRefNet, Pixal3D \u002F TRELLIS.2 |\n| **7** | **🛡️ Hunyuan3D-2.1 Normal & PBR `.GLB`** | 3D `.GLB` | — | [`ComfyUI_Hunyuan3D_21_GLB_Workflow.json`](workflows\u002Ftemplates\u002FComfyUI_Hunyuan3D_21_GLB_Workflow.json) | [`comfy_hunyuan3d_21_glb.api.json`](workflows\u002Ftemplates\u002Fcomfy_hunyuan3d_21_glb.api.json) | Hunyuan3D-DiT-v2-1 FP16, Hy3D Paint PBR Multi-View, BiRefNet |\n\n---\n\n## 📸 Visual Feature Tour & Screenshots\n\n### 1. Full Studio Workspace — Dual 3D Viewports & 24fps Cue Timeline\n![Full Studio Workspace](docs\u002Fscreenshots\u002F01-studio-workspace.png)\n\n### 2. 3D Character Control Panel, Motion Clips & Bilingual AI Motion Director\n![3D Character Control Panel](docs\u002Fscreenshots\u002F02-character-control-panel.png)\n\n### 3. Camera & Lens Optics Deck — Real Focal Lengths & Live Top-View Radar\n![Camera & Lens Optics Deck](docs\u002Fscreenshots\u002F03-camera-optics-deck.png)\n\n### 4. 3D Soundstage Environments & Three-Point Studio Lighting\n![Set & Lighting Studio](docs\u002Fscreenshots\u002F04-environment-and-lighting.png)\n\n### 5. Multi-Pass Previs Render (`Clay` \u002F `RGB` \u002F `Depth` \u002F `OpenPose`) & Live ComfyUI Bridge\n![Previs Render & Export Deck](docs\u002Fscreenshots\u002F05-previs-export-deck.png)\n\n---\n\n## 🛠️ 1-Click Installation & Quick Start\n\n### Prerequisites\n- **OS**: Windows 10 \u002F 11, macOS, or Linux\n- **Node.js**: `v20.x` or `v22.x` LTS (includes `npm`)\n- *(Optional)* **ComfyUI** running locally at `http:\u002F\u002F127.0.0.1:8188` for live 3D `.GLB` generation, NLF 3D SMPL video mocap, and live video rendering. *(The 3D Previs Stage, 200+ Asset Library, Motion Clips, and 24fps MP4\u002FControlNet Exporters work 100% locally in your browser\u002Fdesktop app even when ComfyUI is offline!)*\n\n### 1. Clone the Repository\n```bash\ngit clone https:\u002F\u002Fgithub.com\u002Fnavarisun1982\u002Fcomfyui-motion-previs-studio.git\ncd comfyui-motion-previs-studio\n```\n\n### 2. ⚡ One-Click Launch on Windows (`start_studio.bat` \u002F `run.bat`)\nOn Windows, simply **double-click [`start_studio.bat`](start_studio.bat)** (for Browser Mode) or **[`run.bat`](run.bat)** (for the Native Electron Desktop App):\n- Automatically runs `npm install` on first launch if needed.\n- Applies our branded 3D studio icon (`Assets\u002Flogo.ico`) and creates a desktop shortcut.\n- Starts the studio server and opens **`http:\u002F\u002F127.0.0.1:5173`** (or launches the native desktop window).\n\n### 3. Manual CLI Setup (Windows \u002F macOS \u002F Linux)\n```bash\n# Install dependencies\nnpm install\n\n# Run in Browser Mode (http:\u002F\u002Flocalhost:5173)\nnpm run dev\n\n# Or launch as a Native Desktop App (Electron)\nnpm run desktop\n```\n\n### 4. Optional AI Directing Providers (`⚙ Settings`)\nOpen **`⚙ Settings`** in the top header bar to connect optional local or cloud LLMs for natural-language choreography and prompt polishing:\n\n| Provider Mode | Supported Models | What It Unlocks |\n| :--- | :--- | :--- |\n| **Local (`Ollama` \u002F Local Endpoint)** | `deepseek-r1`, `qwen2.5`, `llama3.3` (`http:\u002F\u002Flocalhost:11434`) | **100% free, local & private** bilingual character choreography and prompt directing. |\n| **Google Gemini** | `gemini-2.5-pro`, `gemini-2.5-flash`, `gemini-2.0-flash` | High-speed spatial stage blocking and engine-specific video prompt compilation. |\n| **OpenAI** | `gpt-4o`, `gpt-4o-mini`, `gpt-4.1`, `o3-mini` | Natural-language acting direction and cinematic prompt refinement. |\n\n---\n\n## 🧪 Verification, Type-Checking & Automated Tests\n\nRun the full **468-test Vitest suite** and production TypeScript + Vite build:\n\n```bash\n# Run all 56 test suites (468 unit & integration tests)\nnpm test\n\n# Run full TypeScript check + production bundle build\nnpm run build\n```\n\n---\n\n## 📂 Project Architecture\n\n```text\n├── docs\u002F\n│   ├── demo\u002F                 # Full 1080p studio demo video & animated preview\n│   ├── screenshots\u002F          # Visual feature tour screenshots\n│   └── ARCHITECTURE.md       # System architecture & data flow\n├── public\u002F\n│   ├── images\u002F               # Studio UI icons & hero thumbnails\n│   └── models\u002F               # Rigged 3D humanoid & creature meshes (.glb \u002F .fbx)\n├── scripts\u002F\n│   └── mocap_nlf_extractor.py# Local GPU NLF-Large 3D SMPL-24 multi-person extractor\n├── src\u002F\n│   ├── adapters\u002F             # Engine prompt & config adapters (LTX-2\u002F2.5, MiniMax H3, Seedance)\n│   ├── components\u002F           # 2026 Cinematic Command Center UI\n│   │   ├── MocapStudioModal.tsx      # 3D Video Mocap Studio (Real SMPL 6,890v vs Mixamo Y-Bot)\n│   │   ├── AIGenerator3D.tsx         # ComfyUI Image-to-3D & Text-to-3D .GLB Studio + Auto-Rigger\n│   │   ├── BundledWorkflowsModal.tsx # 1-Click downloader for all 7 bundled ComfyUI workflows\n│   │   ├── AssetLibraryModal.tsx     # 200+ Curated 3D Assets + Custom .GLB Vault\n│   │   ├── StagePrevis3D.tsx         # Dual-viewport Three.js soundstage & camera viewfinder\n│   │   ├── MotionPrevisStage.tsx     # 24fps transport bar, Cue swimlanes & speed stretching\n│   │   ├── CharacterControlCard.tsx  # Motion clips, Bilingual IK Director & Cue Ribbon\n│   │   ├── PrevisExportDeck.tsx      # 4-Channel MP4 exporter, Workflow Advisor & ComfyUI Bridge\n│   │   ├── ShotBible.tsx             # Multi-scene storyboard manager & built-in learning demos\n│   │   └── DirectorDiffModal.tsx     # Side-by-side shot revision & video diff inspector\n│   ├── engine\u002F\n│   │   ├── kinematics\u002F               # SMPL 6,890v loader, Mixamo loader, Auto-Rigger, Gait & 6-Effector IK\n│   │   ├── staging\u002F                  # Procedural 3D environments & subject mesh factory\n│   │   ├── vfx\u002F                      # Video mocap analyzer, 6-DoF camera tracker & scene reconstructor\n│   │   ├── workflowOutputRegistry.ts # Deterministic ComfyUI output node & channel advisor registry\n│   │   ├── povVisibilityEngine.ts    # 3D Camera-POV frustum visibility & timestamp analyzer\n│   │   ├── promptCompiler.ts         # Official model-specific prompt compilers\n│   │   └── offlinePrevisRenderer.ts  # Hardware-accelerated 4-channel 24fps MP4 renderer\n│   ├── services\u002F             # ComfyUI REST\u002FWS client, 3D generator, storage & LLM directors\n│   ├── stores\u002F               # Zustand stores (useShotStore, useHistoryStore, useComfyStore)\n│   └── types\u002F                # Canonical Zod-validated ShotSpec schemas\n└── workflows\u002F\n    └── templates\u002F            # 7 Bundled ComfyUI UI (.json) & API (.api.json) workflows + bindings\n```\n\n---\n\n## 📄 License\n\nReleased under the **MIT License**.\n","ComfyUI Motion Previs Studio 是一个开源的 3D 预演（previs）工具，专为 AI 视频创作设计，用于在生成前可视化镜头调度、角色动作与摄像机运动。它支持实时 3D 场景搭建、基于视频的 3D 动作\u002F摄像机提取（NLF-SMPL、Mixamo）、GLB 模型导入与生成，并深度集成 ComfyUI，提供 7 套开箱即用的工作流，适配 LTX-2、LTX-2.5、MiniMax H3 等主流 AI 视频引擎。项目采用 TypeScript 开发，强调零成本预演、帧级时间控制与导演式交互，适用于 AI 影视分镜设计、动态构图验证及多角色协同动效规划等专业创作场景。","2026-11-24 04:41:10","CREATED_QUERY"]