{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/instantmesh-efficient-3d-mesh-generation-from","title":"InstantMesh: Efficient 3D Mesh Generation from a Single Image with Sparse-view Large Reconstruction Models","arxiv_id":"2404.07191","date":"2024-04-10","proceeding":null,"authors":["Jiale Xu","Weihao Cheng","Yiming Gao","Xintao Wang","Shenghua Gao","Ying Shan"],"abstract":"We present InstantMesh, a feed-forward framework for instant 3D mesh generation from a single image, featuring state-of-the-art generation quality and significant training scalability. By synergizing the strengths of an off-the-shelf multiview diffusion model and a sparse-view reconstruction model based on the LRM architecture, InstantMesh is able to create diverse 3D assets within 10 seconds. To enhance the training efficiency and exploit more geometric supervisions, e.g, depths and normals, we integrate a differentiable iso-surface extraction module into our framework and directly optimize on the mesh representation. Experimental results on public datasets demonstrate that InstantMesh significantly outperforms other latest image-to-3D baselines, both qualitatively and quantitatively. We release all the code, weights, and demo of InstantMesh, with the intention that it can make substantial contributions to the community of 3D generative AI and empower both researchers and content creators.","url_abs":"https://arxiv.org/abs/2404.07191v2","url_pdf":"https://arxiv.org/pdf/2404.07191v2.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"instantmesh-efficient-3d-mesh-generation-from","repo_url":"https://github.com/tencentarc/instantmesh","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"Apache-2.0"}}],"tasks":[{"task_slug":"image-to-3d","task_name":"Image to 3D"}],"methods":[{"method_slug":"diffusion","method_name":"Diffusion"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2404.07191","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2404.07191"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/tencentarc/instantmesh","reach":{"status":"ok","spdx":"Apache-2.0"}}],"summary":{"ran":11,"ran_honours":1,"ran_draft_wrong":2,"unverified":1},"by_repo_kind":{"official":{"samples":15,"ran":14,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":0,"samples":[{"code_sha256_prefix":"9e6e6de54d3e0f7b","entry":"center_looking_at_camera_pose","repo":"tencentarc/instantmesh","repo_kind":"official","path":"src/utils/camera_util.py","file_url":"https://github.com/tencentarc/instantmesh/blob/HEAD/src/utils/camera_util.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"9e6e6de54d3e0f7b"}},{"code_sha256_prefix":"613acd72145a95f2","entry":"count_params","repo":"tencentarc/instantmesh","repo_kind":"official","path":"src/utils/train_util.py","file_url":"https://github.com/tencentarc/instantmesh/blob/HEAD/src/utils/train_util.py","link_basis":"harvester_set","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"well_formed","behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"613acd72145a95f2"}},{"code_sha256_prefix":"221b2d116fdf1032","entry":"get_obj_from_str","repo":"tencentarc/instantmesh","repo_kind":"official","path":"src/utils/train_util.py","file_url":"https://github.com/tencentarc/instantmesh/blob/HEAD/src/utils/train_util.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"221b2d116fdf1032"}},{"code_sha256_prefix":"3417c9784b2db355","entry":"loadobj","repo":"tencentarc/instantmesh","repo_kind":"official","path":"src/utils/mesh_util.py","file_url":"https://github.com/tencentarc/instantmesh/blob/HEAD/src/utils/mesh_util.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"3417c9784b2db355"}},{"code_sha256_prefix":"7dbbb5ea8f7fd9f1","entry":"loadobjtex","repo":"tencentarc/instantmesh","repo_kind":"official","path":"src/utils/mesh_util.py","file_url":"https://github.com/tencentarc/instantmesh/blob/HEAD/src/utils/mesh_util.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"7dbbb5ea8f7fd9f1"}},{"code_sha256_prefix":"03310bba324ae4fb","entry":"modulate","repo":"tencentarc/instantmesh","repo_kind":"official","path":"src/models/encoder/dino.py","file_url":"https://github.com/tencentarc/instantmesh/blob/HEAD/src/models/encoder/dino.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"03310bba324ae4fb"}},{"code_sha256_prefix":"dd23b2696bcd01c0","entry":"pad_camera_extrinsics_4x4","repo":"tencentarc/instantmesh","repo_kind":"official","path":"src/utils/camera_util.py","file_url":"https://github.com/tencentarc/instantmesh/blob/HEAD/src/utils/camera_util.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"dd23b2696bcd01c0"}},{"code_sha256_prefix":"dbfd6882e8fac29b","entry":"resize_foreground","repo":"tencentarc/instantmesh","repo_kind":"official","path":"src/utils/infer_util.py","file_url":"https://github.com/tencentarc/instantmesh/blob/HEAD/src/utils/infer_util.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"dbfd6882e8fac29b"}},{"code_sha256_prefix":"3de799387827543b","entry":"scale_image","repo":"tencentarc/instantmesh","repo_kind":"official","path":"zero123plus/model.py","file_url":"https://github.com/tencentarc/instantmesh/blob/HEAD/zero123plus/model.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"3de799387827543b"}},{"code_sha256_prefix":"4a19e392bd2849ba","entry":"scale_latents","repo":"tencentarc/instantmesh","repo_kind":"official","path":"zero123plus/model.py","file_url":"https://github.com/tencentarc/instantmesh/blob/HEAD/zero123plus/model.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"4a19e392bd2849ba"}},{"code_sha256_prefix":"fe52c543631a511f","entry":"sdf_reg_loss_batch","repo":"tencentarc/instantmesh","repo_kind":"official","path":"src/model_mesh.py","file_url":"https://github.com/tencentarc/instantmesh/blob/HEAD/src/model_mesh.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"fe52c543631a511f"}},{"code_sha256_prefix":"ca9edbb2178a5f5d","entry":"spherical_camera_pose","repo":"tencentarc/instantmesh","repo_kind":"official","path":"src/utils/camera_util.py","file_url":"https://github.com/tencentarc/instantmesh/blob/HEAD/src/utils/camera_util.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"ca9edbb2178a5f5d"}},{"code_sha256_prefix":"2a705f9929a092ae","entry":"to_rgb_image","repo":"tencentarc/instantmesh","repo_kind":"official","path":"zero123plus/pipeline.py","file_url":"https://github.com/tencentarc/instantmesh/blob/HEAD/zero123plus/pipeline.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"2a705f9929a092ae"}},{"code_sha256_prefix":"179671c9fed021ef","entry":"unscale_latents","repo":"tencentarc/instantmesh","repo_kind":"official","path":"zero123plus/model.py","file_url":"https://github.com/tencentarc/instantmesh/blob/HEAD/zero123plus/model.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"179671c9fed021ef"}},{"code_sha256_prefix":"ef52d142b2c30ac2","entry":"instantiate_from_config","repo":"tencentarc/instantmesh","repo_kind":"official","path":"src/utils/train_util.py","file_url":"https://github.com/tencentarc/instantmesh/blob/HEAD/src/utils/train_util.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"ef52d142b2c30ac2"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}