Team Ai
Modelpublic

Dharz/Workflows

sourceHugging Faceupdated 1mo agoView on Hugging Face
0likes114downloads
florence2_large_caption_example_comfyui.json213 linesDownload Raw Back to root
1{2  "last_node_id": 4,3  "last_link_id": 3,4  "nodes": [5    {6      "id": 1,7      "type": "LoadImage",8      "pos": [9        50,10        16011      ],12      "size": [13        315,14        31415      ],16      "flags": {},17      "order": 0,18      "mode": 0,19      "inputs": [],20      "outputs": [21        {22          "name": "IMAGE",23          "type": "IMAGE",24          "links": [25            126          ],27          "slot_index": 028        },29        {30          "name": "MASK",31          "type": "MASK",32          "links": null,33          "slot_index": 134        }35      ],36      "properties": {37        "Node name for S&R": "LoadImage"38      },39      "widgets_values": [40        "example.png",41        "image"42      ]43    },44    {45      "id": 2,46      "type": "DownloadAndLoadFlorence2Model",47      "pos": [48        50,49        -6050      ],51      "size": [52        360,53        16054      ],55      "flags": {},56      "order": 1,57      "mode": 0,58      "inputs": [],59      "outputs": [60        {61          "name": "florence2_model",62          "type": "FLORENCE2",63          "links": [64            265          ],66          "slot_index": 067        }68      ],69      "properties": {70        "Node name for S&R": "DownloadAndLoadFlorence2Model"71      },72      "widgets_values": [73        "microsoft/Florence-2-large",74        "fp16",75        "sdpa"76      ]77    },78    {79      "id": 3,80      "type": "Florence2Run",81      "pos": [82        470,83        12084      ],85      "size": [86        430,87        26088      ],89      "flags": {},90      "order": 2,91      "mode": 0,92      "inputs": [93        {94          "name": "image",95          "type": "IMAGE",96          "link": 197        },98        {99          "name": "florence2_model",100          "type": "FLORENCE2",101          "link": 2102        }103      ],104      "outputs": [105        {106          "name": "image",107          "type": "IMAGE",108          "links": null,109          "slot_index": 0110        },111        {112          "name": "mask",113          "type": "MASK",114          "links": null,115          "slot_index": 1116        },117        {118          "name": "caption",119          "type": "STRING",120          "links": [121            3122          ],123          "slot_index": 2124        },125        {126          "name": "data",127          "type": "JSON",128          "links": null,129          "slot_index": 3130        }131      ],132      "properties": {133        "Node name for S&R": "Florence2Run"134      },135      "widgets_values": [136        "<MORE_DETAILED_CAPTION>",137        "",138        true,139        1024,140        3,141        true142      ]143    },144    {145      "id": 4,146      "type": "PreviewText",147      "pos": [148        960,149        150150      ],151      "size": [152        360,153        180154      ],155      "flags": {},156      "order": 3,157      "mode": 0,158      "inputs": [159        {160          "name": "text",161          "type": "STRING",162          "link": 3163        }164      ],165      "outputs": [],166      "properties": {167        "Node name for S&R": "PreviewText"168      },169      "widgets_values": [170        "Florence caption will appear here."171      ]172    }173  ],174  "links": [175    [176      1,177      1,178      0,179      3,180      0,181      "IMAGE"182    ],183    [184      2,185      2,186      0,187      3,188      1,189      "FLORENCE2"190    ],191    [192      3,193      3,194      2,195      4,196      0,197      "STRING"198    ]199  ],200  "groups": [],201  "config": {},202  "extra": {203    "ds": {204      "scale": 1,205      "offset": [206        0,207        0208      ]209    },210    "note": "Template for ComfyUI-Florence2. If nodes turn red, install kijai/ComfyUI-Florence2 and restart ComfyUI."211  },212  "version": 0.4213}