Web quickstart
Start a TypeScript project, pose an image, and generate a new view.
Turn a photo into a new viewpoint with Atlas. Run this on your server with Node.js 24 and a Developer API key.
For CLI setup and agent skill installation, see CLI.
Read How To Use Atlas before choosing model inputs or combining tasks. For coordinate calculations, use Cameras and posed images.
To opt out of model training on your inputs, the account owner can open Settings → Account and turn off Use my data to improve models for the relevant account. This setting covers both Studio and Developer API projects in that account.
1. Install
Install the latest tag of the public
TypeScript client.
Create .env with WLT_API_KEY=your_key_here and add .env to .gitignore.
2. Generate a view
Save as generate.ts. The sample photo of a torii gate is by
Daniel Erlandson on Pexels.
3. See the result
Open the printed URL to see the generated image. The camera moves 0.25 metres along world X in the estimated scene. Metric scale is predicted, so physical distances are approximate.
For a web app, run generation in a backend job and return its status to the browser. Save operation IDs to resume polling and reuse an idempotency key for retries of the same submission. A timeout stops local waiting; it does not cancel the server task. See How To Use Atlas for camera controls and depth output.
For CPU processing of depth with Three.js, apply the EXR row mapping before unprojecting or matching image pixels.