diff --git a/workflow/img2txt.json b/workflow/img2txt.json new file mode 100644 index 0000000..8e49a86 --- /dev/null +++ b/workflow/img2txt.json @@ -0,0 +1,152 @@ +{ + "last_node_id": 6, + "last_link_id": 5, + "nodes": [ + { + "id": 2, + "type": "ShowText|pysssss", + "pos": [ + 1011, + 352 + ], + "size": { + "0": 455.009765625, + "1": 217.37974548339844 + }, + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [ + { + "name": "text", + "type": "STRING", + "link": 4, + "widget": { + "name": "text" + }, + "label": "文本" + } + ], + "outputs": [ + { + "name": "STRING", + "type": "STRING", + "links": null, + "shape": 6, + "label": "字符串" + } + ], + "properties": { + "Node name for S&R": "ShowText|pysssss" + }, + "widgets_values": [ + "", + "Cute, fluffy, small cat with big eyes and a playful personality." + ] + }, + { + "id": 5, + "type": "ZhipuaiApi_img", + "pos": [ + 534, + 298 + ], + "size": { + "0": 400, + "1": 200 + }, + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 5, + "label": "image", + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "text", + "type": "STRING", + "links": [ + 4 + ], + "shape": 3, + "label": "text", + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "ZhipuaiApi_img" + }, + "widgets_values": [ + "Describe this image" + ] + }, + { + "id": 6, + "type": "LoadImage", + "pos": [ + 134, + 288 + ], + "size": [ + 315, + 314.0000114440918 + ], + "flags": {}, + "order": 0, + "mode": 0, + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 5 + ], + "shape": 3, + "label": "图像" + }, + { + "name": "MASK", + "type": "MASK", + "links": null, + "shape": 3, + "label": "遮罩" + } + ], + "properties": { + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "1234.mp4", + "image" + ] + } + ], + "links": [ + [ + 4, + 5, + 0, + 2, + 0, + "STRING" + ], + [ + 5, + 6, + 0, + 5, + 0, + "IMAGE" + ] + ], + "groups": [], + "config": {}, + "extra": {}, + "version": 0.4 +} \ No newline at end of file diff --git a/workflow/img2txt.png b/workflow/img2txt.png new file mode 100644 index 0000000..4be033d Binary files /dev/null and b/workflow/img2txt.png differ diff --git a/workflow/test.png b/workflow/test.png new file mode 100644 index 0000000..0ad159a Binary files /dev/null and b/workflow/test.png differ diff --git a/workflow/txt2txt.json b/workflow/txt2txt.json new file mode 100644 index 0000000..f024643 --- /dev/null +++ b/workflow/txt2txt.json @@ -0,0 +1,97 @@ +{ + "last_node_id": 7, + "last_link_id": 6, + "nodes": [ + { + "id": 2, + "type": "ShowText|pysssss", + "pos": [ + 1011, + 352 + ], + "size": { + "0": 455.009765625, + "1": 217.37974548339844 + }, + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [ + { + "name": "text", + "type": "STRING", + "link": 6, + "widget": { + "name": "text" + }, + "label": "文本", + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "STRING", + "type": "STRING", + "links": null, + "shape": 6, + "label": "字符串" + } + ], + "properties": { + "Node name for S&R": "ShowText|pysssss" + }, + "widgets_values": [ + "", + "Cute, fluffy, small cat with big eyes and a playful personality." + ] + }, + { + "id": 7, + "type": "ZhipuaiApi_Txt", + "pos": [ + 459.0848671875001, + 268.61871838378914 + ], + "size": { + "0": 400, + "1": 200 + }, + "flags": {}, + "order": 0, + "mode": 0, + "outputs": [ + { + "name": "text", + "type": "STRING", + "links": [ + 6 + ], + "shape": 3, + "label": "text", + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "ZhipuaiApi_Txt" + }, + "widgets_values": [ + "30 words describe a girl walking on the Moon.", + "glm-3-turbo" + ] + } + ], + "links": [ + [ + 6, + 7, + 0, + 2, + 0, + "STRING" + ] + ], + "groups": [], + "config": {}, + "extra": {}, + "version": 0.4 +} \ No newline at end of file diff --git a/workflow/txt2txt.png b/workflow/txt2txt.png new file mode 100644 index 0000000..74006ed Binary files /dev/null and b/workflow/txt2txt.png differ