> ## 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.

# MoGeInference - ComfyUI Built-in Node Documentation

> Run MoGe on images to estimate depth and geometry.

Run MoGe on images to estimate depth and geometry. This node processes an input image through the MoGe model to generate a 3D point cloud, depth map, camera intrinsics, a mask, and surface normals.

## Inputs

| Parameter | Description | Data Type | Required | Range |
| - | - | - | - | - |
| `moge_model` | The MoGe model to use for inference. | MOGE\_MODEL | Yes | N/A |
| `image` | The input image for depth and geometry estimation. Only the first three color channels (RGB) are used. | IMAGE | Yes | N/A |
| `resolution_level` | Controls the processing resolution. 0 = fastest, 9 = most detail. (default: 9) | INT | Yes | 0 to 9 |
| `fov_x_degrees` | (Advanced) Horizontal field of view of the source camera. Sets the focal length used to unproject the depth map into 3D. 0 = auto-recover from the predicted points. (default: 0.0) | FLOAT | Yes | 0.0 to 170.0 (step 0.1) |
| `batch_size` | Images per inference call. Lower if you OOM on a long video / image set. (default: 4) | INT | Yes | 1 to 64 |
| `force_projection` | (Advanced) Forces projection of the predicted points. (default: True) | BOOLEAN | Yes | True/False |
| `apply_mask` | (Advanced) Set masked-out (sky / invalid) pixels to inf in points and depth so meshing culls them. Disable to keep the raw predicted geometry everywhere; the mask is still returned separately. (default: True) | BOOLEAN | Yes | True/False |
| `refine_steps` | (Advanced) MoGe-3 only: sparse volumetric refinement passes over the predicted depth. More passes sharpen fine detail and edges at a roughly linear cost. 0 disables refinement. Ignored by MoGe-1 / MoGe-2. (default: 3) | INT | Yes | 0 to 8 |

Note: When the input `image` contains more frames than `batch_size`, the node processes them in multiple inference calls and combines the results into a single output geometry.

## Outputs

| Output Name | Description | Data Type |
| - | - | - |
| `moge_geometry` | A dictionary containing the estimated geometry. It includes the original `image`, and may contain `points` (3D point cloud), `depth` (depth map), `intrinsics` (camera intrinsics matrix), `mask` (mask identifying valid pixels), and `normal` (surface normals). | MOGE\_GEOMETRY |

> This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! [Edit on GitHub](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/MoGeInference/en.md)

***

**Source fingerprint (SHA-256):** `10f3399d9b6bc4ff8a940c940f538a8ec8f38a15e7d65f162499c5ab264fad65`


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.