Documentation Index
Fetch the complete documentation index at: https://docs.comfy.org/llms.txt
Use this file to discover all available pages before exploring further.
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
| File | Version | Metric Scale | Normal Maps | Params |
|---|---|---|---|---|
moge_1_vitl_fp16 | MoGe-1 | - | - | 314M |
moge_2_vitl_normal_fp16 | MoGe-2 | ✅ | ✅ | 331M |
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
1. Depth Estimation
What it does: Takes a single image and estimates its metric depth map, colored depth preview, and mask — outputs the same metric-scale depth that MoGe infers in one forward pass. Useful as a scene depth reference for compositing, depth-based effects, or as preprocessing before mesh generation. MoGe also estimates the camera’s field of view (FOV) from the image, which can be optionally overridden with a ground-truth value for even more accurate results.Download Workflow
Download JSON or search “MoGe Depth Estimation” in Template Library
Download Sample Image
Get the example input image for this workflow


1.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
2. Perspective to Mesh
What it does: Converts a single perspective photo into a textured GLB mesh with normal and depth previews. MoGe estimates point maps, depth, and normals from the visible scene, then converts them to a mesh. This is monocular geometry estimation — occluded areas and object backsides will be missing or fragmented. Useful for quick scene prototyping, reference geometry, or visualizing depth and normals as a mesh, but not a replacement for multi-view 3D reconstruction.Download Workflow
Download JSON or search “3D MoGe Perspective to Mesh” in Template Library
Download Sample Image
Get the example input image for this workflow
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
3. Panorama to Mesh
What it does: Converts an equirectangular (360°) panorama into a textured GLB mesh. The workflow usesMoGePanoramaInference to split the panorama into 12 perspective views, runs monocular geometry estimation on each view independently, then merges them into a single mesh. Each segment is still single-view estimation, so the result is a rough scene reconstruction — useful for getting a spatial overview of a 360° scene, but occluded areas and geometry behind surfaces will be missing or fragmented.
Download Workflow
Download JSON or search “3D MoGe Panorama to Mesh” in Template Library
Download Sample Image
Get the example input image for this workflow
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