{"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/l-magic-language-model-assisted-generation-of","title":"L-MAGIC: Language Model Assisted Generation of Images with Coherence","arxiv_id":"2406.01843","date":"2024-06-03","proceeding":"CVPR 2024 1","authors":["Zhipeng Cai","Matthias Mueller","Reiner Birkl","Diana Wofk","Shao-Yen Tseng","Junda Cheng","Gabriela Ben-Melech Stan","Vasudev Lal","Michael Paulitsch"],"abstract":"In the current era of generative AI breakthroughs, generating panoramic scenes from a single input image remains a key challenge. Most existing methods use diffusion-based iterative or simultaneous multi-view inpainting. However, the lack of global scene layout priors leads to subpar outputs with duplicated objects (e.g., multiple beds in a bedroom) or requires time-consuming human text inputs for each view. We propose L-MAGIC, a novel method leveraging large language models for guidance while diffusing multiple coherent views of 360 degree panoramic scenes. L-MAGIC harnesses pre-trained diffusion and language models without fine-tuning, ensuring zero-shot performance. The output quality is further enhanced by super-resolution and multi-view fusion techniques. Extensive experiments demonstrate that the resulting panoramic scenes feature better scene layouts and perspective view rendering quality compared to related works, with >70% preference in human evaluations. Combined with conditional diffusion models, L-MAGIC can accept various input modalities, including but not limited to text, depth maps, sketches, and colored scripts. Applying depth estimation further enables 3D point cloud generation and dynamic scene exploration with fluid camera motion. Code is available at https://github.com/IntelLabs/MMPano. The video presentation is available at https://youtu.be/XDMNEzH4-Ec?list=PLG9Zyvu7iBa0-a7ccNLO8LjcVRAoMn57s.","url_abs":"https://arxiv.org/abs/2406.01843v1","url_pdf":"https://arxiv.org/pdf/2406.01843v1.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":"l-magic-language-model-assisted-generation-of","repo_url":"https://github.com/intellabs/mmpano","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"Apache-2.0"}}],"tasks":[{"task_slug":"depth-estimation","task_name":"Depth Estimation"},{"task_slug":"language-modeling","task_name":"Language Modeling"},{"task_slug":"language-modelling","task_name":"Language Modelling"},{"task_slug":"point-cloud-generation","task_name":"Point Cloud Generation"},{"task_slug":"super-resolution","task_name":"Super-Resolution"}],"methods":[{"method_slug":"diffusion","method_name":"Diffusion"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":null,"atlas_url":"https://app.syntology.ai/?focus=2406.01843","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2406.01843"}},"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/intellabs/mmpano","reach":{"status":"ok","spdx":"Apache-2.0"}}],"summary":{"ran":11},"by_repo_kind":{"official":{"samples":11,"ran":11,"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":"58c9394f76539699","entry":"compute_merge_weight","repo":"intellabs/mmpano","repo_kind":"official","path":"mm_pano/mmpano.py","file_url":"https://github.com/intellabs/mmpano/blob/HEAD/mm_pano/mmpano.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":"58c9394f76539699"}},{"code_sha256_prefix":"ad23d779406f4165","entry":"compute_padding_range","repo":"intellabs/mmpano","repo_kind":"official","path":"mm_pano/mmpano.py","file_url":"https://github.com/intellabs/mmpano/blob/HEAD/mm_pano/mmpano.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":"ad23d779406f4165"}},{"code_sha256_prefix":"59ce206ca50a3933","entry":"cv2_to_pil","repo":"intellabs/mmpano","repo_kind":"official","path":"mm_pano/utils/image_utils.py","file_url":"https://github.com/intellabs/mmpano/blob/HEAD/mm_pano/utils/image_utils.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":"59ce206ca50a3933"}},{"code_sha256_prefix":"36e1a91dc6065799","entry":"extract_valid_lines","repo":"intellabs/mmpano","repo_kind":"official","path":"mm_pano/mmpano.py","file_url":"https://github.com/intellabs/mmpano/blob/HEAD/mm_pano/mmpano.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":"36e1a91dc6065799"}},{"code_sha256_prefix":"b31c0de7ece69de4","entry":"extract_words_after_we_see_withFailv2","repo":"intellabs/mmpano","repo_kind":"official","path":"mm_pano/utils/common.py","file_url":"https://github.com/intellabs/mmpano/blob/HEAD/mm_pano/utils/common.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":"b31c0de7ece69de4"}},{"code_sha256_prefix":"6c7ae9179fb3a73d","entry":"extract_words_after_we_see_withFailv3","repo":"intellabs/mmpano","repo_kind":"official","path":"mm_pano/utils/common.py","file_url":"https://github.com/intellabs/mmpano/blob/HEAD/mm_pano/utils/common.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":"6c7ae9179fb3a73d"}},{"code_sha256_prefix":"29c669733e86a91a","entry":"get_datatype","repo":"intellabs/mmpano","repo_kind":"official","path":"mm_pano/utils/model_utils.py","file_url":"https://github.com/intellabs/mmpano/blob/HEAD/mm_pano/utils/model_utils.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":"29c669733e86a91a"}},{"code_sha256_prefix":"47de5d1ff57c2197","entry":"is_on_hpu","repo":"intellabs/mmpano","repo_kind":"official","path":"mm_pano/utils/model_utils.py","file_url":"https://github.com/intellabs/mmpano/blob/HEAD/mm_pano/utils/model_utils.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":"47de5d1ff57c2197"}},{"code_sha256_prefix":"9cb2a5867b4caddc","entry":"optimize_stable_diffusion_pipeline","repo":"intellabs/mmpano","repo_kind":"official","path":"mm_pano/utils/model_utils.py","file_url":"https://github.com/intellabs/mmpano/blob/HEAD/mm_pano/utils/model_utils.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":"9cb2a5867b4caddc"}},{"code_sha256_prefix":"61b240690b05f9ac","entry":"pil_to_cv2","repo":"intellabs/mmpano","repo_kind":"official","path":"mm_pano/utils/image_utils.py","file_url":"https://github.com/intellabs/mmpano/blob/HEAD/mm_pano/utils/image_utils.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":"61b240690b05f9ac"}},{"code_sha256_prefix":"ea023ab195f66cf3","entry":"pil_to_tensor","repo":"intellabs/mmpano","repo_kind":"official","path":"mm_pano/utils/image_utils.py","file_url":"https://github.com/intellabs/mmpano/blob/HEAD/mm_pano/utils/image_utils.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":"ea023ab195f66cf3"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}