curl -X POST https://api.artificialstudio.ai/api/run \
-H "Content-Type: application/json" \
-H "Authorization: YOUR_API_KEY" \
-d '{
"tool": "video-depth-map",
"input": {
"model": "video-depth-map",
"video_url": "https://example.com/video.mp4",
"colormap": "turbo"
}
}'
{
"id": "507f1f77bcf86cd799439011",
"status": "processing",
"tool": "video-depth-map",
"createdAt": "2024-01-15T10:30:00.000Z"
}
Generate temporally consistent depth maps from video.
curl -X POST https://api.artificialstudio.ai/api/run \
-H "Content-Type: application/json" \
-H "Authorization: YOUR_API_KEY" \
-d '{
"tool": "video-depth-map",
"input": {
"model": "video-depth-map",
"video_url": "https://example.com/video.mp4",
"colormap": "turbo"
}
}'
{
"id": "507f1f77bcf86cd799439011",
"status": "processing",
"tool": "video-depth-map",
"createdAt": "2024-01-15T10:30:00.000Z"
}
| Credits | 8 credits per second |
| Tool | video-depth-map |
| Name | Type | Required | Description |
|---|---|---|---|
Authorization | string | Yes | Your API key |
Content-Type | string | Yes | application/json |
| Parameter | Type | Required | Description |
|---|---|---|---|
tool | string | Yes | video-depth-map |
input.model | string | Yes | video-depth-map |
input.video_url | string | Yes | URL of the video to generate a depth map from |
input.colormap | string | No | Depth visualization style. Options: grayscale, turbo, inferno, magma, viridis (default: grayscale) |
curl -X POST https://api.artificialstudio.ai/api/run \
-H "Content-Type: application/json" \
-H "Authorization: YOUR_API_KEY" \
-d '{
"tool": "video-depth-map",
"input": {
"model": "video-depth-map",
"video_url": "https://example.com/video.mp4",
"colormap": "turbo"
}
}'
{
"id": "507f1f77bcf86cd799439011",
"status": "processing",
"tool": "video-depth-map",
"createdAt": "2024-01-15T10:30:00.000Z"
}