Official code for the paper "LucidDreamer: Domain-free Generation of 3D Gaussian Splatting Scenes".
Python
1,530
72 commits
updated Jul 23, 2026
Best Paper Runner-Up
LucidDreamer: Domain-free Generation of 3D Gaussian Splatting Scenes
*Jaeyoung Chung, *Suyoung Lee, Hyeongjin Nam, Jaerin Lee, Kyoung Mu Lee
conda create -n lucid python=3.9
conda activate lucid
pip install peft diffusers scipy numpy imageio[ffmpeg] opencv-python Pillow open3d torch==2.0.1 torchvision==0.15.2 gradio omegaconf
# ZoeDepth
pip install timm==0.6.7
# Gaussian splatting
pip install plyfile==0.8.1
cd submodules/depth-diff-gaussian-rasterization-min
# sudo apt-get install libglm-dev # may be required for the compilation.
python setup.py install
cd ../simple-knn
python setup.py install
cd ../..
conda create -n lucid python=3.9
conda activate lucid
conda install pytorch=2.0.1 torchvision=0.15.2 torchaudio=2.0.2 pytorch-cuda=11.8 -c pytorch -c nvidia
pip install peft diffusers scipy numpy imageio[ffmpeg] opencv-python Pillow open3d gradio omegaconf
# ZoeDepth
pip install timm==0.6.7
# Gaussian splatting
pip install plyfile==0.8.1
# There is an issue with whl file so please manually install the module now.
cd submodules\depth-diff-gaussian-rasterization-min\third_party
git clone https://github.com/g-truc/glm.git
cd ..\
python setup.py install
cd ..\simple-knn
python setup.py install
cd ..\..
We offer several ways to interact with LucidDreamer:
ironjr/LucidDreamer HuggingFace Space (including custom SD ckpt) and ironjr/LucidDreamer-mini HuggingFace Space (minimal features / try at here in case of the former is down)
(We appreciate all the HF / Gradio team for their support).CUDA_VISIBLE_DEVICES=0 python app.py (full feature including huggingface model download, requires ~15GB) or CUDA_VISIBLE_DEVICES=0 python app_mini.py (minimum viable demo, uses only SD1.5).# Default Example
python run.py --image <path_to_image> --text <path_to_text_file> [Other options]
--image (-img): Specify the path to the input image for scene generation.--text (-t): Path to the text file containing the prompt that guides the scene generation.--neg_text (-nt): Optional. A negative text prompt to refine and constrain the scene generation.--campath_gen (-cg): Choose a camera path for scene generation (options: lookdown, lookaround, rotate360).--campath_render (-cr): Select a camera path for video rendering (options: back_and_forth, llff, headbanging).--model_name: Optional. Name of the inpainting model used for dreaming. Leave blank for default(SD 1.5).--seed: Set a seed value for reproducibility in the inpainting process.--diff_steps: Number of steps to perform in the inpainting process.--save_dir (-s): Directory to save the generated scenes and videos. Specify to organize outputs..ply filesThere are multiple available viewers / editors for Gaussian splatting .ply files.
@antimatter15's WebGL viewer for Gaussian splatting (Live demo).
@splinetool's web-based viewer for Gaussian splatting. This is the version we have used in our project page's demo.
submodules/wheels. The Windows installation guide is revised accordingly!Please cite us if you find our project useful!
@article{chung2023luciddreamer,
title={LucidDreamer: Domain-free Generation of 3D Gaussian Splatting Scenes},
author={Chung, Jaeyoung and Lee, Suyoung and Nam, Hyeongjin and Lee, Jaerin and Lee, Kyoung Mu},
journal={arXiv preprint arXiv:2311.13384},
year={2023}
}
We deeply appreciate ZoeDepth, Stability AI, and Runway for their models.
If you have any questions, please email robot0321@snu.ac.kr, esw0116@snu.ac.kr, jarin.lee@gmail.com.
Official code for the paper "LucidDreamer: Domain-free Generation of 3D Gaussian Splatting Scenes".
Python
1,530
72 commits
updated Jul 23, 2026
Best Paper Runner-Up
LucidDreamer: Domain-free Generation of 3D Gaussian Splatting Scenes
*Jaeyoung Chung, *Suyoung Lee, Hyeongjin Nam, Jaerin Lee, Kyoung Mu Lee
conda create -n lucid python=3.9
conda activate lucid
pip install peft diffusers scipy numpy imageio[ffmpeg] opencv-python Pillow open3d torch==2.0.1 torchvision==0.15.2 gradio omegaconf
# ZoeDepth
pip install timm==0.6.7
# Gaussian splatting
pip install plyfile==0.8.1
cd submodules/depth-diff-gaussian-rasterization-min
# sudo apt-get install libglm-dev # may be required for the compilation.
python setup.py install
cd ../simple-knn
python setup.py install
cd ../..
conda create -n lucid python=3.9
conda activate lucid
conda install pytorch=2.0.1 torchvision=0.15.2 torchaudio=2.0.2 pytorch-cuda=11.8 -c pytorch -c nvidia
pip install peft diffusers scipy numpy imageio[ffmpeg] opencv-python Pillow open3d gradio omegaconf
# ZoeDepth
pip install timm==0.6.7
# Gaussian splatting
pip install plyfile==0.8.1
# There is an issue with whl file so please manually install the module now.
cd submodules\depth-diff-gaussian-rasterization-min\third_party
git clone https://github.com/g-truc/glm.git
cd ..\
python setup.py install
cd ..\simple-knn
python setup.py install
cd ..\..
We offer several ways to interact with LucidDreamer:
ironjr/LucidDreamer HuggingFace Space (including custom SD ckpt) and ironjr/LucidDreamer-mini HuggingFace Space (minimal features / try at here in case of the former is down)
(We appreciate all the HF / Gradio team for their support).CUDA_VISIBLE_DEVICES=0 python app.py (full feature including huggingface model download, requires ~15GB) or CUDA_VISIBLE_DEVICES=0 python app_mini.py (minimum viable demo, uses only SD1.5).# Default Example
python run.py --image <path_to_image> --text <path_to_text_file> [Other options]
--image (-img): Specify the path to the input image for scene generation.--text (-t): Path to the text file containing the prompt that guides the scene generation.--neg_text (-nt): Optional. A negative text prompt to refine and constrain the scene generation.--campath_gen (-cg): Choose a camera path for scene generation (options: lookdown, lookaround, rotate360).--campath_render (-cr): Select a camera path for video rendering (options: back_and_forth, llff, headbanging).--model_name: Optional. Name of the inpainting model used for dreaming. Leave blank for default(SD 1.5).--seed: Set a seed value for reproducibility in the inpainting process.--diff_steps: Number of steps to perform in the inpainting process.--save_dir (-s): Directory to save the generated scenes and videos. Specify to organize outputs..ply filesThere are multiple available viewers / editors for Gaussian splatting .ply files.
@antimatter15's WebGL viewer for Gaussian splatting (Live demo).
@splinetool's web-based viewer for Gaussian splatting. This is the version we have used in our project page's demo.
submodules/wheels. The Windows installation guide is revised accordingly!Please cite us if you find our project useful!
@article{chung2023luciddreamer,
title={LucidDreamer: Domain-free Generation of 3D Gaussian Splatting Scenes},
author={Chung, Jaeyoung and Lee, Suyoung and Nam, Hyeongjin and Lee, Jaerin and Lee, Kyoung Mu},
journal={arXiv preprint arXiv:2311.13384},
year={2023}
}
We deeply appreciate ZoeDepth, Stability AI, and Runway for their models.
If you have any questions, please email robot0321@snu.ac.kr, esw0116@snu.ac.kr, jarin.lee@gmail.com.