Spaces:
Running
Running
| { | |
| "schema_version": "2", | |
| "name": "Workflow1111 · Diffusion Studio", | |
| "references": [ | |
| { | |
| "id": "ref_prompt", | |
| "role": "reference", | |
| "label": "Prompt", | |
| "asset_type": "text", | |
| "inputs": [ | |
| { | |
| "id": "in", | |
| "label": "Prompt", | |
| "type": "text" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "id": "out", | |
| "label": "Prompt", | |
| "type": "text" | |
| } | |
| ], | |
| "data": { | |
| "out": "a red fox standing in a snowy pine forest, looking at the camera" | |
| }, | |
| "x": 60.0, | |
| "y": 60.0, | |
| "width": 250, | |
| "height": 96 | |
| }, | |
| { | |
| "id": "ref_negative", | |
| "role": "reference", | |
| "label": "Negative prompt", | |
| "asset_type": "text", | |
| "inputs": [ | |
| { | |
| "id": "in", | |
| "label": "Negative prompt", | |
| "type": "text" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "id": "out", | |
| "label": "Negative prompt", | |
| "type": "text" | |
| } | |
| ], | |
| "data": { | |
| "out": "" | |
| }, | |
| "x": 62.7, | |
| "y": 384.0, | |
| "width": 250, | |
| "height": 96 | |
| }, | |
| { | |
| "id": "ref_style", | |
| "role": "reference", | |
| "label": "Style preset", | |
| "asset_type": "text", | |
| "inputs": [ | |
| { | |
| "id": "in", | |
| "label": "Style preset", | |
| "type": "text" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "id": "out", | |
| "label": "Style preset", | |
| "type": "text" | |
| } | |
| ], | |
| "data": { | |
| "out": "Cinematic" | |
| }, | |
| "x": 68.2, | |
| "y": 708.0, | |
| "width": 250, | |
| "height": 96 | |
| }, | |
| { | |
| "id": "ref_hires_instruction", | |
| "role": "reference", | |
| "label": "Hires refine instruction", | |
| "asset_type": "text", | |
| "inputs": [ | |
| { | |
| "id": "in", | |
| "label": "Hires refine instruction", | |
| "type": "text" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "id": "out", | |
| "label": "Hires refine instruction", | |
| "type": "text" | |
| } | |
| ], | |
| "data": { | |
| "out": "enhance fine detail and micro-texture, keep the composition identical" | |
| }, | |
| "x": 1609.3, | |
| "y": 1063.7, | |
| "width": 250, | |
| "height": 96 | |
| }, | |
| { | |
| "id": "ref_init_image", | |
| "role": "reference", | |
| "label": "Init image", | |
| "asset_type": "image", | |
| "inputs": [ | |
| { | |
| "id": "in", | |
| "label": "Init image", | |
| "type": "image" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "id": "out", | |
| "label": "Init image", | |
| "type": "image" | |
| } | |
| ], | |
| "data": { | |
| "out": { | |
| "url": "https://huggingface.co/spaces/ysharma/Workflow1111/resolve/main/samples/init_image.jpg" | |
| } | |
| }, | |
| "x": 60.0, | |
| "y": 1080.0, | |
| "width": 250, | |
| "height": 200 | |
| }, | |
| { | |
| "id": "ref_edit_instruction", | |
| "role": "reference", | |
| "label": "Edit instruction", | |
| "asset_type": "text", | |
| "inputs": [ | |
| { | |
| "id": "in", | |
| "label": "Edit instruction", | |
| "type": "text" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "id": "out", | |
| "label": "Edit instruction", | |
| "type": "text" | |
| } | |
| ], | |
| "data": { | |
| "out": "make it a snowy winter scene at golden hour" | |
| }, | |
| "x": 60.0, | |
| "y": 1404.0, | |
| "width": 250, | |
| "height": 96 | |
| }, | |
| { | |
| "id": "ref_idea", | |
| "role": "reference", | |
| "label": "Rough idea", | |
| "asset_type": "text", | |
| "inputs": [ | |
| { | |
| "id": "in", | |
| "label": "Rough idea", | |
| "type": "text" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "id": "out", | |
| "label": "Rough idea", | |
| "type": "text" | |
| } | |
| ], | |
| "data": { | |
| "out": "a lighthouse in a storm" | |
| }, | |
| "x": 40.9, | |
| "y": 1728.0, | |
| "width": 250, | |
| "height": 96 | |
| }, | |
| { | |
| "id": "ref_interrogate_image", | |
| "role": "reference", | |
| "label": "Image to interrogate", | |
| "asset_type": "image", | |
| "inputs": [ | |
| { | |
| "id": "in", | |
| "label": "Image to interrogate", | |
| "type": "image" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "id": "out", | |
| "label": "Image to interrogate", | |
| "type": "image" | |
| } | |
| ], | |
| "data": { | |
| "out": { | |
| "url": "https://huggingface.co/spaces/ysharma/Workflow1111/resolve/main/samples/interrogate.jpg" | |
| } | |
| }, | |
| "x": 195.9, | |
| "y": 2052.0, | |
| "width": 250, | |
| "height": 200 | |
| }, | |
| { | |
| "id": "ref_detect_image", | |
| "role": "reference", | |
| "label": "Image to analyse", | |
| "asset_type": "image", | |
| "inputs": [ | |
| { | |
| "id": "in", | |
| "label": "Image to analyse", | |
| "type": "image" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "id": "out", | |
| "label": "Image to analyse", | |
| "type": "image" | |
| } | |
| ], | |
| "data": { | |
| "out": { | |
| "url": "https://huggingface.co/spaces/ysharma/Workflow1111/resolve/main/samples/detect.jpg" | |
| } | |
| }, | |
| "x": -78.1, | |
| "y": 2221.9, | |
| "width": 250, | |
| "height": 200 | |
| }, | |
| { | |
| "id": "ref_matrix_base", | |
| "role": "reference", | |
| "label": "Matrix base prompt", | |
| "asset_type": "text", | |
| "inputs": [ | |
| { | |
| "id": "in", | |
| "label": "Matrix base prompt", | |
| "type": "text" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "id": "out", | |
| "label": "Matrix base prompt", | |
| "type": "text" | |
| } | |
| ], | |
| "data": { | |
| "out": "a lone tree on a hill" | |
| }, | |
| "x": -83.5, | |
| "y": 2739.7, | |
| "width": 250, | |
| "height": 96 | |
| }, | |
| { | |
| "id": "ref_matrix_variants", | |
| "role": "reference", | |
| "label": "Variants (| separated)", | |
| "asset_type": "text", | |
| "inputs": [ | |
| { | |
| "id": "in", | |
| "label": "Variants (| separated)", | |
| "type": "text" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "id": "out", | |
| "label": "Variants (| separated)", | |
| "type": "text" | |
| } | |
| ], | |
| "data": { | |
| "out": "at sunrise | in a thunderstorm | under the milky way | in autumn fog" | |
| }, | |
| "x": -67.1, | |
| "y": 3063.7, | |
| "width": 250, | |
| "height": 96 | |
| }, | |
| { | |
| "id": "ref_extras_image", | |
| "role": "reference", | |
| "label": "Extras input image", | |
| "asset_type": "image", | |
| "inputs": [ | |
| { | |
| "id": "in", | |
| "label": "Extras input image", | |
| "type": "image" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "id": "out", | |
| "label": "Extras input image", | |
| "type": "image" | |
| } | |
| ], | |
| "data": { | |
| "out": { | |
| "url": "https://huggingface.co/spaces/ysharma/Workflow1111/resolve/main/samples/extras.jpg" | |
| } | |
| }, | |
| "x": -130.0, | |
| "y": 3822.5, | |
| "width": 250, | |
| "height": 200 | |
| }, | |
| { | |
| "id": "ref_control_image", | |
| "role": "reference", | |
| "label": "Annotator input", | |
| "asset_type": "image", | |
| "inputs": [ | |
| { | |
| "id": "in", | |
| "label": "Annotator input", | |
| "type": "image" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "id": "out", | |
| "label": "Annotator input", | |
| "type": "image" | |
| } | |
| ], | |
| "data": { | |
| "out": { | |
| "url": "https://huggingface.co/spaces/ysharma/Workflow1111/resolve/main/samples/control.jpg" | |
| } | |
| }, | |
| "x": 60.0, | |
| "y": 4340.0, | |
| "width": 250, | |
| "height": 200 | |
| }, | |
| { | |
| "id": "ref_pnginfo_image", | |
| "role": "reference", | |
| "label": "PNG to inspect", | |
| "asset_type": "image", | |
| "inputs": [ | |
| { | |
| "id": "in", | |
| "label": "PNG to inspect", | |
| "type": "image" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "id": "out", | |
| "label": "PNG to inspect", | |
| "type": "image" | |
| } | |
| ], | |
| "data": { | |
| "out": { | |
| "url": "https://huggingface.co/spaces/ysharma/Workflow1111/resolve/main/samples/with_parameters.png" | |
| } | |
| }, | |
| "x": 2.6, | |
| "y": 4810.7, | |
| "width": 250, | |
| "height": 200 | |
| } | |
| ], | |
| "operators": [ | |
| { | |
| "id": "op_style", | |
| "role": "operator", | |
| "kind": "fn", | |
| "fn": "apply_style", | |
| "label": "① Prompt builder", | |
| "inputs": [ | |
| { | |
| "id": "in_prompt", | |
| "label": "prompt", | |
| "type": "text", | |
| "required": true | |
| }, | |
| { | |
| "id": "in_style", | |
| "label": "style", | |
| "type": "text" | |
| }, | |
| { | |
| "id": "in_extra_tags", | |
| "label": "extra_tags", | |
| "type": "text" | |
| }, | |
| { | |
| "id": "in_quality_boost", | |
| "label": "quality_boost", | |
| "type": "text" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "id": "out_0", | |
| "label": "prompt", | |
| "type": "text", | |
| "output_index": 0 | |
| } | |
| ], | |
| "data": { | |
| "in_extra_tags": "", | |
| "in_quality_boost": true | |
| }, | |
| "x": 420.0, | |
| "y": 60.0, | |
| "width": 290, | |
| "height": 184 | |
| }, | |
| { | |
| "id": "op_negative", | |
| "role": "operator", | |
| "kind": "fn", | |
| "fn": "build_negative", | |
| "label": "① Negative builder", | |
| "inputs": [ | |
| { | |
| "id": "in_negative", | |
| "label": "negative", | |
| "type": "text" | |
| }, | |
| { | |
| "id": "in_style", | |
| "label": "style", | |
| "type": "text" | |
| }, | |
| { | |
| "id": "in_use_base", | |
| "label": "use_base", | |
| "type": "boolean" | |
| }, | |
| { | |
| "id": "in_safety_filter", | |
| "label": "safety_filter", | |
| "type": "boolean" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "id": "out_0", | |
| "label": "negative", | |
| "type": "text", | |
| "output_index": 0 | |
| } | |
| ], | |
| "data": { | |
| "in_negative": "", | |
| "in_use_base": true, | |
| "in_safety_filter": true | |
| }, | |
| "x": 420.0, | |
| "y": 327.0, | |
| "width": 290, | |
| "height": 184 | |
| }, | |
| { | |
| "id": "op_sampler", | |
| "role": "operator", | |
| "kind": "fn", | |
| "fn": "sampler_settings", | |
| "label": "② Sampler", | |
| "inputs": [ | |
| { | |
| "id": "in_steps", | |
| "label": "steps", | |
| "type": "number" | |
| }, | |
| { | |
| "id": "in_cfg_scale", | |
| "label": "cfg_scale", | |
| "type": "number" | |
| }, | |
| { | |
| "id": "in_seed", | |
| "label": "seed", | |
| "type": "number" | |
| }, | |
| { | |
| "id": "in_aspect", | |
| "label": "aspect", | |
| "type": "text" | |
| }, | |
| { | |
| "id": "in_width", | |
| "label": "width", | |
| "type": "number" | |
| }, | |
| { | |
| "id": "in_height", | |
| "label": "height", | |
| "type": "number" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "id": "out_steps", | |
| "label": "steps", | |
| "type": "number", | |
| "output_index": 0 | |
| }, | |
| { | |
| "id": "out_cfg", | |
| "label": "cfg", | |
| "type": "number", | |
| "output_index": 1 | |
| }, | |
| { | |
| "id": "out_seed", | |
| "label": "seed", | |
| "type": "number", | |
| "output_index": 2 | |
| }, | |
| { | |
| "id": "out_width", | |
| "label": "width", | |
| "type": "number", | |
| "output_index": 3 | |
| }, | |
| { | |
| "id": "out_height", | |
| "label": "height", | |
| "type": "number", | |
| "output_index": 4 | |
| } | |
| ], | |
| "data": { | |
| "in_steps": 4, | |
| "in_cfg_scale": 1.0, | |
| "in_seed": -1, | |
| "in_aspect": "1:1 Square", | |
| "in_width": 1024, | |
| "in_height": 1024 | |
| }, | |
| "x": 414.6, | |
| "y": 546.0, | |
| "width": 290, | |
| "height": 244 | |
| }, | |
| { | |
| "id": "op_txt2img", | |
| "role": "operator", | |
| "kind": "fn", | |
| "fn": "txt2img", | |
| "label": "③ txt2img · FLUX.1-schnell", | |
| "inputs": [ | |
| { | |
| "id": "in_prompt", | |
| "label": "prompt", | |
| "type": "text", | |
| "required": true | |
| }, | |
| { | |
| "id": "in_negative_prompt", | |
| "label": "negative_prompt", | |
| "type": "text" | |
| }, | |
| { | |
| "id": "in_steps", | |
| "label": "steps", | |
| "type": "number" | |
| }, | |
| { | |
| "id": "in_cfg_scale", | |
| "label": "cfg_scale", | |
| "type": "number" | |
| }, | |
| { | |
| "id": "in_seed", | |
| "label": "seed", | |
| "type": "number" | |
| }, | |
| { | |
| "id": "in_width", | |
| "label": "width", | |
| "type": "number" | |
| }, | |
| { | |
| "id": "in_height", | |
| "label": "height", | |
| "type": "number" | |
| }, | |
| { | |
| "id": "in_model_id", | |
| "label": "model_id", | |
| "type": "text" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "id": "out_0", | |
| "label": "image", | |
| "type": "image", | |
| "output_index": 0 | |
| } | |
| ], | |
| "data": { | |
| "in_negative_prompt": "", | |
| "in_steps": 4, | |
| "in_cfg_scale": 1.0, | |
| "in_seed": -1, | |
| "in_width": 1024, | |
| "in_height": 1024, | |
| "in_model_id": "black-forest-labs/FLUX.1-schnell" | |
| }, | |
| "x": 800.0, | |
| "y": 60.0, | |
| "width": 290, | |
| "height": 304 | |
| }, | |
| { | |
| "id": "op_geninfo", | |
| "role": "operator", | |
| "kind": "fn", | |
| "fn": "generation_info", | |
| "label": "④ Generation params", | |
| "inputs": [ | |
| { | |
| "id": "in_prompt", | |
| "label": "prompt", | |
| "type": "text" | |
| }, | |
| { | |
| "id": "in_negative", | |
| "label": "negative", | |
| "type": "text" | |
| }, | |
| { | |
| "id": "in_steps", | |
| "label": "steps", | |
| "type": "number" | |
| }, | |
| { | |
| "id": "in_cfg_scale", | |
| "label": "cfg_scale", | |
| "type": "number" | |
| }, | |
| { | |
| "id": "in_seed", | |
| "label": "seed", | |
| "type": "number" | |
| }, | |
| { | |
| "id": "in_width", | |
| "label": "width", | |
| "type": "number" | |
| }, | |
| { | |
| "id": "in_height", | |
| "label": "height", | |
| "type": "number" | |
| }, | |
| { | |
| "id": "in_model_id", | |
| "label": "model_id", | |
| "type": "text" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "id": "out_0", | |
| "label": "parameters", | |
| "type": "text", | |
| "output_index": 0 | |
| } | |
| ], | |
| "data": { | |
| "in_model_id": "black-forest-labs/FLUX.1-schnell" | |
| }, | |
| "x": 802.7, | |
| "y": 454.0, | |
| "width": 290, | |
| "height": 304 | |
| }, | |
| { | |
| "id": "op_post", | |
| "role": "operator", | |
| "kind": "fn", | |
| "fn": "postprocess", | |
| "label": "⑤ Post-processing", | |
| "inputs": [ | |
| { | |
| "id": "in_image", | |
| "label": "image", | |
| "type": "image", | |
| "required": true | |
| }, | |
| { | |
| "id": "in_upscale", | |
| "label": "upscale", | |
| "type": "number" | |
| }, | |
| { | |
| "id": "in_upscale_method", | |
| "label": "upscale_method", | |
| "type": "text" | |
| }, | |
| { | |
| "id": "in_sharpen", | |
| "label": "sharpen", | |
| "type": "number" | |
| }, | |
| { | |
| "id": "in_saturation", | |
| "label": "saturation", | |
| "type": "number" | |
| }, | |
| { | |
| "id": "in_contrast", | |
| "label": "contrast", | |
| "type": "number" | |
| }, | |
| { | |
| "id": "in_brightness", | |
| "label": "brightness", | |
| "type": "number" | |
| }, | |
| { | |
| "id": "in_vignette", | |
| "label": "vignette", | |
| "type": "number" | |
| }, | |
| { | |
| "id": "in_grain", | |
| "label": "grain", | |
| "type": "number" | |
| }, | |
| { | |
| "id": "in_border", | |
| "label": "border", | |
| "type": "number" | |
| }, | |
| { | |
| "id": "in_watermark", | |
| "label": "watermark", | |
| "type": "text" | |
| }, | |
| { | |
| "id": "in_embed_info", | |
| "label": "embed_info", | |
| "type": "text" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "id": "out_0", | |
| "label": "image", | |
| "type": "image", | |
| "output_index": 0 | |
| } | |
| ], | |
| "data": { | |
| "in_upscale": 1.0, | |
| "in_upscale_method": "Lanczos", | |
| "in_sharpen": 0.35, | |
| "in_saturation": 1.05, | |
| "in_contrast": 1.02, | |
| "in_brightness": 1.0, | |
| "in_vignette": 0.12, | |
| "in_grain": 0.04, | |
| "in_border": 0.0, | |
| "in_watermark": "" | |
| }, | |
| "x": 1180.0, | |
| "y": 60.0, | |
| "width": 290, | |
| "height": 424 | |
| }, | |
| { | |
| "id": "op_hires_prep", | |
| "role": "operator", | |
| "kind": "fn", | |
| "fn": "prep_image", | |
| "label": "⑥ Hires prep", | |
| "inputs": [ | |
| { | |
| "id": "in_image", | |
| "label": "image", | |
| "type": "image", | |
| "required": true | |
| }, | |
| { | |
| "id": "in_max_side", | |
| "label": "max_side", | |
| "type": "number" | |
| }, | |
| { | |
| "id": "in_mode", | |
| "label": "mode", | |
| "type": "text" | |
| }, | |
| { | |
| "id": "in_strip_alpha", | |
| "label": "strip_alpha", | |
| "type": "boolean" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "id": "out_0", | |
| "label": "image", | |
| "type": "image", | |
| "output_index": 0 | |
| } | |
| ], | |
| "data": { | |
| "in_max_side": 1024, | |
| "in_mode": "Fit", | |
| "in_strip_alpha": true | |
| }, | |
| "x": 1590.1, | |
| "y": 760.7, | |
| "width": 290, | |
| "height": 184 | |
| }, | |
| { | |
| "id": "op_hires", | |
| "role": "operator", | |
| "kind": "model", | |
| "model_id": "black-forest-labs/FLUX.1-Kontext-dev", | |
| "pipeline_tag": "image-to-image", | |
| "endpoint": "image_to_image", | |
| "label": "⑦ Hires fix · FLUX.1-Kontext", | |
| "inputs": [ | |
| { | |
| "id": "image", | |
| "label": "image", | |
| "type": "image", | |
| "required": true | |
| }, | |
| { | |
| "id": "prompt", | |
| "label": "prompt", | |
| "type": "text", | |
| "required": true | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "id": "out_0", | |
| "label": "Image", | |
| "type": "image", | |
| "output_index": 0 | |
| } | |
| ], | |
| "data": {}, | |
| "x": 2033.0, | |
| "y": 727.5, | |
| "width": 290, | |
| "height": 124 | |
| }, | |
| { | |
| "id": "op_i2i_prep", | |
| "role": "operator", | |
| "kind": "fn", | |
| "fn": "prep_image", | |
| "label": "① Prepare init image", | |
| "inputs": [ | |
| { | |
| "id": "in_image", | |
| "label": "image", | |
| "type": "image", | |
| "required": true | |
| }, | |
| { | |
| "id": "in_max_side", | |
| "label": "max_side", | |
| "type": "number" | |
| }, | |
| { | |
| "id": "in_mode", | |
| "label": "mode", | |
| "type": "text" | |
| }, | |
| { | |
| "id": "in_strip_alpha", | |
| "label": "strip_alpha", | |
| "type": "boolean" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "id": "out_0", | |
| "label": "image", | |
| "type": "image", | |
| "output_index": 0 | |
| } | |
| ], | |
| "data": { | |
| "in_max_side": 1024, | |
| "in_mode": "Fit", | |
| "in_strip_alpha": true | |
| }, | |
| "x": 422.7, | |
| "y": 948.8, | |
| "width": 290, | |
| "height": 184 | |
| }, | |
| { | |
| "id": "op_i2i", | |
| "role": "operator", | |
| "kind": "model", | |
| "model_id": "black-forest-labs/FLUX.1-Kontext-dev", | |
| "pipeline_tag": "image-to-image", | |
| "endpoint": "image_to_image", | |
| "label": "② img2img · FLUX.1-Kontext", | |
| "inputs": [ | |
| { | |
| "id": "image", | |
| "label": "image", | |
| "type": "image", | |
| "required": true | |
| }, | |
| { | |
| "id": "prompt", | |
| "label": "prompt", | |
| "type": "text", | |
| "required": true | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "id": "out_0", | |
| "label": "Image", | |
| "type": "image", | |
| "output_index": 0 | |
| } | |
| ], | |
| "data": {}, | |
| "x": 797.3, | |
| "y": 1178.4, | |
| "width": 290, | |
| "height": 124 | |
| }, | |
| { | |
| "id": "op_i2i_post", | |
| "role": "operator", | |
| "kind": "fn", | |
| "fn": "postprocess", | |
| "label": "③ Post-processing", | |
| "inputs": [ | |
| { | |
| "id": "in_image", | |
| "label": "image", | |
| "type": "image", | |
| "required": true | |
| }, | |
| { | |
| "id": "in_upscale", | |
| "label": "upscale", | |
| "type": "number" | |
| }, | |
| { | |
| "id": "in_upscale_method", | |
| "label": "upscale_method", | |
| "type": "text" | |
| }, | |
| { | |
| "id": "in_sharpen", | |
| "label": "sharpen", | |
| "type": "number" | |
| }, | |
| { | |
| "id": "in_saturation", | |
| "label": "saturation", | |
| "type": "number" | |
| }, | |
| { | |
| "id": "in_contrast", | |
| "label": "contrast", | |
| "type": "number" | |
| }, | |
| { | |
| "id": "in_brightness", | |
| "label": "brightness", | |
| "type": "number" | |
| }, | |
| { | |
| "id": "in_vignette", | |
| "label": "vignette", | |
| "type": "number" | |
| }, | |
| { | |
| "id": "in_grain", | |
| "label": "grain", | |
| "type": "number" | |
| }, | |
| { | |
| "id": "in_border", | |
| "label": "border", | |
| "type": "number" | |
| }, | |
| { | |
| "id": "in_watermark", | |
| "label": "watermark", | |
| "type": "text" | |
| }, | |
| { | |
| "id": "in_embed_info", | |
| "label": "embed_info", | |
| "type": "text" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "id": "out_0", | |
| "label": "image", | |
| "type": "image", | |
| "output_index": 0 | |
| } | |
| ], | |
| "data": { | |
| "in_upscale": 1.0, | |
| "in_upscale_method": "Lanczos", | |
| "in_sharpen": 0.3, | |
| "in_saturation": 1.0, | |
| "in_contrast": 1.0, | |
| "in_brightness": 1.0, | |
| "in_vignette": 0.0, | |
| "in_grain": 0.0, | |
| "in_border": 0.0, | |
| "in_watermark": "" | |
| }, | |
| "x": 1182.7, | |
| "y": 836.7, | |
| "width": 290, | |
| "height": 424 | |
| }, | |
| { | |
| "id": "op_magic", | |
| "role": "operator", | |
| "kind": "fn", | |
| "fn": "magic_instruction", | |
| "label": "① Build instruction", | |
| "inputs": [ | |
| { | |
| "id": "in_idea", | |
| "label": "idea", | |
| "type": "text", | |
| "required": true | |
| }, | |
| { | |
| "id": "in_target_style", | |
| "label": "target_style", | |
| "type": "text" | |
| }, | |
| { | |
| "id": "in_verbosity", | |
| "label": "verbosity", | |
| "type": "text" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "id": "out_0", | |
| "label": "instruction", | |
| "type": "text", | |
| "output_index": 0 | |
| } | |
| ], | |
| "data": { | |
| "in_target_style": "Cinematic", | |
| "in_verbosity": "Detailed" | |
| }, | |
| "x": 420.0, | |
| "y": 1450.0, | |
| "width": 290, | |
| "height": 154 | |
| }, | |
| { | |
| "id": "op_llm", | |
| "role": "operator", | |
| "kind": "fn", | |
| "fn": "chat_llm", | |
| "label": "② Prompt LLM · Qwen3-4B", | |
| "inputs": [ | |
| { | |
| "id": "in_prompt", | |
| "label": "prompt", | |
| "type": "text", | |
| "required": true | |
| }, | |
| { | |
| "id": "in_model_id", | |
| "label": "model_id", | |
| "type": "text" | |
| }, | |
| { | |
| "id": "in_max_tokens", | |
| "label": "max_tokens", | |
| "type": "number" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "id": "out_0", | |
| "label": "Text", | |
| "type": "text", | |
| "output_index": 0 | |
| } | |
| ], | |
| "data": { | |
| "in_model_id": "Qwen/Qwen3-4B-Instruct-2507", | |
| "in_max_tokens": 512 | |
| }, | |
| "x": 800.0, | |
| "y": 1450.0, | |
| "width": 290, | |
| "height": 154 | |
| }, | |
| { | |
| "id": "op_clean_magic", | |
| "role": "operator", | |
| "kind": "fn", | |
| "fn": "clean_prompt", | |
| "label": "③ Tidy up", | |
| "inputs": [ | |
| { | |
| "id": "in_raw", | |
| "label": "raw", | |
| "type": "text", | |
| "required": true | |
| }, | |
| { | |
| "id": "in_max_tags", | |
| "label": "max_tags", | |
| "type": "number" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "id": "out_0", | |
| "label": "prompt", | |
| "type": "text", | |
| "output_index": 0 | |
| } | |
| ], | |
| "data": { | |
| "in_max_tags": 40 | |
| }, | |
| "x": 1207.3, | |
| "y": 1478.7, | |
| "width": 290, | |
| "height": 124 | |
| }, | |
| { | |
| "id": "op_vlm", | |
| "role": "operator", | |
| "kind": "fn", | |
| "fn": "interrogate", | |
| "label": "① Interrogate · Qwen2.5-VL", | |
| "inputs": [ | |
| { | |
| "id": "in_image", | |
| "label": "image", | |
| "type": "image", | |
| "required": true | |
| }, | |
| { | |
| "id": "in_instruction", | |
| "label": "instruction", | |
| "type": "text" | |
| }, | |
| { | |
| "id": "in_model_id", | |
| "label": "model_id", | |
| "type": "text" | |
| }, | |
| { | |
| "id": "in_max_tokens", | |
| "label": "max_tokens", | |
| "type": "number" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "id": "out_0", | |
| "label": "Text", | |
| "type": "text", | |
| "output_index": 0 | |
| } | |
| ], | |
| "data": { | |
| "in_instruction": "Describe this image as a Stable Diffusion prompt: comma-separated visual tags only, covering subject, setting, composition, lighting, colour and medium. No sentences, no preamble.", | |
| "in_model_id": "Qwen/Qwen2.5-VL-72B-Instruct", | |
| "in_max_tokens": 512 | |
| }, | |
| "x": 444.6, | |
| "y": 1699.3, | |
| "width": 290, | |
| "height": 184 | |
| }, | |
| { | |
| "id": "op_clean_interrogate", | |
| "role": "operator", | |
| "kind": "fn", | |
| "fn": "clean_prompt", | |
| "label": "② Tidy up", | |
| "inputs": [ | |
| { | |
| "id": "in_raw", | |
| "label": "raw", | |
| "type": "text", | |
| "required": true | |
| }, | |
| { | |
| "id": "in_max_tags", | |
| "label": "max_tags", | |
| "type": "number" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "id": "out_0", | |
| "label": "prompt", | |
| "type": "text", | |
| "output_index": 0 | |
| } | |
| ], | |
| "data": { | |
| "in_max_tags": 45 | |
| }, | |
| "x": 867.0, | |
| "y": 1733.0, | |
| "width": 290, | |
| "height": 124 | |
| }, | |
| { | |
| "id": "op_classify", | |
| "role": "operator", | |
| "kind": "fn", | |
| "fn": "classify_image", | |
| "label": "③ Classify · ViT", | |
| "inputs": [ | |
| { | |
| "id": "in_image", | |
| "label": "image", | |
| "type": "image", | |
| "required": true | |
| }, | |
| { | |
| "id": "in_model_id", | |
| "label": "model_id", | |
| "type": "text" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "id": "out_0", | |
| "label": "labels", | |
| "type": "text", | |
| "output_index": 0 | |
| } | |
| ], | |
| "data": { | |
| "in_model_id": "google/vit-base-patch16-224" | |
| }, | |
| "x": 514.3, | |
| "y": 2033.3, | |
| "width": 290, | |
| "height": 124 | |
| }, | |
| { | |
| "id": "op_labels", | |
| "role": "operator", | |
| "kind": "fn", | |
| "fn": "top_labels", | |
| "label": "④ Rank labels", | |
| "inputs": [ | |
| { | |
| "id": "in_labels", | |
| "label": "labels", | |
| "type": "text", | |
| "required": true | |
| }, | |
| { | |
| "id": "in_top_k", | |
| "label": "top_k", | |
| "type": "number" | |
| }, | |
| { | |
| "id": "in_min_score", | |
| "label": "min_score", | |
| "type": "number" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "id": "out_0", | |
| "label": "table", | |
| "type": "text", | |
| "output_index": 0 | |
| }, | |
| { | |
| "id": "out_1", | |
| "label": "rows", | |
| "type": "text", | |
| "output_index": 1 | |
| } | |
| ], | |
| "data": { | |
| "in_top_k": 5, | |
| "in_min_score": 0.01 | |
| }, | |
| "x": 998.2, | |
| "y": 1957.0, | |
| "width": 290, | |
| "height": 154 | |
| }, | |
| { | |
| "id": "op_detect", | |
| "role": "operator", | |
| "kind": "fn", | |
| "fn": "detect_objects", | |
| "label": "① Detect · DETR", | |
| "inputs": [ | |
| { | |
| "id": "in_image", | |
| "label": "image", | |
| "type": "image", | |
| "required": true | |
| }, | |
| { | |
| "id": "in_model_id", | |
| "label": "model_id", | |
| "type": "text" | |
| }, | |
| { | |
| "id": "in_min_score", | |
| "label": "min_score", | |
| "type": "number" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "id": "out_0", | |
| "label": "detections", | |
| "type": "text", | |
| "output_index": 0 | |
| } | |
| ], | |
| "data": { | |
| "in_model_id": "facebook/detr-resnet-50", | |
| "in_min_score": 0.0 | |
| }, | |
| "x": 334.0, | |
| "y": 2376.0, | |
| "width": 290, | |
| "height": 154 | |
| }, | |
| { | |
| "id": "op_draw", | |
| "role": "operator", | |
| "kind": "fn", | |
| "fn": "draw_detections", | |
| "label": "② Annotate", | |
| "inputs": [ | |
| { | |
| "id": "in_image", | |
| "label": "image", | |
| "type": "image", | |
| "required": true | |
| }, | |
| { | |
| "id": "in_detections", | |
| "label": "detections", | |
| "type": "text", | |
| "required": true | |
| }, | |
| { | |
| "id": "in_min_score", | |
| "label": "min_score", | |
| "type": "number" | |
| }, | |
| { | |
| "id": "in_show_labels", | |
| "label": "show_labels", | |
| "type": "boolean" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "id": "out_0", | |
| "label": "image", | |
| "type": "image", | |
| "output_index": 0 | |
| }, | |
| { | |
| "id": "out_1", | |
| "label": "summary", | |
| "type": "text", | |
| "output_index": 1 | |
| } | |
| ], | |
| "data": { | |
| "in_min_score": 0.5, | |
| "in_show_labels": true | |
| }, | |
| "x": 1017.4, | |
| "y": 2233.0, | |
| "width": 290, | |
| "height": 184 | |
| }, | |
| { | |
| "id": "op_mask", | |
| "role": "operator", | |
| "kind": "fn", | |
| "fn": "mask_from_detections", | |
| "label": "③ Build inpaint mask", | |
| "inputs": [ | |
| { | |
| "id": "in_image", | |
| "label": "image", | |
| "type": "image", | |
| "required": true | |
| }, | |
| { | |
| "id": "in_detections", | |
| "label": "detections", | |
| "type": "text", | |
| "required": true | |
| }, | |
| { | |
| "id": "in_label_filter", | |
| "label": "label_filter", | |
| "type": "text" | |
| }, | |
| { | |
| "id": "in_min_score", | |
| "label": "min_score", | |
| "type": "number" | |
| }, | |
| { | |
| "id": "in_feather", | |
| "label": "feather", | |
| "type": "number" | |
| }, | |
| { | |
| "id": "in_invert", | |
| "label": "invert", | |
| "type": "boolean" | |
| }, | |
| { | |
| "id": "in_preview", | |
| "label": "preview", | |
| "type": "boolean" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "id": "out_0", | |
| "label": "mask", | |
| "type": "image", | |
| "output_index": 0 | |
| } | |
| ], | |
| "data": { | |
| "in_label_filter": "", | |
| "in_min_score": 0.5, | |
| "in_feather": 8, | |
| "in_invert": false, | |
| "in_preview": false | |
| }, | |
| "x": 1167.8, | |
| "y": 2531.0, | |
| "width": 290, | |
| "height": 274 | |
| }, | |
| { | |
| "id": "op_matrix", | |
| "role": "operator", | |
| "kind": "fn", | |
| "fn": "prompt_matrix", | |
| "label": "① Expand matrix", | |
| "inputs": [ | |
| { | |
| "id": "in_base_prompt", | |
| "label": "base_prompt", | |
| "type": "text", | |
| "required": true | |
| }, | |
| { | |
| "id": "in_variations", | |
| "label": "variations", | |
| "type": "text" | |
| }, | |
| { | |
| "id": "in_shared_tags", | |
| "label": "shared_tags", | |
| "type": "text" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "id": "out_p1", | |
| "label": "prompt 1", | |
| "type": "text", | |
| "output_index": 0 | |
| }, | |
| { | |
| "id": "out_p2", | |
| "label": "prompt 2", | |
| "type": "text", | |
| "output_index": 1 | |
| }, | |
| { | |
| "id": "out_p3", | |
| "label": "prompt 3", | |
| "type": "text", | |
| "output_index": 2 | |
| }, | |
| { | |
| "id": "out_p4", | |
| "label": "prompt 4", | |
| "type": "text", | |
| "output_index": 3 | |
| }, | |
| { | |
| "id": "out_labels", | |
| "label": "labels", | |
| "type": "text", | |
| "output_index": 4 | |
| } | |
| ], | |
| "data": { | |
| "in_shared_tags": "cinematic, highly detailed, dramatic lighting" | |
| }, | |
| "x": 361.2, | |
| "y": 2861.3, | |
| "width": 290, | |
| "height": 214 | |
| }, | |
| { | |
| "id": "op_grid_1", | |
| "role": "operator", | |
| "kind": "fn", | |
| "fn": "txt2img", | |
| "label": "② Render 1", | |
| "inputs": [ | |
| { | |
| "id": "in_prompt", | |
| "label": "prompt", | |
| "type": "text", | |
| "required": true | |
| }, | |
| { | |
| "id": "in_negative_prompt", | |
| "label": "negative_prompt", | |
| "type": "text" | |
| }, | |
| { | |
| "id": "in_steps", | |
| "label": "steps", | |
| "type": "number" | |
| }, | |
| { | |
| "id": "in_cfg_scale", | |
| "label": "cfg_scale", | |
| "type": "number" | |
| }, | |
| { | |
| "id": "in_seed", | |
| "label": "seed", | |
| "type": "number" | |
| }, | |
| { | |
| "id": "in_width", | |
| "label": "width", | |
| "type": "number" | |
| }, | |
| { | |
| "id": "in_height", | |
| "label": "height", | |
| "type": "number" | |
| }, | |
| { | |
| "id": "in_model_id", | |
| "label": "model_id", | |
| "type": "text" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "id": "out_0", | |
| "label": "image", | |
| "type": "image", | |
| "output_index": 0 | |
| } | |
| ], | |
| "data": { | |
| "in_negative_prompt": "", | |
| "in_steps": 4, | |
| "in_cfg_scale": 1.0, | |
| "in_seed": 1000, | |
| "in_width": 768, | |
| "in_height": 768, | |
| "in_model_id": "black-forest-labs/FLUX.1-schnell" | |
| }, | |
| "x": 800.0, | |
| "y": 2700.0, | |
| "width": 290, | |
| "height": 304 | |
| }, | |
| { | |
| "id": "op_grid_2", | |
| "role": "operator", | |
| "kind": "fn", | |
| "fn": "txt2img", | |
| "label": "② Render 2", | |
| "inputs": [ | |
| { | |
| "id": "in_prompt", | |
| "label": "prompt", | |
| "type": "text", | |
| "required": true | |
| }, | |
| { | |
| "id": "in_negative_prompt", | |
| "label": "negative_prompt", | |
| "type": "text" | |
| }, | |
| { | |
| "id": "in_steps", | |
| "label": "steps", | |
| "type": "number" | |
| }, | |
| { | |
| "id": "in_cfg_scale", | |
| "label": "cfg_scale", | |
| "type": "number" | |
| }, | |
| { | |
| "id": "in_seed", | |
| "label": "seed", | |
| "type": "number" | |
| }, | |
| { | |
| "id": "in_width", | |
| "label": "width", | |
| "type": "number" | |
| }, | |
| { | |
| "id": "in_height", | |
| "label": "height", | |
| "type": "number" | |
| }, | |
| { | |
| "id": "in_model_id", | |
| "label": "model_id", | |
| "type": "text" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "id": "out_0", | |
| "label": "image", | |
| "type": "image", | |
| "output_index": 0 | |
| } | |
| ], | |
| "data": { | |
| "in_negative_prompt": "", | |
| "in_steps": 4, | |
| "in_cfg_scale": 1.0, | |
| "in_seed": 1111, | |
| "in_width": 768, | |
| "in_height": 768, | |
| "in_model_id": "black-forest-labs/FLUX.1-schnell" | |
| }, | |
| "x": 800.0, | |
| "y": 3146.0, | |
| "width": 290, | |
| "height": 304 | |
| }, | |
| { | |
| "id": "op_grid_3", | |
| "role": "operator", | |
| "kind": "fn", | |
| "fn": "txt2img", | |
| "label": "② Render 3", | |
| "inputs": [ | |
| { | |
| "id": "in_prompt", | |
| "label": "prompt", | |
| "type": "text", | |
| "required": true | |
| }, | |
| { | |
| "id": "in_negative_prompt", | |
| "label": "negative_prompt", | |
| "type": "text" | |
| }, | |
| { | |
| "id": "in_steps", | |
| "label": "steps", | |
| "type": "number" | |
| }, | |
| { | |
| "id": "in_cfg_scale", | |
| "label": "cfg_scale", | |
| "type": "number" | |
| }, | |
| { | |
| "id": "in_seed", | |
| "label": "seed", | |
| "type": "number" | |
| }, | |
| { | |
| "id": "in_width", | |
| "label": "width", | |
| "type": "number" | |
| }, | |
| { | |
| "id": "in_height", | |
| "label": "height", | |
| "type": "number" | |
| }, | |
| { | |
| "id": "in_model_id", | |
| "label": "model_id", | |
| "type": "text" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "id": "out_0", | |
| "label": "image", | |
| "type": "image", | |
| "output_index": 0 | |
| } | |
| ], | |
| "data": { | |
| "in_negative_prompt": "", | |
| "in_steps": 4, | |
| "in_cfg_scale": 1.0, | |
| "in_seed": 1222, | |
| "in_width": 768, | |
| "in_height": 768, | |
| "in_model_id": "black-forest-labs/FLUX.1-schnell" | |
| }, | |
| "x": 800.0, | |
| "y": 3592.0, | |
| "width": 290, | |
| "height": 304 | |
| }, | |
| { | |
| "id": "op_grid_4", | |
| "role": "operator", | |
| "kind": "fn", | |
| "fn": "txt2img", | |
| "label": "② Render 4", | |
| "inputs": [ | |
| { | |
| "id": "in_prompt", | |
| "label": "prompt", | |
| "type": "text", | |
| "required": true | |
| }, | |
| { | |
| "id": "in_negative_prompt", | |
| "label": "negative_prompt", | |
| "type": "text" | |
| }, | |
| { | |
| "id": "in_steps", | |
| "label": "steps", | |
| "type": "number" | |
| }, | |
| { | |
| "id": "in_cfg_scale", | |
| "label": "cfg_scale", | |
| "type": "number" | |
| }, | |
| { | |
| "id": "in_seed", | |
| "label": "seed", | |
| "type": "number" | |
| }, | |
| { | |
| "id": "in_width", | |
| "label": "width", | |
| "type": "number" | |
| }, | |
| { | |
| "id": "in_height", | |
| "label": "height", | |
| "type": "number" | |
| }, | |
| { | |
| "id": "in_model_id", | |
| "label": "model_id", | |
| "type": "text" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "id": "out_0", | |
| "label": "image", | |
| "type": "image", | |
| "output_index": 0 | |
| } | |
| ], | |
| "data": { | |
| "in_negative_prompt": "", | |
| "in_steps": 4, | |
| "in_cfg_scale": 1.0, | |
| "in_seed": 1333, | |
| "in_width": 768, | |
| "in_height": 768, | |
| "in_model_id": "black-forest-labs/FLUX.1-schnell" | |
| }, | |
| "x": 800.0, | |
| "y": 4038.0, | |
| "width": 290, | |
| "height": 304 | |
| }, | |
| { | |
| "id": "op_sheet", | |
| "role": "operator", | |
| "kind": "fn", | |
| "fn": "contact_sheet", | |
| "label": "③ Contact sheet", | |
| "inputs": [ | |
| { | |
| "id": "in_image_1", | |
| "label": "image_1", | |
| "type": "image" | |
| }, | |
| { | |
| "id": "in_image_2", | |
| "label": "image_2", | |
| "type": "image" | |
| }, | |
| { | |
| "id": "in_image_3", | |
| "label": "image_3", | |
| "type": "image" | |
| }, | |
| { | |
| "id": "in_image_4", | |
| "label": "image_4", | |
| "type": "image" | |
| }, | |
| { | |
| "id": "in_labels", | |
| "label": "labels", | |
| "type": "text" | |
| }, | |
| { | |
| "id": "in_columns", | |
| "label": "columns", | |
| "type": "number" | |
| }, | |
| { | |
| "id": "in_gap", | |
| "label": "gap", | |
| "type": "number" | |
| }, | |
| { | |
| "id": "in_title", | |
| "label": "title", | |
| "type": "text" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "id": "out_0", | |
| "label": "grid", | |
| "type": "image", | |
| "output_index": 0 | |
| } | |
| ], | |
| "data": { | |
| "in_columns": 2, | |
| "in_gap": 16, | |
| "in_title": "Prompt matrix" | |
| }, | |
| "x": 1396.0, | |
| "y": 2954.4, | |
| "width": 290, | |
| "height": 304 | |
| }, | |
| { | |
| "id": "op_extras", | |
| "role": "operator", | |
| "kind": "fn", | |
| "fn": "extras_upscale", | |
| "label": "① Upscale (local, instant)", | |
| "inputs": [ | |
| { | |
| "id": "in_image", | |
| "label": "image", | |
| "type": "image", | |
| "required": true | |
| }, | |
| { | |
| "id": "in_factor", | |
| "label": "factor", | |
| "type": "number" | |
| }, | |
| { | |
| "id": "in_method", | |
| "label": "method", | |
| "type": "text" | |
| }, | |
| { | |
| "id": "in_sharpen", | |
| "label": "sharpen", | |
| "type": "number" | |
| }, | |
| { | |
| "id": "in_denoise", | |
| "label": "denoise", | |
| "type": "boolean" | |
| }, | |
| { | |
| "id": "in_restore_contrast", | |
| "label": "restore_contrast", | |
| "type": "boolean" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "id": "out_0", | |
| "label": "image", | |
| "type": "image", | |
| "output_index": 0 | |
| }, | |
| { | |
| "id": "out_1", | |
| "label": "report", | |
| "type": "text", | |
| "output_index": 1 | |
| } | |
| ], | |
| "data": { | |
| "in_factor": 2.0, | |
| "in_method": "Lanczos", | |
| "in_sharpen": 0.45, | |
| "in_denoise": false, | |
| "in_restore_contrast": true | |
| }, | |
| "x": 288.8, | |
| "y": 3535.4, | |
| "width": 290, | |
| "height": 244 | |
| }, | |
| { | |
| "id": "op_aurasr", | |
| "role": "operator", | |
| "kind": "space", | |
| "space_id": "gokaygokay/AuraSR-v2", | |
| "endpoint": "/process_image", | |
| "label": "② Upscale ×4 (AuraSR GAN)", | |
| "inputs": [ | |
| { | |
| "id": "input_image", | |
| "label": "image", | |
| "type": "image", | |
| "required": true | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "id": "out_0", | |
| "label": "Upscaled", | |
| "type": "image", | |
| "output_index": 1 | |
| } | |
| ], | |
| "data": {}, | |
| "x": 349.9, | |
| "y": 3903.1, | |
| "width": 290, | |
| "height": 94 | |
| }, | |
| { | |
| "id": "op_rmbg", | |
| "role": "operator", | |
| "kind": "space", | |
| "space_id": "briaai/BRIA-RMBG-2.0", | |
| "endpoint": "/image", | |
| "label": "③ Remove background (BRIA)", | |
| "inputs": [ | |
| { | |
| "id": "image", | |
| "label": "image", | |
| "type": "image", | |
| "required": true | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "id": "out_0", | |
| "label": "Cutout", | |
| "type": "image", | |
| "output_index": 1 | |
| } | |
| ], | |
| "data": {}, | |
| "x": 405.0, | |
| "y": 4105.1, | |
| "width": 290, | |
| "height": 94 | |
| }, | |
| { | |
| "id": "op_control", | |
| "role": "operator", | |
| "kind": "fn", | |
| "fn": "controlnet_preprocess", | |
| "label": "Annotator", | |
| "inputs": [ | |
| { | |
| "id": "in_image", | |
| "label": "image", | |
| "type": "image", | |
| "required": true | |
| }, | |
| { | |
| "id": "in_mode", | |
| "label": "mode", | |
| "type": "text" | |
| }, | |
| { | |
| "id": "in_low_threshold", | |
| "label": "low_threshold", | |
| "type": "number" | |
| }, | |
| { | |
| "id": "in_high_threshold", | |
| "label": "high_threshold", | |
| "type": "number" | |
| }, | |
| { | |
| "id": "in_invert", | |
| "label": "invert", | |
| "type": "boolean" | |
| }, | |
| { | |
| "id": "in_blur", | |
| "label": "blur", | |
| "type": "number" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "id": "out_0", | |
| "label": "map", | |
| "type": "image", | |
| "output_index": 0 | |
| } | |
| ], | |
| "data": { | |
| "in_mode": "Canny edges", | |
| "in_low_threshold": 60, | |
| "in_high_threshold": 160, | |
| "in_invert": false, | |
| "in_blur": 0.0 | |
| }, | |
| "x": 420.0, | |
| "y": 4340.0, | |
| "width": 290, | |
| "height": 244 | |
| }, | |
| { | |
| "id": "op_pnginfo", | |
| "role": "operator", | |
| "kind": "fn", | |
| "fn": "png_info", | |
| "label": "Read PNG metadata", | |
| "inputs": [ | |
| { | |
| "id": "in_image", | |
| "label": "image", | |
| "type": "image", | |
| "required": true | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "id": "out_0", | |
| "label": "report", | |
| "type": "text", | |
| "output_index": 0 | |
| }, | |
| { | |
| "id": "out_1", | |
| "label": "fields", | |
| "type": "text", | |
| "output_index": 1 | |
| } | |
| ], | |
| "data": {}, | |
| "x": 569.0, | |
| "y": 4854.5, | |
| "width": 290, | |
| "height": 124 | |
| } | |
| ], | |
| "subjects": [ | |
| { | |
| "id": "sub_image", | |
| "role": "subject", | |
| "label": "🖼 Image", | |
| "asset_type": "image", | |
| "inputs": [ | |
| { | |
| "id": "in", | |
| "label": "🖼 Image", | |
| "type": "image" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "id": "out", | |
| "label": "🖼 Image", | |
| "type": "image" | |
| } | |
| ], | |
| "data": {}, | |
| "x": 1596.9, | |
| "y": 32.7, | |
| "width": 300, | |
| "height": 260 | |
| }, | |
| { | |
| "id": "sub_params", | |
| "role": "subject", | |
| "label": "📋 Generation parameters", | |
| "asset_type": "text", | |
| "inputs": [ | |
| { | |
| "id": "in", | |
| "label": "📋 Generation parameters", | |
| "type": "text" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "id": "out", | |
| "label": "📋 Generation parameters", | |
| "type": "text" | |
| } | |
| ], | |
| "data": {}, | |
| "x": 1596.9, | |
| "y": 486.7, | |
| "width": 300, | |
| "height": 190 | |
| }, | |
| { | |
| "id": "sub_hires", | |
| "role": "subject", | |
| "label": "✨ Hires image", | |
| "asset_type": "image", | |
| "inputs": [ | |
| { | |
| "id": "in", | |
| "label": "✨ Hires image", | |
| "type": "image" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "id": "out", | |
| "label": "✨ Hires image", | |
| "type": "image" | |
| } | |
| ], | |
| "data": {}, | |
| "x": 2408.9, | |
| "y": 482.8, | |
| "width": 300, | |
| "height": 260 | |
| }, | |
| { | |
| "id": "sub_i2i", | |
| "role": "subject", | |
| "label": "🎨 Edited image", | |
| "asset_type": "image", | |
| "inputs": [ | |
| { | |
| "id": "in", | |
| "label": "🎨 Edited image", | |
| "type": "image" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "id": "out", | |
| "label": "🎨 Edited image", | |
| "type": "image" | |
| } | |
| ], | |
| "data": {}, | |
| "x": 1924.0, | |
| "y": 1063.7, | |
| "width": 300, | |
| "height": 260 | |
| }, | |
| { | |
| "id": "sub_magic", | |
| "role": "subject", | |
| "label": "🪄 Generated prompt", | |
| "asset_type": "text", | |
| "inputs": [ | |
| { | |
| "id": "in", | |
| "label": "🪄 Generated prompt", | |
| "type": "text" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "id": "out", | |
| "label": "🪄 Generated prompt", | |
| "type": "text" | |
| } | |
| ], | |
| "data": {}, | |
| "x": 1560.0, | |
| "y": 1450.0, | |
| "width": 300, | |
| "height": 190 | |
| }, | |
| { | |
| "id": "sub_interrogated", | |
| "role": "subject", | |
| "label": "🔍 Recovered prompt", | |
| "asset_type": "text", | |
| "inputs": [ | |
| { | |
| "id": "in", | |
| "label": "🔍 Recovered prompt", | |
| "type": "text" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "id": "out", | |
| "label": "🔍 Recovered prompt", | |
| "type": "text" | |
| } | |
| ], | |
| "data": {}, | |
| "x": 1389.2, | |
| "y": 1724.0, | |
| "width": 300, | |
| "height": 190 | |
| }, | |
| { | |
| "id": "sub_labels", | |
| "role": "subject", | |
| "label": "🏷 Classification", | |
| "asset_type": "text", | |
| "inputs": [ | |
| { | |
| "id": "in", | |
| "label": "🏷 Classification", | |
| "type": "text" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "id": "out", | |
| "label": "🏷 Classification", | |
| "type": "text" | |
| } | |
| ], | |
| "data": {}, | |
| "x": 1530.0, | |
| "y": 1998.0, | |
| "width": 300, | |
| "height": 190 | |
| }, | |
| { | |
| "id": "sub_detected", | |
| "role": "subject", | |
| "label": "📦 Detected objects", | |
| "asset_type": "image", | |
| "inputs": [ | |
| { | |
| "id": "in", | |
| "label": "📦 Detected objects", | |
| "type": "image" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "id": "out", | |
| "label": "📦 Detected objects", | |
| "type": "image" | |
| } | |
| ], | |
| "data": {}, | |
| "x": 1666.7, | |
| "y": 2272.0, | |
| "width": 300, | |
| "height": 260 | |
| }, | |
| { | |
| "id": "sub_detect_summary", | |
| "role": "subject", | |
| "label": "📝 Detection summary", | |
| "asset_type": "text", | |
| "inputs": [ | |
| { | |
| "id": "in", | |
| "label": "📝 Detection summary", | |
| "type": "text" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "id": "out", | |
| "label": "📝 Detection summary", | |
| "type": "text" | |
| } | |
| ], | |
| "data": {}, | |
| "x": 1784.3, | |
| "y": 2726.0, | |
| "width": 300, | |
| "height": 190 | |
| }, | |
| { | |
| "id": "sub_mask", | |
| "role": "subject", | |
| "label": "🎭 Inpaint mask", | |
| "asset_type": "image", | |
| "inputs": [ | |
| { | |
| "id": "in", | |
| "label": "🎭 Inpaint mask", | |
| "type": "image" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "id": "out", | |
| "label": "🎭 Inpaint mask", | |
| "type": "image" | |
| } | |
| ], | |
| "data": {}, | |
| "x": 1936.0, | |
| "y": 3000.0, | |
| "width": 300, | |
| "height": 260 | |
| }, | |
| { | |
| "id": "sub_grid", | |
| "role": "subject", | |
| "label": "🧩 X/Y grid", | |
| "asset_type": "image", | |
| "inputs": [ | |
| { | |
| "id": "in", | |
| "label": "🧩 X/Y grid", | |
| "type": "image" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "id": "out", | |
| "label": "🧩 X/Y grid", | |
| "type": "image" | |
| } | |
| ], | |
| "data": {}, | |
| "x": 1829.3, | |
| "y": 3454.0, | |
| "width": 300, | |
| "height": 260 | |
| }, | |
| { | |
| "id": "sub_upscaled", | |
| "role": "subject", | |
| "label": "🔍 Upscaled (local)", | |
| "asset_type": "image", | |
| "inputs": [ | |
| { | |
| "id": "in", | |
| "label": "🔍 Upscaled (local)", | |
| "type": "image" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "id": "out", | |
| "label": "🔍 Upscaled (local)", | |
| "type": "image" | |
| } | |
| ], | |
| "data": {}, | |
| "x": 1763.8, | |
| "y": 3908.0, | |
| "width": 300, | |
| "height": 260 | |
| }, | |
| { | |
| "id": "sub_upscale_report", | |
| "role": "subject", | |
| "label": "📝 Upscale report", | |
| "asset_type": "text", | |
| "inputs": [ | |
| { | |
| "id": "in", | |
| "label": "📝 Upscale report", | |
| "type": "text" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "id": "out", | |
| "label": "📝 Upscale report", | |
| "type": "text" | |
| } | |
| ], | |
| "data": {}, | |
| "x": 1263.4, | |
| "y": 3754.1, | |
| "width": 300, | |
| "height": 190 | |
| }, | |
| { | |
| "id": "sub_aurasr", | |
| "role": "subject", | |
| "label": "🚀 Upscaled ×4 (GAN)", | |
| "asset_type": "image", | |
| "inputs": [ | |
| { | |
| "id": "in", | |
| "label": "🚀 Upscaled ×4 (GAN)", | |
| "type": "image" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "id": "out", | |
| "label": "🚀 Upscaled ×4 (GAN)", | |
| "type": "image" | |
| } | |
| ], | |
| "data": {}, | |
| "x": 1114.0, | |
| "y": 4028.1, | |
| "width": 300, | |
| "height": 260 | |
| }, | |
| { | |
| "id": "sub_cutout", | |
| "role": "subject", | |
| "label": "✂ Background removed", | |
| "asset_type": "image", | |
| "inputs": [ | |
| { | |
| "id": "in", | |
| "label": "✂ Background removed", | |
| "type": "image" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "id": "out", | |
| "label": "✂ Background removed", | |
| "type": "image" | |
| } | |
| ], | |
| "data": {}, | |
| "x": 1676.0, | |
| "y": 4362.0, | |
| "width": 300, | |
| "height": 260 | |
| }, | |
| { | |
| "id": "sub_control", | |
| "role": "subject", | |
| "label": "🕸 Annotator map", | |
| "asset_type": "image", | |
| "inputs": [ | |
| { | |
| "id": "in", | |
| "label": "🕸 Annotator map", | |
| "type": "image" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "id": "out", | |
| "label": "🕸 Annotator map", | |
| "type": "image" | |
| } | |
| ], | |
| "data": {}, | |
| "x": 977.7, | |
| "y": 4484.0, | |
| "width": 300, | |
| "height": 260 | |
| }, | |
| { | |
| "id": "sub_png_report", | |
| "role": "subject", | |
| "label": "🧾 PNG info", | |
| "asset_type": "text", | |
| "inputs": [ | |
| { | |
| "id": "in", | |
| "label": "🧾 PNG info", | |
| "type": "text" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "id": "out", | |
| "label": "🧾 PNG info", | |
| "type": "text" | |
| } | |
| ], | |
| "data": {}, | |
| "x": 949.0, | |
| "y": 4938.0, | |
| "width": 300, | |
| "height": 190 | |
| }, | |
| { | |
| "id": "sub_png_fields", | |
| "role": "subject", | |
| "label": "🧮 Parsed fields", | |
| "asset_type": "text", | |
| "inputs": [ | |
| { | |
| "id": "in", | |
| "label": "🧮 Parsed fields", | |
| "type": "text" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "id": "out", | |
| "label": "🧮 Parsed fields", | |
| "type": "text" | |
| } | |
| ], | |
| "data": {}, | |
| "x": 1329.0, | |
| "y": 4938.0, | |
| "width": 300, | |
| "height": 190 | |
| } | |
| ], | |
| "edges": [ | |
| { | |
| "id": "e1", | |
| "from_node_id": "ref_prompt", | |
| "from_port_id": "out", | |
| "to_node_id": "op_style", | |
| "to_port_id": "in_prompt", | |
| "type": "text" | |
| }, | |
| { | |
| "id": "e2", | |
| "from_node_id": "ref_style", | |
| "from_port_id": "out", | |
| "to_node_id": "op_style", | |
| "to_port_id": "in_style", | |
| "type": "text" | |
| }, | |
| { | |
| "id": "e3", | |
| "from_node_id": "ref_style", | |
| "from_port_id": "out", | |
| "to_node_id": "op_negative", | |
| "to_port_id": "in_style", | |
| "type": "text" | |
| }, | |
| { | |
| "id": "e4", | |
| "from_node_id": "ref_negative", | |
| "from_port_id": "out", | |
| "to_node_id": "op_negative", | |
| "to_port_id": "in_negative", | |
| "type": "text" | |
| }, | |
| { | |
| "id": "e5", | |
| "from_node_id": "op_style", | |
| "from_port_id": "out_0", | |
| "to_node_id": "op_txt2img", | |
| "to_port_id": "in_prompt", | |
| "type": "text" | |
| }, | |
| { | |
| "id": "e6", | |
| "from_node_id": "op_negative", | |
| "from_port_id": "out_0", | |
| "to_node_id": "op_txt2img", | |
| "to_port_id": "in_negative_prompt", | |
| "type": "text" | |
| }, | |
| { | |
| "id": "e7", | |
| "from_node_id": "op_sampler", | |
| "from_port_id": "out_steps", | |
| "to_node_id": "op_txt2img", | |
| "to_port_id": "in_steps", | |
| "type": "number" | |
| }, | |
| { | |
| "id": "e8", | |
| "from_node_id": "op_sampler", | |
| "from_port_id": "out_cfg", | |
| "to_node_id": "op_txt2img", | |
| "to_port_id": "in_cfg_scale", | |
| "type": "number" | |
| }, | |
| { | |
| "id": "e9", | |
| "from_node_id": "op_sampler", | |
| "from_port_id": "out_seed", | |
| "to_node_id": "op_txt2img", | |
| "to_port_id": "in_seed", | |
| "type": "number" | |
| }, | |
| { | |
| "id": "e10", | |
| "from_node_id": "op_sampler", | |
| "from_port_id": "out_width", | |
| "to_node_id": "op_txt2img", | |
| "to_port_id": "in_width", | |
| "type": "number" | |
| }, | |
| { | |
| "id": "e11", | |
| "from_node_id": "op_sampler", | |
| "from_port_id": "out_height", | |
| "to_node_id": "op_txt2img", | |
| "to_port_id": "in_height", | |
| "type": "number" | |
| }, | |
| { | |
| "id": "e12", | |
| "from_node_id": "op_style", | |
| "from_port_id": "out_0", | |
| "to_node_id": "op_geninfo", | |
| "to_port_id": "in_prompt", | |
| "type": "text" | |
| }, | |
| { | |
| "id": "e13", | |
| "from_node_id": "op_negative", | |
| "from_port_id": "out_0", | |
| "to_node_id": "op_geninfo", | |
| "to_port_id": "in_negative", | |
| "type": "text" | |
| }, | |
| { | |
| "id": "e14", | |
| "from_node_id": "op_sampler", | |
| "from_port_id": "out_steps", | |
| "to_node_id": "op_geninfo", | |
| "to_port_id": "in_steps", | |
| "type": "number" | |
| }, | |
| { | |
| "id": "e15", | |
| "from_node_id": "op_sampler", | |
| "from_port_id": "out_cfg", | |
| "to_node_id": "op_geninfo", | |
| "to_port_id": "in_cfg_scale", | |
| "type": "number" | |
| }, | |
| { | |
| "id": "e16", | |
| "from_node_id": "op_sampler", | |
| "from_port_id": "out_seed", | |
| "to_node_id": "op_geninfo", | |
| "to_port_id": "in_seed", | |
| "type": "number" | |
| }, | |
| { | |
| "id": "e17", | |
| "from_node_id": "op_sampler", | |
| "from_port_id": "out_width", | |
| "to_node_id": "op_geninfo", | |
| "to_port_id": "in_width", | |
| "type": "number" | |
| }, | |
| { | |
| "id": "e18", | |
| "from_node_id": "op_sampler", | |
| "from_port_id": "out_height", | |
| "to_node_id": "op_geninfo", | |
| "to_port_id": "in_height", | |
| "type": "number" | |
| }, | |
| { | |
| "id": "e19", | |
| "from_node_id": "op_txt2img", | |
| "from_port_id": "out_0", | |
| "to_node_id": "op_post", | |
| "to_port_id": "in_image", | |
| "type": "image" | |
| }, | |
| { | |
| "id": "e20", | |
| "from_node_id": "op_geninfo", | |
| "from_port_id": "out_0", | |
| "to_node_id": "op_post", | |
| "to_port_id": "in_embed_info", | |
| "type": "text" | |
| }, | |
| { | |
| "id": "e21", | |
| "from_node_id": "op_post", | |
| "from_port_id": "out_0", | |
| "to_node_id": "sub_image", | |
| "to_port_id": "in", | |
| "type": "image" | |
| }, | |
| { | |
| "id": "e22", | |
| "from_node_id": "op_geninfo", | |
| "from_port_id": "out_0", | |
| "to_node_id": "sub_params", | |
| "to_port_id": "in", | |
| "type": "text" | |
| }, | |
| { | |
| "id": "e23", | |
| "from_node_id": "op_post", | |
| "from_port_id": "out_0", | |
| "to_node_id": "op_hires_prep", | |
| "to_port_id": "in_image", | |
| "type": "image" | |
| }, | |
| { | |
| "id": "e24", | |
| "from_node_id": "op_hires_prep", | |
| "from_port_id": "out_0", | |
| "to_node_id": "op_hires", | |
| "to_port_id": "image", | |
| "type": "image" | |
| }, | |
| { | |
| "id": "e25", | |
| "from_node_id": "ref_hires_instruction", | |
| "from_port_id": "out", | |
| "to_node_id": "op_hires", | |
| "to_port_id": "prompt", | |
| "type": "text" | |
| }, | |
| { | |
| "id": "e26", | |
| "from_node_id": "op_hires", | |
| "from_port_id": "out_0", | |
| "to_node_id": "sub_hires", | |
| "to_port_id": "in", | |
| "type": "image" | |
| }, | |
| { | |
| "id": "e27", | |
| "from_node_id": "ref_init_image", | |
| "from_port_id": "out", | |
| "to_node_id": "op_i2i_prep", | |
| "to_port_id": "in_image", | |
| "type": "image" | |
| }, | |
| { | |
| "id": "e28", | |
| "from_node_id": "op_i2i_prep", | |
| "from_port_id": "out_0", | |
| "to_node_id": "op_i2i", | |
| "to_port_id": "image", | |
| "type": "image" | |
| }, | |
| { | |
| "id": "e29", | |
| "from_node_id": "ref_edit_instruction", | |
| "from_port_id": "out", | |
| "to_node_id": "op_i2i", | |
| "to_port_id": "prompt", | |
| "type": "text" | |
| }, | |
| { | |
| "id": "e30", | |
| "from_node_id": "op_i2i", | |
| "from_port_id": "out_0", | |
| "to_node_id": "op_i2i_post", | |
| "to_port_id": "in_image", | |
| "type": "image" | |
| }, | |
| { | |
| "id": "e31", | |
| "from_node_id": "op_i2i_post", | |
| "from_port_id": "out_0", | |
| "to_node_id": "sub_i2i", | |
| "to_port_id": "in", | |
| "type": "image" | |
| }, | |
| { | |
| "id": "e32", | |
| "from_node_id": "ref_idea", | |
| "from_port_id": "out", | |
| "to_node_id": "op_magic", | |
| "to_port_id": "in_idea", | |
| "type": "text" | |
| }, | |
| { | |
| "id": "e33", | |
| "from_node_id": "op_magic", | |
| "from_port_id": "out_0", | |
| "to_node_id": "op_llm", | |
| "to_port_id": "in_prompt", | |
| "type": "text" | |
| }, | |
| { | |
| "id": "e34", | |
| "from_node_id": "op_llm", | |
| "from_port_id": "out_0", | |
| "to_node_id": "op_clean_magic", | |
| "to_port_id": "in_raw", | |
| "type": "text" | |
| }, | |
| { | |
| "id": "e35", | |
| "from_node_id": "op_clean_magic", | |
| "from_port_id": "out_0", | |
| "to_node_id": "sub_magic", | |
| "to_port_id": "in", | |
| "type": "text" | |
| }, | |
| { | |
| "id": "e36", | |
| "from_node_id": "ref_interrogate_image", | |
| "from_port_id": "out", | |
| "to_node_id": "op_vlm", | |
| "to_port_id": "in_image", | |
| "type": "image" | |
| }, | |
| { | |
| "id": "e37", | |
| "from_node_id": "op_vlm", | |
| "from_port_id": "out_0", | |
| "to_node_id": "op_clean_interrogate", | |
| "to_port_id": "in_raw", | |
| "type": "text" | |
| }, | |
| { | |
| "id": "e38", | |
| "from_node_id": "op_clean_interrogate", | |
| "from_port_id": "out_0", | |
| "to_node_id": "sub_interrogated", | |
| "to_port_id": "in", | |
| "type": "text" | |
| }, | |
| { | |
| "id": "e39", | |
| "from_node_id": "ref_interrogate_image", | |
| "from_port_id": "out", | |
| "to_node_id": "op_classify", | |
| "to_port_id": "in_image", | |
| "type": "image" | |
| }, | |
| { | |
| "id": "e40", | |
| "from_node_id": "op_classify", | |
| "from_port_id": "out_0", | |
| "to_node_id": "op_labels", | |
| "to_port_id": "in_labels", | |
| "type": "text" | |
| }, | |
| { | |
| "id": "e41", | |
| "from_node_id": "op_labels", | |
| "from_port_id": "out_0", | |
| "to_node_id": "sub_labels", | |
| "to_port_id": "in", | |
| "type": "text" | |
| }, | |
| { | |
| "id": "e42", | |
| "from_node_id": "ref_detect_image", | |
| "from_port_id": "out", | |
| "to_node_id": "op_detect", | |
| "to_port_id": "in_image", | |
| "type": "image" | |
| }, | |
| { | |
| "id": "e43", | |
| "from_node_id": "ref_detect_image", | |
| "from_port_id": "out", | |
| "to_node_id": "op_draw", | |
| "to_port_id": "in_image", | |
| "type": "image" | |
| }, | |
| { | |
| "id": "e44", | |
| "from_node_id": "op_detect", | |
| "from_port_id": "out_0", | |
| "to_node_id": "op_draw", | |
| "to_port_id": "in_detections", | |
| "type": "text" | |
| }, | |
| { | |
| "id": "e45", | |
| "from_node_id": "ref_detect_image", | |
| "from_port_id": "out", | |
| "to_node_id": "op_mask", | |
| "to_port_id": "in_image", | |
| "type": "image" | |
| }, | |
| { | |
| "id": "e46", | |
| "from_node_id": "op_detect", | |
| "from_port_id": "out_0", | |
| "to_node_id": "op_mask", | |
| "to_port_id": "in_detections", | |
| "type": "text" | |
| }, | |
| { | |
| "id": "e47", | |
| "from_node_id": "op_draw", | |
| "from_port_id": "out_0", | |
| "to_node_id": "sub_detected", | |
| "to_port_id": "in", | |
| "type": "image" | |
| }, | |
| { | |
| "id": "e48", | |
| "from_node_id": "op_draw", | |
| "from_port_id": "out_1", | |
| "to_node_id": "sub_detect_summary", | |
| "to_port_id": "in", | |
| "type": "text" | |
| }, | |
| { | |
| "id": "e49", | |
| "from_node_id": "op_mask", | |
| "from_port_id": "out_0", | |
| "to_node_id": "sub_mask", | |
| "to_port_id": "in", | |
| "type": "image" | |
| }, | |
| { | |
| "id": "e50", | |
| "from_node_id": "op_matrix", | |
| "from_port_id": "out_p1", | |
| "to_node_id": "op_grid_1", | |
| "to_port_id": "in_prompt", | |
| "type": "text" | |
| }, | |
| { | |
| "id": "e51", | |
| "from_node_id": "op_grid_1", | |
| "from_port_id": "out_0", | |
| "to_node_id": "op_sheet", | |
| "to_port_id": "in_image_1", | |
| "type": "image" | |
| }, | |
| { | |
| "id": "e52", | |
| "from_node_id": "op_matrix", | |
| "from_port_id": "out_p2", | |
| "to_node_id": "op_grid_2", | |
| "to_port_id": "in_prompt", | |
| "type": "text" | |
| }, | |
| { | |
| "id": "e53", | |
| "from_node_id": "op_grid_2", | |
| "from_port_id": "out_0", | |
| "to_node_id": "op_sheet", | |
| "to_port_id": "in_image_2", | |
| "type": "image" | |
| }, | |
| { | |
| "id": "e54", | |
| "from_node_id": "op_matrix", | |
| "from_port_id": "out_p3", | |
| "to_node_id": "op_grid_3", | |
| "to_port_id": "in_prompt", | |
| "type": "text" | |
| }, | |
| { | |
| "id": "e55", | |
| "from_node_id": "op_grid_3", | |
| "from_port_id": "out_0", | |
| "to_node_id": "op_sheet", | |
| "to_port_id": "in_image_3", | |
| "type": "image" | |
| }, | |
| { | |
| "id": "e56", | |
| "from_node_id": "op_matrix", | |
| "from_port_id": "out_p4", | |
| "to_node_id": "op_grid_4", | |
| "to_port_id": "in_prompt", | |
| "type": "text" | |
| }, | |
| { | |
| "id": "e57", | |
| "from_node_id": "op_grid_4", | |
| "from_port_id": "out_0", | |
| "to_node_id": "op_sheet", | |
| "to_port_id": "in_image_4", | |
| "type": "image" | |
| }, | |
| { | |
| "id": "e58", | |
| "from_node_id": "ref_matrix_base", | |
| "from_port_id": "out", | |
| "to_node_id": "op_matrix", | |
| "to_port_id": "in_base_prompt", | |
| "type": "text" | |
| }, | |
| { | |
| "id": "e59", | |
| "from_node_id": "ref_matrix_variants", | |
| "from_port_id": "out", | |
| "to_node_id": "op_matrix", | |
| "to_port_id": "in_variations", | |
| "type": "text" | |
| }, | |
| { | |
| "id": "e60", | |
| "from_node_id": "op_matrix", | |
| "from_port_id": "out_labels", | |
| "to_node_id": "op_sheet", | |
| "to_port_id": "in_labels", | |
| "type": "text" | |
| }, | |
| { | |
| "id": "e61", | |
| "from_node_id": "op_sheet", | |
| "from_port_id": "out_0", | |
| "to_node_id": "sub_grid", | |
| "to_port_id": "in", | |
| "type": "image" | |
| }, | |
| { | |
| "id": "e62", | |
| "from_node_id": "ref_extras_image", | |
| "from_port_id": "out", | |
| "to_node_id": "op_extras", | |
| "to_port_id": "in_image", | |
| "type": "image" | |
| }, | |
| { | |
| "id": "e63", | |
| "from_node_id": "op_extras", | |
| "from_port_id": "out_0", | |
| "to_node_id": "sub_upscaled", | |
| "to_port_id": "in", | |
| "type": "image" | |
| }, | |
| { | |
| "id": "e64", | |
| "from_node_id": "op_extras", | |
| "from_port_id": "out_1", | |
| "to_node_id": "sub_upscale_report", | |
| "to_port_id": "in", | |
| "type": "text" | |
| }, | |
| { | |
| "id": "e65", | |
| "from_node_id": "ref_extras_image", | |
| "from_port_id": "out", | |
| "to_node_id": "op_aurasr", | |
| "to_port_id": "input_image", | |
| "type": "image" | |
| }, | |
| { | |
| "id": "e66", | |
| "from_node_id": "op_aurasr", | |
| "from_port_id": "out_0", | |
| "to_node_id": "sub_aurasr", | |
| "to_port_id": "in", | |
| "type": "image" | |
| }, | |
| { | |
| "id": "e67", | |
| "from_node_id": "ref_extras_image", | |
| "from_port_id": "out", | |
| "to_node_id": "op_rmbg", | |
| "to_port_id": "image", | |
| "type": "image" | |
| }, | |
| { | |
| "id": "e68", | |
| "from_node_id": "op_rmbg", | |
| "from_port_id": "out_0", | |
| "to_node_id": "sub_cutout", | |
| "to_port_id": "in", | |
| "type": "image" | |
| }, | |
| { | |
| "id": "e69", | |
| "from_node_id": "ref_control_image", | |
| "from_port_id": "out", | |
| "to_node_id": "op_control", | |
| "to_port_id": "in_image", | |
| "type": "image" | |
| }, | |
| { | |
| "id": "e70", | |
| "from_node_id": "op_control", | |
| "from_port_id": "out_0", | |
| "to_node_id": "sub_control", | |
| "to_port_id": "in", | |
| "type": "image" | |
| }, | |
| { | |
| "id": "e71", | |
| "from_node_id": "ref_pnginfo_image", | |
| "from_port_id": "out", | |
| "to_node_id": "op_pnginfo", | |
| "to_port_id": "in_image", | |
| "type": "image" | |
| }, | |
| { | |
| "id": "e72", | |
| "from_node_id": "op_pnginfo", | |
| "from_port_id": "out_0", | |
| "to_node_id": "sub_png_report", | |
| "to_port_id": "in", | |
| "type": "text" | |
| }, | |
| { | |
| "id": "e73", | |
| "from_node_id": "op_pnginfo", | |
| "from_port_id": "out_1", | |
| "to_node_id": "sub_png_fields", | |
| "to_port_id": "in", | |
| "type": "text" | |
| } | |
| ] | |
| } |