diff --git a/advanced/comfyui/README.md b/advanced/comfyui/README.md
new file mode 100644
index 0000000..67300ef
--- /dev/null
+++ b/advanced/comfyui/README.md
@@ -0,0 +1,36 @@
+# ComfyUI
+
+[ComfyUI](https://github.com/comfyanonymous/ComfyUI.git) is a powerful and modular stable diffusion GUI and backend that let you design and execute advanced stable diffusion pipelines using a graph/nodes/flowchart based interface.
+
+## Install Lepton sdk
+```shell
+pip install leptonai
+```
+
+## Launch Stable Diffusion web UI in the cloud
+
+Similar to other examples, you can run ComfyUI on Lepton Cloud Platform easily, e.g.:
+
+```shell
+lep photon create -n comfyui -m photon.py
+lep photon push -n comfyui
+lep photon run \
+ -n comfyui \
+ --resource-shape gpu.a10
+ --public
+```
+
+You can visit [dashboard.lepton.ai](https://dashboard.lepton.ai/) to use the web Dashboard, or use `lep` cli to manage the launched deployment:
+```shell
+lep deployment status -n comfyui
+```
+
+## Client
+
+Once the ComfyUI server is up, you can copy the deployment url shown on the Lepton Dashboard (or in the `lep` cli output)
+
+
+
+and visit it in the web browser. e.g. running the sdxl + svd models to do text to video:
+
+
diff --git a/advanced/comfyui/assets/browser.png b/advanced/comfyui/assets/browser.png
new file mode 100644
index 0000000..7e5da9f
Binary files /dev/null and b/advanced/comfyui/assets/browser.png differ
diff --git a/advanced/comfyui/assets/deployment.png b/advanced/comfyui/assets/deployment.png
new file mode 100644
index 0000000..4500f39
Binary files /dev/null and b/advanced/comfyui/assets/deployment.png differ
diff --git a/advanced/comfyui/photon.py b/advanced/comfyui/photon.py
new file mode 100644
index 0000000..d1a44b7
--- /dev/null
+++ b/advanced/comfyui/photon.py
@@ -0,0 +1,18 @@
+from leptonai.photon import Photon
+
+
+class ComfyUI(Photon):
+ comfyui_version = "329c571"
+ cmd = [
+ "bash",
+ "-c",
+ (
+ "pip install aiohttp einops torchsde &&"
+ "git clone --recursive https://github.com/comfyanonymous/ComfyUI.git && cd"
+ f" ComfyUI && git checkout {comfyui_version} && python main.py --listen"
+ " 0.0.0.0 --port 8080"
+ ),
+ ]
+ deployment_template = {
+ "resource_shape": "gpu.a10",
+ }