Overview

ToolEndpointResponse
Convert HDRIPOST /api/hdri/convertZIP (cubemap) or PNG
IBL filterPOST /api/hdri/filterZIP (mipmaps)
Lighting setupPOST /api/hdri/lightingGLTF
Light probePOST /api/hdri/probeJSON

Convert HDRI

POST /api/hdri/convert Auth required

Converts an HDRI image. When targeting cubemap, returns a zip of face images; otherwise returns a PNG.

FieldTypeDescription
filefile *HDRI image.
sourceFormatstringhdr or exr (default hdr).
targetFormatstringcubemap or other (default cubemap).
faceSizeintCubemap face size (default 512).

IBL filter

POST /api/hdri/filter Auth required

Generates IBL mipmap levels, returned as a zip.

FieldTypeDescription
filefile *HDRI image.
sourceFormatstringhdr or exr (default hdr).
mipLevelsarray (JSON)Mipmap sizes, e.g. [256, 128, 64, 32].

Lighting setup

POST /api/hdri/lighting Auth required

Generates a punctual-lights GLTF rig. No file upload required.

FieldTypeDescription
setupTypestringLighting setup (default three-point).
keyIntensityfloatKey light intensity.
fillIntensityfloatFill light intensity.
rimIntensityfloatRim light intensity.

Light probe

POST /api/hdri/probe Auth required

Bakes light-probe data from a model and an HDRI. Returns JSON.

FieldTypeDescription
modelfile *3D model.
hdrifile *HDRI environment.
inputFormatstringModel format (default glb).
probeCountintNumber of probes (default 16).