Generate Depth Map
sirv_generate_depth_mapGenerate a greyscale depth map from one image, with lighter areas closer and darker areas farther, for parallax, relighting, or 3D effects.
Instructions
Make a greyscale depth map from one image. Lighter areas are closer and darker areas are farther away.
Use it for parallax, relighting or 3D effects. Do not use it to make a 3D model (use sirv_generate_3d_model) or to edit the image (use sirv_edit_image).
Input: image_url, the public URL of one image. It is the only input. The same image gives the same depth map.
Studio also saves the depth map in the library as a new asset. Returns result_url.
Credits: free.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"image_url": "<image_url>"
},
"name": "sirv_generate_depth_map"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image_url | Yes | Public URL of the image to make a depth map from |