diff --git a/demo/workflow_guest.json b/demo/workflow_guest.json new file mode 100644 index 0000000..4cc50a5 --- /dev/null +++ b/demo/workflow_guest.json @@ -0,0 +1,281 @@ +{ + "last_node_id": 118, + "last_link_id": 194, + "nodes": [ + { + "id": 109, + "type": "RiceRoundSimpleChoiceNode", + "pos": [ + -177, + -379 + ], + "size": [ + 315, + 82 + ], + "flags": {}, + "order": 0, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "value", + "type": "*", + "links": [ + 188 + ], + "slot_index": 0, + "label": "value" + } + ], + "properties": { + "Node name for S&R": "RiceRoundSimpleChoiceNode" + }, + "widgets_values": [ + "LoRA名称", + "FluxCharacter\\belle_flux_lora_v1.safetensors" + ] + }, + { + "id": 116, + "type": "RiceRoundDecryptNode", + "pos": [ + 420, + 0 + ], + "size": [ + 500, + 150 + ], + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [ + { + "name": "input_anything", + "type": "*", + "link": 185, + "label": "input_anything", + "shape": 7 + }, + { + "name": "input_anything1 (109)", + "type": "*", + "link": 188, + "label": "input_anything1 (109)" + }, + { + "name": "input_anything2 (110)", + "type": "*", + "link": 189, + "label": "input_anything2 (110)" + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 194 + ], + "slot_index": 0, + "label": "IMAGE" + } + ], + "properties": { + "Node name for S&R": "RiceRoundDecryptNode" + }, + "widgets_values": [ + "c1a1aaeba5a3452bad53a4342e72141d", + 782014987030828, + "randomize" + ] + }, + { + "id": 117, + "type": "PreviewImage", + "pos": [ + 1150.531982421875, + 3.3218624591827393 + ], + "size": [ + 210, + 246 + ], + "flags": {}, + "order": 5, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 194, + "label": "图像" + } + ], + "outputs": [], + "properties": { + "Node name for S&R": "PreviewImage" + }, + "widgets_values": [] + }, + { + "id": 107, + "type": "RiceRoundInputTextNode", + "pos": [ + -383, + 111 + ], + "size": [ + 400, + 200 + ], + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "STRING", + "type": "STRING", + "links": [ + 185 + ], + "slot_index": 0, + "label": "STRING" + } + ], + "properties": { + "Node name for S&R": "RiceRoundInputTextNode" + }, + "widgets_values": [ + "一只小狗趴在一个女人脚下,汉服,摄影写真,亚洲女人,19岁,非常漂亮,瓜子脸,大眼睛", + true + ] + }, + { + "id": 110, + "type": "RiceRoundOutputFloatNode", + "pos": [ + -221, + -149 + ], + "size": [ + 315, + 130 + ], + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "value", + "type": "STRING", + "links": [ + 189 + ], + "slot_index": 0, + "label": "value" + } + ], + "properties": { + "Node name for S&R": "RiceRoundOutputFloatNode" + }, + "widgets_values": [ + "模型强度", + 0.5, + 0, + 1 + ] + }, + { + "id": 118, + "type": "RiceRoundTempTokenNode", + "pos": [ + 235, + 284 + ], + "size": [ + 315, + 58 + ], + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "STRING", + "type": "STRING", + "links": null, + "label": "STRING" + } + ], + "properties": { + "Node name for S&R": "RiceRoundTempTokenNode" + }, + "widgets_values": [ + "0K9B4FHBD6B0C4EVEE721HTQQ7WTNII5" + ] + } + ], + "links": [ + [ + 185, + 107, + 0, + 116, + 0, + "STRING" + ], + [ + 188, + 109, + 0, + 116, + 1, + "STRING" + ], + [ + 189, + 110, + 0, + 116, + 2, + "STRING" + ], + [ + 194, + 116, + 0, + 117, + 0, + "IMAGE" + ] + ], + "groups": [], + "config": {}, + "extra": { + "ds": { + "scale": 1.0610764609500007, + "offset": [ + 1024.554279306727, + 560.7087640420376 + ] + }, + "choice_node_map": { + "109": [ + "Flux\\FLUX-超写实黑悟空--V1.safetensors", + "Flux\\Flux版敦煌风_V5.0.safetensors", + "Flux\\Furry_enhancer_Photo2.safetensors", + "Flux\\SDMAI侠女FLUX_1.0.safetensors", + "Flux\\flux-亚洲人像审美_flux-1.0.safetensors", + "Flux\\foot feet flux v1.safetensors", + "Flux\\hand_Flux v1.safetensors", + "Flux\\中国女孩FluxChinese girl_v1.0.safetensors" + ] + } + }, + "version": 0.4 +} \ No newline at end of file diff --git a/demo/workflow_simple.json b/demo/workflow_simple.json new file mode 100644 index 0000000..e0d269b --- /dev/null +++ b/demo/workflow_simple.json @@ -0,0 +1,247 @@ +{ + "last_node_id": 118, + "last_link_id": 194, + "nodes": [ + { + "id": 109, + "type": "RiceRoundSimpleChoiceNode", + "pos": [ + -177, + -379 + ], + "size": [ + 315, + 82 + ], + "flags": {}, + "order": 0, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "value", + "type": "*", + "links": [ + 188 + ], + "slot_index": 0, + "label": "value" + } + ], + "properties": { + "Node name for S&R": "RiceRoundSimpleChoiceNode" + }, + "widgets_values": [ + "LoRA名称", + "FluxCharacter\\belle_flux_lora_v1.safetensors" + ] + }, + { + "id": 116, + "type": "RiceRoundDecryptNode", + "pos": [ + 420, + 0 + ], + "size": [ + 500, + 150 + ], + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [ + { + "name": "input_anything", + "type": "*", + "link": 185, + "label": "input_anything", + "shape": 7 + }, + { + "name": "input_anything1 (109)", + "type": "*", + "link": 188, + "label": "input_anything1 (109)" + }, + { + "name": "input_anything2 (110)", + "type": "*", + "link": 189, + "label": "input_anything2 (110)" + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 194 + ], + "slot_index": 0, + "label": "IMAGE" + } + ], + "properties": { + "Node name for S&R": "RiceRoundDecryptNode" + }, + "widgets_values": [ + "c1a1aaeba5a3452bad53a4342e72141d", + 782014987030828, + "randomize" + ] + }, + { + "id": 117, + "type": "PreviewImage", + "pos": [ + 1150.531982421875, + 3.3218624591827393 + ], + "size": [ + 210, + 246 + ], + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 194, + "label": "图像" + } + ], + "outputs": [], + "properties": { + "Node name for S&R": "PreviewImage" + }, + "widgets_values": [] + }, + { + "id": 107, + "type": "RiceRoundInputTextNode", + "pos": [ + -383, + 111 + ], + "size": [ + 400, + 200 + ], + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "STRING", + "type": "STRING", + "links": [ + 185 + ], + "slot_index": 0, + "label": "STRING" + } + ], + "properties": { + "Node name for S&R": "RiceRoundInputTextNode" + }, + "widgets_values": [ + "一只小狗趴在一个女人脚下,汉服,摄影写真,亚洲女人,19岁,非常漂亮,瓜子脸,大眼睛", + true + ] + }, + { + "id": 110, + "type": "RiceRoundOutputFloatNode", + "pos": [ + -221, + -149 + ], + "size": [ + 315, + 130 + ], + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "value", + "type": "STRING", + "links": [ + 189 + ], + "slot_index": 0, + "label": "value" + } + ], + "properties": { + "Node name for S&R": "RiceRoundOutputFloatNode" + }, + "widgets_values": [ + "模型强度", + 0.5, + 0, + 1 + ] + } + ], + "links": [ + [ + 185, + 107, + 0, + 116, + 0, + "STRING" + ], + [ + 188, + 109, + 0, + 116, + 1, + "STRING" + ], + [ + 189, + 110, + 0, + 116, + 2, + "STRING" + ], + [ + 194, + 116, + 0, + 117, + 0, + "IMAGE" + ] + ], + "groups": [], + "config": {}, + "extra": { + "ds": { + "scale": 1.0610764609500007, + "offset": [ + 1024.554279306727, + 560.7087640420376 + ] + }, + "choice_node_map": { + "109": [ + "Flux\\FLUX-超写实黑悟空--V1.safetensors", + "Flux\\Flux版敦煌风_V5.0.safetensors", + "Flux\\Furry_enhancer_Photo2.safetensors", + "Flux\\SDMAI侠女FLUX_1.0.safetensors" + ] + } + }, + "version": 0.4 +} \ No newline at end of file