Perception

Reconstruct 3D

Send one or more views of a scene and get camera poses and a 3D point cloud.

View as Markdown
POST/v1/reconstruct

Authorization

Request body

JSON, with Content-Type: application/json.

  • modelstringrequired

    The reconstruction model to run, e.g. meta/vggt. The live models for this endpoint are listed below.

  • imagesstring[]required

    1–16 views of the scene, base64 JPEG or PNG, each under 4 MB of base64. For a single view you can send image instead.

Response

  • idstring

    Unique id of this call, e.g. rec_48213. It matches the call in your Activity dashboard.

  • modelstring

    The model that answered.

  • backendstring

    "http": the real model ran on a GPU. "simulated": stand-in output of the same shape, as test keys get.

  • sandboxboolean

    true when the call was made with a test key: the output is simulated, nothing ran on a GPU and nothing was charged. Absent otherwise.

  • camerasobject[]

    One per image, in order.

    Show 2 child attributes
    • intrinsicsnumber[4]

      [fx, fy, cx, cy] in pixels.

    • posenumber[16]

      Camera-to-world 4×4 matrix, row-major.

  • pointsnumber[][]

    The point cloud, [x, y, z] in world coordinates.

  • unitstring

    "m": meters. "relative": one unknown scale for the whole scene (e.g. VGGT). Absent means meters.

  • usageobject

    What the call cost.

    Show 2 child attributes
    • cost_usdnumber

      Charged to your credits, in US dollars.

    • latency_msinteger

      Time the model took, in milliseconds.

Errors

The errors every endpoint shares: invalid input, keys, credits and cold starts. See Errors.

Models

3 live models for /reconstruct. Each page has a ready-made request.

1 more is coming soon. See the models page.