Skip to main content
POST
Pano Depth To Rgb
depth_pano_image must be a full 360° equirectangular depth panorama with a 2:1 width-to-height aspect ratio. Inputs that are not 2:1 are center-cropped to that ratio before generation, which discards content at the edges.

Authorizations

WLT-Api-Key
string
header
required

API key for authentication. Get your key from the developer portal.

Body

application/json

Request to generate an RGB panorama from a depth panorama.

Provide a depth panorama and a text prompt describing the desired appearance. The depth map supplies the scene geometry; the model synthesizes textures that loosely adhere to that geometry and returns a panoramic RGB image.

Accepted depth inputs:

  • EXR: float depth values. Omit z_min and z_max.
  • PNG: depth values normalized to [0, 1]. Provide both z_min and z_max so the service can decode the PNG correctly.

For a complete PNG-based workflow, see the web-chisel-depth-png example <https://github.com/worldlabsai/worldlabs-api-examples/tree/main/web-chisel-depth-png>.

This endpoint returns a long-running Operation. Poll GET /operations/{operation_id} until done is true, then read the generated panorama URL from response.pano_url.

depth_pano_image
MediaAssetReference · object
required

Reference to a previously uploaded MediaAsset.

text_prompt
string
required

Text description of the desired appearance.

seed
integer | null

Random seed for reproducible generation.

Required range: 0 <= x <= 4294967295
z_max
number | null

Maximum depth. Required for PNG depth maps (normalized to [0, 1]). Must be provided together with z_min and must be greater than z_min. Omit for EXR depth maps.

Required range: x > 0
z_min
number | null

Minimum depth. Required for PNG depth maps (normalized to [0, 1]). Must be provided together with z_max. Omit for EXR depth maps.

Required range: x > 0

Response

Successful Response

done
boolean
required

True if the operation is completed

operation_id
string
required

Operation identifier

cost
OperationCost · object | null

Settled credit cost for the operation. Populated only on successful completion.

created_at
string<date-time> | null

Creation timestamp

error
OperationError · object | null

Error information if the operation failed

expires_at
string<date-time> | null

Expiration timestamp

metadata
Metadata · object | null

Service-specific metadata, such as progress percentage

response
PanoDepthToRgbResult · object | null

Result payload when done=true and no error. Structure depends on operation type.

updated_at
string<date-time> | null

Last update timestamp