Files
dagthomas-comfyui_dagthomas/examples/minicpm/image_example.json
T
2025-10-14 20:50:31 +02:00

112 lines
2.1 KiB
JSON

{
"last_node_id": 3,
"last_link_id": 3,
"nodes": [
{
"id": 1,
"type": "LoadImage",
"pos": [100, 100],
"size": [315, 314],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [1],
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"example.png",
"image"
]
},
{
"id": 2,
"type": "MiniCPMImageNode",
"pos": [450, 100],
"size": [400, 400],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 1
}
],
"outputs": [
{
"name": "response",
"type": "STRING",
"links": [2],
"slot_index": 0
},
{
"name": "conversation_history",
"type": "STRING",
"links": [3],
"slot_index": 1
}
],
"properties": {
"Node name for S&R": "MiniCPMImageNode"
},
"widgets_values": [
"Describe this image in detail. What are the main subjects, colors, and composition?",
"openbmb/MiniCPM-V-4_5",
false,
false,
"cuda",
false,
""
]
},
{
"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
}