diff --git a/README.md b/README.md index 5605579..627ab4f 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,12 @@ cd ComfyUI/models/ git clone https://huggingface.co/ViperYX/RGT ``` +## Example +an example workflow in `workflow` folder + +![](assets/image.png) + + ## Parameters diff --git a/assets/image.png b/assets/image.png new file mode 100644 index 0000000..1c571b2 Binary files /dev/null and b/assets/image.png differ diff --git a/example/example_workflow.json b/example/example_workflow.json new file mode 100644 index 0000000..1aee5b8 --- /dev/null +++ b/example/example_workflow.json @@ -0,0 +1,141 @@ +{ + "last_node_id": 3, + "last_link_id": 2, + "nodes": [ + { + "id": 1, + "type": "LoadImage", + "pos": [ + 581.9765625, + 838.4453125 + ], + "size": [ + 315, + 314 + ], + "flags": {}, + "order": 0, + "mode": 0, + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 1 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "MASK", + "type": "MASK", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "0829_3.png", + "image" + ] + }, + { + "id": 3, + "type": "PreviewImage", + "pos": [ + 1627.93359375, + 905.3359375 + ], + "size": [ + 210, + 246 + ], + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 2 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 2, + "type": "RGT_Upscale", + "pos": [ + 1066, + 882 + ], + "size": { + "0": 315, + "1": 106 + }, + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 1 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 2 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "RGT_Upscale" + }, + "widgets_values": [ + "RGT", + "x4", + "enable" + ] + } + ], + "links": [ + [ + 1, + 1, + 0, + 2, + 0, + "IMAGE" + ], + [ + 2, + 2, + 0, + 3, + 0, + "IMAGE" + ] + ], + "groups": [], + "config": {}, + "extra": { + "ds": { + "scale": 1, + "offset": [ + -133.265625, + -222.984375 + ] + } + }, + "version": 0.4 +} \ No newline at end of file