Skip to content

Panorama Generation with Inpainting Models based on method proposed in 2025 Meta paper "A Recipe for Generating 3D Worlds From a Single Image".

Notifications You must be signed in to change notification settings

Cedric-Perauer/PanoramaGenInpaint

Repository files navigation

Training free panorama generation with inpainting via equirectangular mapping

This code implements a 360 panorama generation pipeline based on the 2025 Meta paper "A Recipe for Generating 3D Worlds From a Single Image".

Example Outputs

Prompt : "a market square in the 1800s" My Image

Prompt : "a modern japanese garden with a pond and a waterfall" My Image

ToDo

  • readme explanation

Install

conda create -n pano_gen python=3.10
conda activate pano_gen
pip install -r requirements.txt

Run the Code

python world.py --scene_prompt "a modern japanese garden with a pond and a waterfall" --scene_prompt_sides "a modern japanese garden " --sky_prompt "a clear blue sky"
--scene_prompt : prompt for the middle center image generation 
--scene_prompt_sides : prompt for the sides of the image => should describe general scene layout, but can be less descriptive than scene_prompt
--sky_prompt : prompt for the sky image generation 
--debug : optional mode that stores all inpainting masks, etc.

About

Panorama Generation with Inpainting Models based on method proposed in 2025 Meta paper "A Recipe for Generating 3D Worlds From a Single Image".

Resources

Stars

Watchers

Forks

Packages

No packages published