What you will learn
This tutorial covers how to generate 360-degree equirectangular panorama images using GPT Image 2 (the image generation model inside ChatGPT) and how to view them in an interactive 360 viewer that runs entirely in your browser.
By the end you will know:
What an equirectangular image is and why the format matters
How to write prompts that produce usable 360 panoramas
How to load the result into the viewer and explore it
How to embed the viewer on your own website with a pre-loaded image
What is an equirectangular image
A 360 panorama is stored as an equirectangular projection ; a flat rectangle that maps the full sphere of vision onto a 2:1 aspect ratio image.…