New:Microsoft Teams Notifications Are Now Available in Socket.Learn more
Get Started

@drawcall/generate-panorama

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@drawcall/generate-panorama

Generate 360° environment maps (background WebP + IBL HDR)

Source
npmnpm
Version
0.1.0
Version published
Weekly downloads
8
-50%
Maintainers
1
Weekly downloads
 
Created
Source

@drawcall/generate-panorama

Client SDK for generating 360° environment maps in the Drawcall Market environment format: a 2048×1024 background WebP plus a 1024×512 Radiance .hdr for Three.js PMREM/IBL lighting.

import { generate } from "@drawcall/generate-panorama";
import { writeFile } from "node:fs/promises";

const result = await generate({
  prompt: "a misty alpine valley at sunrise"
});

await writeFile("public/environment/alpine-valley.hdr", result.hdr);
await writeFile("public/environment/alpine-valley-background.webp", result.backgroundWebp);

The default API host is https://v1.panorama.api.drawcall.ai.

The pipeline generates the LDR panorama with GPT Image 2 (fal.ai), blends the equirectangular wraparound seam, and reconstructs HDR with LEDiff hosted on Modal.

FAQs

Package last updated on 03 Jul 2026

Related posts