All models
Imagev1.0.0
Depth Anything V1 Small
Estimate depth from a single image → a depth map (near = bright) plus a colored preview.
5 inputsIMAGEIMAGE
Demo coming soon
Demo coming soon
Output
Fill in the inputs and run the node to see its output here.
Run it from your code
The same node, called by id from any surface. Every tab pins depth-anything-v1-small and passes the ports below. Full guide.
import { BlitClient } from "@blitflow/sdk";
const { runNode } = new BlitClient({ apiKey: process.env.BLITFLOW_TOKEN });
const { outputs } = await runNode("depth-anything-v1-small", {
image: { ref: "https://..." },
inputSize: { value: 518 },
bitDepth: { value: "16" },
invert: { value: false },
colormap: { value: "spectral" },
});# Install once, then sign in
npm install -g blitflow
blitflow login
blitflow node depth-anything-v1-small \
-i image=@https://... \
-i inputSize=518 \
-i bitDepth="16" \
-i invert=false \
-i colormap="spectral"{
"name": "runs_node",
"arguments": {
"node": "depth-anything-v1-small",
"inputs": {
"image": {
"ref": "https://..."
},
"inputSize": {
"value": 518
},
"bitDepth": {
"value": "16"
},
"invert": {
"value": false
},
"colormap": {
"value": "spectral"
}
}
}
}curl https://studio.blitflow.com/api/v1/runs/node \
-H "Authorization: Bearer $BLITFLOW_TOKEN" \
-H "Content-Type: application/json" \
-d '{"node":"depth-anything-v1-small","inputs":{"image":{"ref":"https://..."},"inputSize":{"value":518},"bitDepth":{"value":"16"},"invert":{"value":false},"colormap":{"value":"spectral"}}}'Schema
Inputs
| image* | IMAGE | ||
| inputSize | INT | Inference resolution (×14) | 518 |
| bitDepth | TEXT | 16 · 8 | 16 |
| invert | BOOLEAN | Invert (near = dark) | false |
| colormap | TEXT | Preview colors spectral · inferno · viridis · magma · turbo | spectral |
Outputs
| depth | IMAGE | ||
| colorDepth | IMAGE |