ComfyUI Extension: SideBySide_Stereoscope
Run ComfyUI workflows without the setup
No installs, no CUDA version roulette, no GPU sitting idle on your bill. Bring a workflow and run it in the browser.
Create immersive 3D stereoscopic images and videos! Transform your ComfyUI generations into stunning side-by-side 3D visuals for videos and image sequences. Powered by Depth-Anything-V2, no external depth maps needed. Perfect for VR, 3D displays, and cross-eyed viewing - no special glasses required!
Looking for a different extension?
Custom Nodes (7)
README
ComfyUI SS Stereoscope
Transform any 2D image into immersive stereoscopic 3D content in ComfyUI.
The SideBySide Stereoscope Node is a cutting-edge 2D-to-3D conversion tool designed for ComfyUI. Powered by Depth-Anything (V2 & V3), it automatically creates high-quality depth maps and generates side-by-side (SBS) 3D images and videos perfect for VR headsets and 3D displays.
β¨ Features
- π§ AI-Powered Depth - Uses Depth-Anything (V2 & V3) for automatic, high-quality depth estimation.
- π Stereoscopic Modes - Supports Parallel and Cross-eyed viewing techniques.
- π₯ Video Support - Full workflow for converting videos to 3D (upload, process, combine).
- ποΈ Fine Control - Adjust depth scale, blur radius, and depth inversion.
- β‘ Integrated Workflow - No external tools needed; handles everything within ComfyUI.
- π Performance Mode - Optional "HighSodium Optimization" for up to 4x faster processing.
πΈ Demo
π Quick Start
Prerequisites
- ComfyUI installed
- Python >= 3.8
- FFmpeg (Recommended for video support)
- The node attempts to use your system's FFmpeg first.
- If missing, it will fallback to the
imageio-ffmpegbinary (included in dependencies). - Windows Users: For best performance, install FFmpeg manually from ffmpeg.org and ensure it is added to your System PATH.
Installation
- Navigate to your custom nodes directory:
cd ComfyUI/custom_nodes - Clone the repository:
git clone https://github.com/SamSeenX/ComfyUI_SSStereoscope.git - Install dependencies:
pip install -r ComfyUI_SSStereoscope/requirements.txt - Restart ComfyUI.
(Note: The AI model will download automatically on first use.)
π Documentation
Core Nodes
- π SBS V2: The main node. Input a 2D image, get a 3D SBS image + depth map.
depth_scale: Intensity of the 3D effect.mode: Cross-eyed vs Parallel.highsodium_optimization: Enable vectorized algorithm for faster processing (may produce slightly different results).
- π SBS V2.1 (External Depth): New in v2.1! Uses the fast V2 engine (HighSodium) but accepts your custom Depth Maps.
- Fixes "reducing" artifacts found in the legacy node.
- Resolution-Relative Scaling:
depth_scale(0-100) now maps to 0-20% of image width. This gives you fine-grained control while preventing output-breaking values.- Scale 10 = 2% width separation.
- Scale 50 = 10% width separation.
- Scale 100 = 20% width separation (Max).
- π SBS Video Uploader: Converts input video to image sequence.
- π SBS Video Combiner: Merges processed frames back into a video.
Workflow Example
- Video Input: Use
SBS Video Uploaderto load a video. - Process: Connect frames to
SBS V2node. - Output: Connect results to
SBS Video Combinerto save the 3D video.
ποΈ Project Structure
ComfyUI_SSStereoscope/
βββ sbs_v2.py # Main logic
βββ requirements.txt # Dependencies
βββ video_utils.py # Video processing helpers
βββ README.md
π€ Contributing
Contributions are welcome!
- Fork the repository
- Create your feature branch
- Commit your changes
- Push to the branch
- Open a Pull Request
Contributors
- SamSeen - Original Author
- HighSodium - Performance optimization (PR #16)
π License
This project is licensed under the MIT License - see the LICENSE file for details.
β Support
If you find this project useful, please consider supporting me:
- β Starring this repository
- π Reporting issues
- β Buy me a coffee
Created with β€οΈ by SamSeen
Run ComfyUI workflows without the setup
No installs, no CUDA version roulette, no GPU sitting idle on your bill. Bring a workflow and run it in the browser.