Nodes/ComfyUI/Run MoGe Inference
ComfyUI Node Runs on cloud

Run MoGe Inference

Run MoGe on a single image to estimate depth and geometry.

By Comfy-Org·Created 4 years ago·Updated 20 days ago· 121,575
Run MoGe Inference
  • moge_model
  • image
  • moge_geometry
resolution_level9
fov_x_degrees0.0
batch_size4
force_projectiontrue
apply_masktrue
Categoryimage/geometry estimation

Inputs (7)

NameTypeDefaultDescription
moge_modelMOGE_MODEL
imageIMAGE
resolution_levelINT90–90 = fastest, 9 = most detail.
fov_x_degreesFLOAT0.00–170Horizontal 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.
batch_sizeINT41–64Images per inference call. Lower if you OOM on a long video / image set.
force_projectionBOOLEANtrue
apply_maskBOOLEANtrueSet 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.

Outputs (1)

NameTypeDescription
moge_geometryMOGE_GEOMETRY