ComfyUI MoGe Introduction
MoGe (CVPR 2025, from Microsoft Research) is a powerful model for recovering 3D geometry from monocular open-domain images. It estimates metric point maps, metric depth maps, normal maps, and camera FOV: all in a single forward pass. Key capabilities:- Accurate 3D geometry estimation: point maps, depth maps, and normal maps from a single image: one model, one forward pass
- Metric scale (MoGe-2): point maps and depth maps in real-world scale
- Flexible resolution support: works with various resolutions and aspect ratios (2:1 to 1:2)
- Fast inference: ~60ms per image on A100 / RTX 3090 (FP16, ViT-L)
- Mesh generation from both perspective and panoramic images
MoGe-2 adds metric scale and high-quality normal map estimation with sharper visual detail and lower inference latency. MoGe-2 with normal (moge_2_vitl_normal_fp16) is the recommended checkpoint.
Model Installation
Download the MoGe checkpoint(s) and save them to the corresponding ComfyUI folder:- MoGe-2 (recommended): moge_2_vitl_normal_fp16.safetensors
- MoGe-1 (baseline): moge_1_vitl_fp16.safetensors
Example Workflows
MoGe: Depth Estimation
Upload a single RGB image and generate a colored depth preview and raw depth map.
Run on Comfy Cloud
Open in Comfy Cloud
Download Workflow
Download JSON or search “MoGe: Depth Estimation” in Template Library
LoadImage node:
alien_world.png
LoadImage node 9 · alien_world.png1.1 Steps to Run
- Ensure the
LoadMoGeModelnode has loaded a MoGe checkpoint - Load an image in the
Load Imagenode - Click
Queueor useCtrl(cmd) + Enterto run - The workflow outputs colored depth preview, raw depth preview, and a mask
MoGe: Perspective Geometry Estimation
Upload an image to estimate its perspective geometry. Generate a 3D depth map and surface normals from the input, then convert to a textured GLB mesh.
Run on Comfy Cloud
Open in Comfy Cloud
Download Workflow
Download JSON or search “MoGe: Perspective Geometry Estimation” in Template Library
LoadImage node:
modern_living_room.png
LoadImage node 9 · modern_living_room.png
2.1 Steps to Run
- Ensure the
LoadMoGeModelnode has loaded a MoGe checkpoint - Load a perspective photo in the
Load Imagenode - (Optional) View the OpenGL and DirectX normal previews
- Click
Queueor useCtrl(cmd) + Enterto run
Moge: Panorama to Mesh
Upload an equirectangular 360° panorama image and generate a textured GLB mesh with vertex colors.
Run on Comfy Cloud
Open in Comfy Cloud
Download Workflow
Download JSON or search “Moge: Panorama to Mesh” in Template Library
LoadImage node:
lego_street_panorama.png
LoadImage node 28 · lego_street_panorama.png
MoGePanoramaInference to split the panorama into 12 perspective views, run monocular geometry estimation on each view independently, then merge them into a single mesh.
3.1 Steps to Run
- Ensure the
LoadMoGeModelnode has loaded one of the MoGe checkpoints - Load an equirectangular panorama image in the
Load Imagenode - Click
Queueor useCtrl(cmd) + Enterto run
Community Resources
- MoGe GitHub (microsoft/MoGe): Research paper and code
- Comfy-Org/MoGe: Official ComfyUI model weights