iris-3b-workflow / workflow.json
akhaliq's picture
akhaliq HF Staff
Iris nodes as kind:fn (illustrate) instead of kind:space
85f2ce4 verified
Raw History Blame Contribute Delete
7.06 kB
{
"schema_version": "2",
"name": "Iris-3B Pipelines",
"references": [
{
"id": "ref_prompt",
"label": "Prompt",
"role": "reference",
"asset_type": "text",
"inputs": [{"id": "in", "label": "Text", "type": "text"}],
"outputs": [{"id": "out", "label": "Text", "type": "text"}],
"data": {"out": "A lighthouse on a rocky cliff at golden hour, waves crashing against the rocks, dramatic sky"},
"x": 40,
"y": 60,
"width": 240
},
{
"id": "ref_prompt_compare",
"label": "Prompt",
"role": "reference",
"asset_type": "text",
"inputs": [{"id": "in", "label": "Text", "type": "text"}],
"outputs": [{"id": "out", "label": "Text", "type": "text"}],
"data": {"out": "A cozy cabin in a snowy pine forest at dusk, warm light glowing in the windows"},
"x": 40,
"y": 420,
"width": 240
}
],
"operators": [
{
"id": "op_enhance",
"label": "Enhance Prompt",
"role": "operator",
"kind": "fn",
"fn": "enhance_prompt",
"inputs": [{"id": "in_prompt", "label": "prompt", "type": "text", "required": true}],
"outputs": [{"id": "out_0", "label": "output", "type": "text", "output_index": 0}],
"data": {},
"x": 360,
"y": 60,
"width": 240
},
{
"id": "op_iris",
"label": "Iris-3B (ZeroGPU)",
"role": "operator",
"kind": "fn",
"fn": "illustrate",
"inputs": [
{"id": "in_0", "label": "prompt", "type": "text", "required": true},
{"id": "in_1", "label": "negative", "type": "text", "required": false},
{"id": "in_2", "label": "size", "type": "text", "required": false},
{"id": "in_3", "label": "steps", "type": "number", "required": false},
{"id": "in_4", "label": "cfg_scale", "type": "number", "required": false},
{"id": "in_5", "label": "seed", "type": "number", "required": false},
{"id": "in_6", "label": "randomize", "type": "boolean", "required": false}
],
"outputs": [
{"id": "out_0", "label": "Image", "type": "image", "output_index": 0},
{"id": "out_1", "label": "Seed", "type": "number", "output_index": 1}
],
"data": {
"in_1": "",
"in_2": "1024×1024",
"in_3": 50,
"in_4": 3.0,
"in_5": 46001,
"in_6": false
},
"x": 680,
"y": 60,
"width": 260
},
{
"id": "op_iris_wide",
"label": "Iris-3B · Wide",
"role": "operator",
"kind": "fn",
"fn": "illustrate",
"inputs": [
{"id": "in_0", "label": "prompt", "type": "text", "required": true},
{"id": "in_1", "label": "negative", "type": "text", "required": false},
{"id": "in_2", "label": "size", "type": "text", "required": false},
{"id": "in_3", "label": "steps", "type": "number", "required": false},
{"id": "in_4", "label": "cfg_scale", "type": "number", "required": false},
{"id": "in_5", "label": "seed", "type": "number", "required": false},
{"id": "in_6", "label": "randomize", "type": "boolean", "required": false}
],
"outputs": [
{"id": "out_0", "label": "Image", "type": "image", "output_index": 0}
],
"data": {
"in_1": "",
"in_2": "1344×768",
"in_3": 50,
"in_4": 3.0,
"in_5": 46001,
"in_6": false
},
"x": 420,
"y": 340,
"width": 260
},
{
"id": "op_iris_tall",
"label": "Iris-3B · Tall",
"role": "operator",
"kind": "fn",
"fn": "illustrate",
"inputs": [
{"id": "in_0", "label": "prompt", "type": "text", "required": true},
{"id": "in_1", "label": "negative", "type": "text", "required": false},
{"id": "in_2", "label": "size", "type": "text", "required": false},
{"id": "in_3", "label": "steps", "type": "number", "required": false},
{"id": "in_4", "label": "cfg_scale", "type": "number", "required": false},
{"id": "in_5", "label": "seed", "type": "number", "required": false},
{"id": "in_6", "label": "randomize", "type": "boolean", "required": false}
],
"outputs": [
{"id": "out_0", "label": "Image", "type": "image", "output_index": 0}
],
"data": {
"in_1": "",
"in_2": "768×1344",
"in_3": 50,
"in_4": 3.0,
"in_5": 46001,
"in_6": false
},
"x": 420,
"y": 560,
"width": 260
}
],
"subjects": [
{
"id": "sub_image",
"label": "Generated Image",
"role": "subject",
"asset_type": "image",
"inputs": [{"id": "in", "label": "Image", "type": "image"}],
"outputs": [{"id": "out", "label": "Image", "type": "image"}],
"data": {},
"x": 1060,
"y": 40,
"width": 240
},
{
"id": "sub_seed",
"label": "Seed Used",
"role": "subject",
"asset_type": "number",
"inputs": [{"id": "in", "label": "Seed", "type": "number"}],
"outputs": [{"id": "out", "label": "Seed", "type": "number"}],
"data": {},
"x": 1060,
"y": 240,
"width": 240
},
{
"id": "sub_wide",
"label": "Wide 1344x768",
"role": "subject",
"asset_type": "image",
"inputs": [{"id": "in", "label": "Image", "type": "image"}],
"outputs": [{"id": "out", "label": "Image", "type": "image"}],
"data": {},
"x": 820,
"y": 340,
"width": 240
},
{
"id": "sub_tall",
"label": "Tall 768x1344",
"role": "subject",
"asset_type": "image",
"inputs": [{"id": "in", "label": "Image", "type": "image"}],
"outputs": [{"id": "out", "label": "Image", "type": "image"}],
"data": {},
"x": 820,
"y": 560,
"width": 240
}
],
"edges": [
{"id": "e1", "from_node_id": "ref_prompt", "from_port_id": "out", "to_node_id": "op_enhance", "to_port_id": "in_prompt", "type": "text"},
{"id": "e2", "from_node_id": "op_enhance", "from_port_id": "out_0", "to_node_id": "op_iris", "to_port_id": "in_0", "type": "text"},
{"id": "e3", "from_node_id": "op_iris", "from_port_id": "out_0", "to_node_id": "sub_image", "to_port_id": "in", "type": "image"},
{"id": "e4", "from_node_id": "op_iris", "from_port_id": "out_1", "to_node_id": "sub_seed", "to_port_id": "in", "type": "number"},
{"id": "e5", "from_node_id": "ref_prompt_compare", "from_port_id": "out", "to_node_id": "op_iris_wide", "to_port_id": "in_0", "type": "text"},
{"id": "e6", "from_node_id": "ref_prompt_compare", "from_port_id": "out", "to_node_id": "op_iris_tall", "to_port_id": "in_0", "type": "text"},
{"id": "e7", "from_node_id": "op_iris_wide", "from_port_id": "out_0", "to_node_id": "sub_wide", "to_port_id": "in", "type": "image"},
{"id": "e8", "from_node_id": "op_iris_tall", "from_port_id": "out_0", "to_node_id": "sub_tall", "to_port_id": "in", "type": "image"}
],
"view": {
"default": "canvas"
}
}