Files
neverbiasu-ComfyUI-BAGEL/example_workflows/bagel_image_understanding.json

209 lines
4.8 KiB
JSON

{
"id": "80f603cc-cd7a-4856-a4a6-f5ba97296535",
"revision": 0,
"last_node_id": 5,
"last_link_id": 3,
"nodes": [
{
"id": 1,
"type": "BAGELModelLoader",
"pos": [
80,
120
],
"size": [
340,
90
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"label": "model",
"name": "model",
"type": "BAGEL_MODEL",
"links": [
1
]
}
],
"properties": {
"Node name for S&R": "BAGELModelLoader",
"cnr_id": "comfyui-bagel"
},
"widgets_values": [
"bagel-7b-mot.safetensors"
]
},
{
"id": 2,
"type": "LoadImage",
"pos": [
80,
280
],
"size": [
340,
314
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"label": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"links": [
2
]
},
{
"label": "MASK",
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"Node name for S&R": "LoadImage",
"cnr_id": "comfy-core"
},
"widgets_values": [
"meme.jpg",
"image"
]
},
{
"id": 3,
"type": "BAGELImageUnderstanding",
"pos": [
540,
180
],
"size": [
420,
210
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{
"label": "model",
"name": "model",
"type": "BAGEL_MODEL",
"link": 1
},
{
"label": "image",
"name": "image",
"type": "IMAGE",
"link": 2
}
],
"outputs": [
{
"label": "text",
"name": "text",
"type": "STRING",
"links": [
3
]
}
],
"properties": {
"Node name for S&R": "BAGELImageUnderstanding",
"cnr_id": "comfyui-bagel"
},
"widgets_values": [
"Describe this image in detail.",
false,
false,
0.3,
512
]
},
{
"id": 4,
"type": "ShowText|pysssss",
"pos": [
1020,
180
],
"size": [
369.19140625,
419.796875
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"label": "text",
"name": "text",
"type": "STRING",
"link": 3
}
],
"outputs": [
{
"label": "STRING",
"name": "STRING",
"shape": 6,
"type": "STRING",
"links": null
}
],
"properties": {
"Node name for S&R": "ShowText|pysssss",
"cnr_id": "comfyui-custom-scripts"
},
"widgets_values": [
"The image is a collage of three sections, each representing different parts of a handwritten exam paper. The top section is labeled \"First two pages\" and shows a portion of the handwriting that appears to discuss the issue of global warming. The handwriting is legible, with a mix of cursive and print styles, and the text is written in blue ink on lined paper.\n\nThe middle section is labeled \"Middle pages\" and displays a continuation of the handwriting, which seems to be discussing the impact of global warming on the environment. The handwriting is more cursive and less legible than in the first section, and the text is also in blue ink on lined paper.\n\nThe bottom section is labeled \"Last two pages\" and features a completely different type of handwriting that resembles an electrocardiogram (ECG) reading. This section is in black and white, with a grid background that is typical of ECG paper. The handwriting in this section is very faint and difficult to decipher, and it does not appear to be written in blue ink.\n\nThe image has a title at the top that reads \"My Handwriting In Exams,\" suggesting that it is a humorous or satirical representation of how a person's handwriting may change over the course of an exam. The style of the image is a combination of a photograph and a graphic design, with the handwritten text and the ECG-like handwriting presented in a way that emphasizes the contrast between the two."
]
}
],
"links": [
[
1,
1,
0,
3,
0,
"BAGEL_MODEL"
],
[
2,
2,
0,
3,
1,
"IMAGE"
],
[
3,
3,
0,
4,
0,
"STRING"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 1,
"offset": [
232.5625,
85.6875
]
},
"frontendVersion": "1.45.20"
},
"version": 0.4
}