infery
← All models

MoGe-2

moge-2

3D generationby Microsoft

Estimates metric 3D geometry from a single image, returning a point map, depth, a validity mask and the camera field of view, with surface normals on the normal-capable checkpoints. Four ViT checkpoints trade accuracy for speed, and the result can be exported as a textured GLB mesh and a colored PLY point cloud.

Details

Accepts
text + image

Pricing

Price
1.25 cr / megapixel

Prices in credits (1 credit = $0.01).

Data schema

Input

FieldTypeDescription
fov_x—Optional known horizontal field of view in degrees. If provided, MoGe uses it instead of estimating the camera FoV.
modelstringenum: vitl-normal, vitl, vitb-normal, vits-normalMoGe-2 checkpoint variant. '-normal' variants additionally predict surface normals. 'vitl' is the metric model without normals; the smaller 'vitb-normal'/'vits-normal' variants trade accuracy for speed.
image_urlstringInput RGB image to estimate geometry (point map, depth, normals) for.
apply_maskbooleanIf true, mask out invalid (sky/background/uncertain) regions in the predicted point map and depth map.
export_glbbooleanIf true, export a textured .glb mesh of the reconstructed geometry.
export_plybooleanIf true, export a colored .ply point cloud of the reconstructed geometry.
edge_thresholdnumberRelative threshold for removing mesh edges across depth discontinuities. Smaller values remove more edges.
resolution_levelintegerProcessing resolution level (0-9). Higher values use more tokens for finer detail but slower inference. Output size always matches the input.
enable_safety_checkerbooleanEnable safety checking of the input image.

Output

FieldTypeDescription
mask—Binary validity mask (PNG); white where geometry is valid.
fov_xnumberHorizontal field of view in degrees.
fov_ynumberVertical field of view in degrees.
depth_map—Colorized depth visualization (PNG).
intrinsicsarrayNormalized 3x3 camera intrinsics matrix [[fx,0,cx],[0,fy,cy],[0,0,1]].
model_mesh—Textured .glb mesh of the reconstructed geometry (when export_glb=true).
normal_map—Colorized surface-normal visualization (PNG). Null for non-normal model variants.
point_cloud—Colored .ply point cloud of the reconstructed geometry (when export_ply=true).