- cURL
 - Python
 - JavaScript
 
curl --location 'https://api.scalewaveai.com/public-deployment/depth_estimation/base/v1' \
  --header 'Content-Type: application/json' \
  --header 'api-key: SCALEWAVEAI_API_KEY' \
  --data '{
  "image_url": "http://images.cocodataset.org/val2017/000000039769.jpg",
  "webhook_url": null
}'
import requests
import json
url = "https://api.scalewaveai.com/public-deployment/depth_estimation/base/v1"
payload = json.dumps({
  "image_url": "http://images.cocodataset.org/val2017/000000039769.jpg",
  "webhook_url": None
})
headers = {
  'Content-Type': 'application/json',
  'api-key': 'SCALEWAVEAI_API_KEY',
}
response = requests.request("POST", url, headers=headers, data=payload)
print(response.text)
var myHeaders = new Headers();
myHeaders.append("Content-Type", "application/json");
myHeaders.append("api-key", "SCALEWAVEAI_API_KEY");
const raw = JSON.stringify({
  "image_url": "http://images.cocodataset.org/val2017/000000039769.jpg",
  "webhook_url": null
});
var requestOptions = {
  method: 'POST',
  headers: myHeaders,
  body: raw,
  redirect: 'follow'
};
fetch("https://api.scalewaveai.com/public-deployment/depth_estimation/base/v1", requestOptions)
  .then(response => response.text())
  .then(result => console.log(result))
  .catch(error => console.log('error', error));
Choose Image Source
OR
OR
Sample Images







Help Us Improve Depth Estimation
Your feedback drives our model development