Hi3DGen

HI3DGEN

Turns a picture of one object into a detailed untextured 3D model, a mesh as a GLB file, by working out the surface normals first, and can learn your own shapes from pictures paired with meshes.

3D Generationimage-to-3d3d-generationmeshnormalsgeometrymitFine-tunable
Hi3DGen: 3D Generation model on Kainguru

About Hi3DGen

Capabilities

  • One picture in — a photo or a render of one object; the background is removed for you, or use a transparent PNG
  • Sharp geometry — the surface normals are estimated first, so edges and fine shapes come out clean
  • A mesh out — an untextured GLB file, plus a preview picture of the result
  • Fine-tuning — teach it your own shapes from pictures paired with the meshes they should become

Good to know

  • Geometry only: the mesh has no colours or textures. For a coloured model use TRELLIS IMAGE LARGE.
  • One request is billed as one request. A mesh takes up to a couple of minutes; fewer steps are faster.
  • The GLB uses glTF's axes (Y up, the front towards +Z). Meshes have up to 300,000 triangles by default; lower the cap for smaller files.
  • Pictures are PNG, JPEG or WebP, at most 20 MB, 40 megapixels and 8192 pixels on a side, and no side more than 8 times the other. A picture with a transparent background is used as it is; otherwise the object is cut out automatically.
  • Fine-tuning takes one ZIP (at most 4 GB, no password) with 4 to 200 examples and a manifest.jsonl with one {"image": ..., "mesh": ...} line per example, paths relative to it. The pictures follow the limits above. A mesh is an OBJ, PLY or GLB file (at most 64 MB, 3 million vertices), read in glTF's axes unless you set up_axis to z.
  • An object may fill at most 32768 of the 262144 cells of a 64 x 64 x 64 grid; a mesh that fills more is refused with its name.
  • Training learns your shapes from your pairs, one example per step, on both stages; it stops after the steps you ask for or 9 hours, whichever comes first, and keeps what it has learned.

Attribution

Hi3DGen (Stable3DGen) by Chongjie Ye and colleagues at Bytedance, released under the MIT License, Copyright (c) 2025 Bytedance Inc., on TRELLIS by Microsoft Research (MIT License, Copyright (c) Microsoft Corporation). Surface normals come from MoGe-2 by Microsoft Research (MIT License). The mesh extraction method is FlexiCubes by NVIDIA (Apache License 2.0); the image encoder is DINOv2 by Meta (Apache License 2.0); background removal uses U^2-Net (Apache License 2.0).

Hi3DGen inputs and output

NameTypeRequiredDefaultDetails
imagefileYes—A picture of one object: PNG, JPEG or WebP, at most 20 MB and 8192 pixels on a side, and no side more than 8 times the other. A transparent background is used as it is; otherwise the object is cut out automatically.
1–2048 characters · image/png, jpeg, webp
latent_stepsintegerNo6Steps of the second stage, which adds surface detail and colour. More steps take longer.
1–50
sparse_structure_guidancenumberNo3.0How closely the shape follows the picture. High values can look overdone.
0–15
sparse_structure_stepsintegerNo50Steps of the first stage, which decides where the object is. More steps take longer.
1–50
seedintegerNo—The same seed and inputs give the same object. Leave empty for a random seed.
0–2147483647
mesh_facesintegerNo300000The mesh is simplified to at most this many triangles; lower gives smaller files.
1000–1000000
latent_guidancenumberNo3.0How closely the detail and colour follow the picture.
0–15

Output. Returns GLB 3D model: The 3D object as a GLB file, Y up and its front towards +Z. A shaded preview PNG is in preview_s3_key.

Run Hi3DGen with the API

Send your API key in the X-API-Key header. The run is asynchronous: submit it, then poll it until it finishes. Create an API key.

cURL
curl -X POST "https://api.kainguru.com/api/v1/executions?mlFlowId=HI3DGEN" \
  -H "X-API-Key: kg_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "image": "https://example.com/input.png",
    "latent_guidance": 3.0,
    "latent_steps": 6,
    "mesh_faces": 300000,
    "sparse_structure_guidance": 3.0,
    "sparse_structure_steps": 50
  },
  "outputFormat": "json"
}'

# Poll until the execution reaches a terminal state
curl "https://api.kainguru.com/api/v1/executions/{executionId}" \
  -H "X-API-Key: kg_your_api_key"
Python
from kainguru import KainguruClient

with KainguruClient(api_key="kg_your_api_key", base_url="https://api.kainguru.com/api") as client:
    submitted = client.executions.execute(
        "HI3DGEN",
        {
          "image": "https://example.com/input.png",
          "latent_guidance": 3.0,
          "latent_steps": 6,
          "mesh_faces": 300000,
          "sparse_structure_guidance": 3.0,
          "sparse_structure_steps": 50
        },
        output_format="json",
    )
    result = client.executions.await_completion(submitted.id)
    print(result.execution.output)

Fine-tune Hi3DGen

You can fine-tune Hi3DGen on your own data and run the tuned model through the same API. Dataset: One ZIP (at most 4 GB, no password) with 4 to 200 pairs of a picture and a mesh and a manifest.jsonl with one {"image": ..., "mesh": ...} line per pair. More rules: Good to know, in the README.

The steps are in the docs.

Hi3DGen pricing

Price per request: 1.5285 credits ($0.015285). The price is shown again before every run; all prices are on the pricing page.

Licence and source

TRELLIS Image Large: 3D Generation model on Kainguru
3D Generation

TRELLIS Image Large

Turns a picture of one object into a 3D model, a coloured mesh as a GLB file, and can learn your own kinds of objects…

Fine-tunable
TripoSR: 3D Generation model on Kainguru
3D Generation

TripoSR

Turns a picture of one object into a coloured 3D model, a mesh as a GLB file, in seconds, and can learn your own kinds…

Fine-tunable