Files
workflow-templates-broken-z…/templates/utility-depthAnything-v2-relative-video.json
2026-06-07 20:54:59 -07:00

408 lines
8.8 KiB
JSON

{
"id": "2b55aa34-ee4c-4ae6-ba91-ee445d8c98db",
"revision": 0,
"last_node_id": 10,
"last_link_id": 7,
"nodes": [
{
"id": 8,
"type": "VHS_VideoInfo",
"pos": [
1109.3505468975045,
417.2971157374461
],
"size": [
280.140625,
264
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "video_info",
"type": "VHS_VIDEOINFO",
"link": 6
}
],
"outputs": [
{
"name": "source_fps🟨",
"type": "FLOAT",
"links": [
7
]
},
{
"name": "source_frame_count🟨",
"type": "INT",
"links": null
},
{
"name": "source_duration🟨",
"type": "FLOAT",
"links": null
},
{
"name": "source_width🟨",
"type": "INT",
"links": null
},
{
"name": "source_height🟨",
"type": "INT",
"links": null
},
{
"name": "loaded_fps🟦",
"type": "FLOAT",
"links": null
},
{
"name": "loaded_frame_count🟦",
"type": "INT",
"links": null
},
{
"name": "loaded_duration🟦",
"type": "FLOAT",
"links": null
},
{
"name": "loaded_width🟦",
"type": "INT",
"links": null
},
{
"name": "loaded_height🟦",
"type": "INT",
"links": null
}
],
"properties": {
"Node name for S&R": "VHS_VideoInfo"
},
"widgets_values": {}
},
{
"id": 6,
"type": "VHS_LoadVideo",
"pos": [
649.1624635830028,
411.58858746152276
],
"size": [
369.3125,
389.3125
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [
{
"name": "meta_batch",
"shape": 7,
"type": "VHS_BatchManager",
"link": null
},
{
"name": "vae",
"shape": 7,
"type": "VAE",
"link": null
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
4
]
},
{
"name": "frame_count",
"type": "INT",
"links": null
},
{
"name": "audio",
"type": "AUDIO",
"links": null
},
{
"name": "video_info",
"type": "VHS_VIDEOINFO",
"links": [
6
]
}
],
"properties": {
"Node name for S&R": "VHS_LoadVideo"
},
"widgets_values": {
"video": "roller_coaster.mp4",
"force_rate": 0,
"custom_width": 0,
"custom_height": 0,
"frame_load_cap": 0,
"skip_first_frames": 0,
"select_every_nth": 1,
"format": "AnimateDiff",
"videopreview": {
"hidden": false,
"paused": false,
"params": {
"force_rate": 0,
"custom_width": 0,
"custom_height": 0,
"frame_load_cap": 0,
"skip_first_frames": 0,
"select_every_nth": 1,
"filename": "frog_depth_input.mp4",
"type": "input",
"format": "video/mp4"
}
}
}
},
{
"id": 7,
"type": "VHS_VideoCombine",
"pos": [
1582.0997361892141,
249.56529775739696
],
"size": [
383.015625,
429.3125
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 5
},
{
"name": "audio",
"shape": 7,
"type": "AUDIO",
"link": null
},
{
"name": "meta_batch",
"shape": 7,
"type": "VHS_BatchManager",
"link": null
},
{
"name": "vae",
"shape": 7,
"type": "VAE",
"link": null
},
{
"name": "frame_rate",
"type": "FLOAT",
"widget": {
"name": "frame_rate"
},
"link": 7
}
],
"outputs": [
{
"name": "Filenames",
"type": "VHS_FILENAMES",
"links": null
}
],
"properties": {
"Node name for S&R": "VHS_VideoCombine"
},
"widgets_values": {
"frame_rate": 24,
"loop_count": 0,
"filename_prefix": "AnimateDiff",
"format": "video/h264-mp4",
"pix_fmt": "yuv420p",
"crf": 12,
"save_metadata": true,
"trim_to_audio": false,
"pingpong": false,
"save_output": true,
"videopreview": {
"hidden": false,
"paused": false,
"params": {
"filename": "37fde861e3060e130e39357df31a2b7925e0742646fe64c439987f37d58ca4c8.mp4",
"format": "video/h264-mp4",
"frame_rate": 24,
"fullpath": "",
"subfolder": "",
"type": "output",
"workflow": "AnimateDiff_00002.png"
}
}
}
},
{
"id": 1,
"type": "DepthAnything_V2",
"pos": [
1103.8760876387234,
248.20276204426426
],
"size": [
377.515625,
72
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "da_model",
"type": "DAMODEL",
"link": 1
},
{
"name": "images",
"type": "IMAGE",
"link": 4
}
],
"outputs": [
{
"name": "image",
"type": "IMAGE",
"links": [
5
]
}
],
"properties": {
"Node name for S&R": "DepthAnything_V2"
},
"widgets_values": []
},
{
"id": 2,
"type": "DownloadAndLoadDepthAnythingV2Model",
"pos": [
640.2630626354951,
251.62509818756877
],
"size": [
384.5,
88.171875
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "da_v2_model",
"type": "DAMODEL",
"links": [
1
]
}
],
"properties": {
"Node name for S&R": "DownloadAndLoadDepthAnythingV2Model"
},
"widgets_values": [
"depth_anything_v2_vitl_fp32.safetensors"
]
},
{
"id": 9,
"type": "MarkdownNote",
"pos": [
34.25556338647971,
250.041570023022
],
"size": [
511.6875,
672.953125
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [],
"properties": {},
"widgets_values": [
"Guide: [Subgraph](https://docs.hanzo.ai/interface/features/subgraph)\n\n## Model Links (for Local Users)\n\n**depthanything**\n\n- [depth_anything_v2_vitl_fp32.safetensors](https://huggingface.co/Kijai/DepthAnythingV2-safetensors/resolve/main/depth_anything_v2_vitl_fp32.safetensors)\n\n\n## Model Storage Location\n\n```\n📂 HanzoStudio/\n├── 📂 models/\n│ ├── 📂 depthanything/\n│ │ ├── depth_anything_v2_vitl_fp32.safetensors\n```\n\n## Report Issue\n\nNote: Please update Hanzo Studio first ([guide](https://docs.hanzo.ai/zh-CN/installation/update_comfyui)) and prepare required models. Desktop/Cloud ship stable builds; nightly-supported models may not be included yet, please wait for the next stable release.\n\n- Cannot run / runtime errors: [HanzoStudio/issues](https://github.com/hanzoai/studio/issues)\n- UI / frontend issues: [HanzoStudio_frontend/issues](https://github.com/hanzoui/frontend/issues)\n- Workflow issues: [workflow_templates/issues](https://github.com/hanzoui/workflow-templates/issues)\n"
],
"color": "#432",
"bgcolor": "#653"
}
],
"links": [
[
1,
2,
0,
1,
0,
"DAMODEL"
],
[
4,
6,
0,
1,
1,
"IMAGE"
],
[
5,
1,
0,
7,
0,
"IMAGE"
],
[
6,
6,
3,
8,
0,
"VHS_VIDEOINFO"
],
[
7,
8,
0,
7,
4,
"FLOAT"
]
],
"groups": [],
"config": {},
"extra": {
"workflowRendererVersion": "Vue",
"ds": {
"scale": 0.6830134553650705,
"offset": [
444.8067518725118,
156.2670485905823
]
},
"frontendVersion": "1.37.9",
"VHS_latentpreview": false,
"VHS_latentpreviewrate": 0,
"VHS_MetadataImage": true,
"VHS_KeepIntermediate": true
},
"version": 0.4
}