Reverse engineered prompt

Build me a Python project that recreates this terrain diffusion tool for procedural world generation. I want to be able to run it locally and generate realistic terrain from either a random seed or a rough coarse map, then explore the world in a simple two panel viewer where I can click on the coarse map and see a detailed shaded relief result, plus an option to view climate like temperature.

Please also include the basic command line flow to start an explore mode, run a small local API for querying elevation and climate, convert an Azgaar Fantasy Map JSON export into conditioning TIFF files, and export a high resolution GeoTIFF from those inputs. It should support deterministic results from seeds and work on CPU, but use an NVIDIA GPU if available.

If there is a self contained demo for the infinite panorama idea, wire that up too so I can run it and get an output image. Keep setup straightforward, document how to install and run everything, and look up current docs online if you need to.

Want more depth? Deep Reverse