Files
dagthomas-comfyui_dagthomas/examples/minicpm/video_input_example.json
T
2025-10-14 22:20:48 +02:00

112 lines
2.0 KiB
JSON

{
"last_node_id": 3,
"last_link_id": 3,
"nodes": [
{
"id": 1,
"type": "LoadVideo",
"pos": [100, 100],
"size": [315, 200],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [1],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "LoadVideo"
},
"widgets_values": [
"example_video.mp4"
]
},
{
"id": 2,
"type": "MiniCPMVideoNode",
"pos": [450, 100],
"size": [400, 500],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [
{
"name": "video",
"type": "IMAGE",
"link": 1
}
],
"outputs": [
{
"name": "response",
"type": "STRING",
"links": [2],
"slot_index": 0
},
{
"name": "frame_info",
"type": "STRING",
"links": [3],
"slot_index": 1
}
],
"properties": {
"Node name for S&R": "MiniCPMVideoNode"
},
"widgets_values": [
"Describe what happens in this video in detail.",
"openbmb/MiniCPM-V-4_5",
5,
180,
3,
false,
false,
1,
"cuda",
false,
"",
"",
0
]
},
{
"id": 3,
"type": "ShowText",
"pos": [900, 100],
"size": [400, 300],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{
"name": "text",
"type": "STRING",
"link": 2
}
],
"outputs": [],
"properties": {
"Node name for S&R": "ShowText"
},
"widgets_values": [
""
]
}
],
"links": [
[1, 1, 0, 2, 0, "IMAGE"],
[2, 2, 0, 3, 0, "STRING"],
[3, 2, 1, null, null, "STRING"]
],
"groups": [],
"config": {},
"extra": {},
"version": 0.4
}