ControlNet Preprocess Depth
ControlNet Preprocess Depth estimates a depth map from an input image for ControlNet conditioning. It is useful when the goal is to preserve scene layout, foreground-background separation, camera perspective, and overall 3D spatial structure while changing style or content.
API Reference
INTEGRATE
Complete technical specification for integration
Request Response
Examples 4
CODE
Ready-to-use code snippets for common workflows
Clockwork Shipyard Assembly Bay
{
"taskType": "controlNetPreprocess",
"taskUUID": "2c12cdfa-8a51-4871-bcda-fa0ed94fc77b",
"model": "runware:controlnet-preprocess@depth",
"inputs": {
"image": "https://assets.runware.ai/assets/inputs/35b1e3ea-4136-4707-9988-e70bbfecbc36.jpg"
}
}{
"taskType": "imageControlNetPreProcess",
"taskUUID": "2c12cdfa-8a51-4871-bcda-fa0ed94fc77b",
"guideImageURL": "https://im.runware.ai/image/os/a01d21/ws/3/ii/8c2de654-f627-4e37-856f-89d34be4d9f4.jpg",
"cost": 0.0013,
"guideImageUUID": "8c2de654-f627-4e37-856f-89d34be4d9f4",
"inputImageUUID": "8e08e451-5828-45fa-b402-fabc1dad0cb6"
}Tiered Sequoia Canopy Walkways
{
"taskType": "controlNetPreprocess",
"taskUUID": "4a49c232-b5ee-49b3-89e8-806183e56e2d",
"model": "runware:controlnet-preprocess@depth",
"inputs": {
"image": "https://assets.runware.ai/assets/inputs/6558dddf-8da6-46a3-a71b-6b929b78900a.jpg"
}
}{
"taskType": "imageControlNetPreProcess",
"taskUUID": "4a49c232-b5ee-49b3-89e8-806183e56e2d",
"guideImageURL": "https://im.runware.ai/image/os/a02d21/ws/3/ii/2c9aa235-25c5-4ab3-a357-2822c476af94.jpg",
"cost": 0.0013,
"guideImageUUID": "2c9aa235-25c5-4ab3-a357-2822c476af94",
"inputImageUUID": "0b6662ae-9343-47e5-9832-8dc65cd74688"
}Layered Railway Concourse Depth Map
{
"taskType": "controlNetPreprocess",
"taskUUID": "d1db3edf-0a57-486a-8379-5f4d08dda1da",
"model": "runware:controlnet-preprocess@depth",
"inputs": {
"image": "https://assets.runware.ai/assets/inputs/55e0c117-8cb9-4827-925d-d6361c29dfcd.jpg"
}
}{
"taskType": "imageControlNetPreProcess",
"taskUUID": "d1db3edf-0a57-486a-8379-5f4d08dda1da",
"guideImageURL": "https://im.runware.ai/image/os/a05d22/ws/3/ii/e2307c83-2bb1-48f7-bc4b-a942e552c02b.jpg",
"cost": 0.0013,
"guideImageUUID": "e2307c83-2bb1-48f7-bc4b-a942e552c02b",
"inputImageUUID": "26bb21b1-88f2-4ff0-b838-cf174636c065"
}Ancient Amphitheater Depth Layers
{
"taskType": "controlNetPreprocess",
"taskUUID": "da2c3ef6-6181-40d4-94f6-2b38c439c19e",
"model": "runware:controlnet-preprocess@depth",
"inputs": {
"image": "https://assets.runware.ai/assets/inputs/346a78ad-e666-4c51-b7fe-646b54a9c25d.jpg"
}
}{
"taskType": "imageControlNetPreProcess",
"taskUUID": "da2c3ef6-6181-40d4-94f6-2b38c439c19e",
"guideImageURL": "https://im.runware.ai/image/os/a07dlim3/ws/3/ii/89ce2f22-0212-4b28-9cb2-163bd5d84724.jpg",
"cost": 0.0006,
"guideImageUUID": "89ce2f22-0212-4b28-9cb2-163bd5d84724",
"inputImageUUID": "0c6b1f4c-92d5-48e8-a8e9-782d0a80ab0c"
}