P-Q-Image-2.1-DWD / workflow.json
sdiazlor's picture
Show only the DWD image: remove the VAE decode comparison
278b832 verified
Raw History Blame Contribute Delete
6.96 kB
{
"schema_version": "2",
"name": "P-Q-Image-2.1-DWD Workflow",
"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"
}
],
"x": 40,
"y": 40,
"width": 300,
"height": 160,
"data": {
"out": "a red fox standing in fresh snow at sunrise, professional wildlife photograph"
}
},
{
"id": "ref_aspect",
"label": "Aspect Ratio",
"role": "reference",
"asset_type": "text",
"inputs": [
{
"id": "in",
"label": "Text",
"type": "text"
}
],
"outputs": [
{
"id": "out",
"label": "Text",
"type": "text"
}
],
"x": 40,
"y": 220,
"width": 140,
"height": 90,
"data": {
"out": "1:1"
}
},
{
"id": "ref_resolution",
"label": "Resolution",
"role": "reference",
"asset_type": "text",
"inputs": [
{
"id": "in",
"label": "Text",
"type": "text"
}
],
"outputs": [
{
"id": "out",
"label": "Text",
"type": "text"
}
],
"x": 200,
"y": 220,
"width": 140,
"height": 90,
"data": {
"out": "1 MP"
}
},
{
"id": "ref_seed",
"label": "Seed",
"role": "reference",
"asset_type": "text",
"inputs": [
{
"id": "in",
"label": "Text",
"type": "text"
}
],
"outputs": [
{
"id": "out",
"label": "Text",
"type": "text"
}
],
"x": 40,
"y": 330,
"width": 130,
"height": 90,
"data": {
"out": "42"
}
},
{
"id": "ref_edit",
"label": "Edit Instruction",
"role": "reference",
"asset_type": "text",
"inputs": [
{
"id": "in",
"label": "Text",
"type": "text"
}
],
"outputs": [
{
"id": "out",
"label": "Text",
"type": "text"
}
],
"x": 700,
"y": 300,
"width": 280,
"height": 130,
"data": {
"out": "Add gently falling snow to the whole scene."
}
}
],
"operators": [
{
"id": "op_generate",
"label": "P-Q-Image-2.1-DWD Generate (no VAE)",
"role": "operator",
"kind": "fn",
"fn": "pq_dwd_generate",
"inputs": [
{
"id": "prompt",
"label": "Prompt",
"type": "text",
"required": true
},
{
"id": "aspect",
"label": "Aspect Ratio",
"type": "text"
},
{
"id": "resolution",
"label": "Resolution",
"type": "text"
},
{
"id": "seed",
"label": "Seed",
"type": "text"
}
],
"outputs": [
{
"id": "out_0",
"label": "Image",
"type": "image",
"output_index": 0
}
],
"x": 400,
"y": 40,
"width": 240,
"height": 170,
"data": {}
},
{
"id": "op_edit",
"label": "P-Q-Image-2.1-DWD Edit (no VAE)",
"role": "operator",
"kind": "fn",
"fn": "pq_dwd_edit",
"inputs": [
{
"id": "image",
"label": "Image",
"type": "image",
"required": true
},
{
"id": "prompt",
"label": "Edit Instruction",
"type": "text",
"required": true
},
{
"id": "seed",
"label": "Seed",
"type": "text"
}
],
"outputs": [
{
"id": "out_0",
"label": "Image",
"type": "image",
"output_index": 0
}
],
"x": 1020,
"y": 120,
"width": 230,
"height": 150,
"data": {}
}
],
"subjects": [
{
"id": "sub_generated",
"label": "DWD Image",
"role": "subject",
"asset_type": "image",
"inputs": [
{
"id": "in",
"label": "Image",
"type": "image"
}
],
"outputs": [
{
"id": "out",
"label": "Image",
"type": "image"
}
],
"x": 700,
"y": 50,
"width": 230,
"height": 110,
"data": {}
},
{
"id": "sub_edited",
"label": "Edited Image",
"role": "subject",
"asset_type": "image",
"inputs": [
{
"id": "in",
"label": "Image",
"type": "image"
}
],
"outputs": [
{
"id": "out",
"label": "Image",
"type": "image"
}
],
"x": 1310,
"y": 130,
"width": 230,
"height": 110,
"data": {}
}
],
"edges": [
{
"id": "e_prompt",
"from_node_id": "ref_prompt",
"from_port_id": "out",
"to_node_id": "op_generate",
"to_port_id": "prompt",
"type": "text"
},
{
"id": "e_aspect",
"from_node_id": "ref_aspect",
"from_port_id": "out",
"to_node_id": "op_generate",
"to_port_id": "aspect",
"type": "text"
},
{
"id": "e_resolution",
"from_node_id": "ref_resolution",
"from_port_id": "out",
"to_node_id": "op_generate",
"to_port_id": "resolution",
"type": "text"
},
{
"id": "e_seed",
"from_node_id": "ref_seed",
"from_port_id": "out",
"to_node_id": "op_generate",
"to_port_id": "seed",
"type": "text"
},
{
"id": "e_gen",
"from_node_id": "op_generate",
"from_port_id": "out_0",
"to_node_id": "sub_generated",
"to_port_id": "in",
"type": "image"
},
{
"id": "e_chain",
"from_node_id": "op_generate",
"from_port_id": "out_0",
"to_node_id": "op_edit",
"to_port_id": "image",
"type": "image"
},
{
"id": "e_edit",
"from_node_id": "ref_edit",
"from_port_id": "out",
"to_node_id": "op_edit",
"to_port_id": "prompt",
"type": "text"
},
{
"id": "e_seed_e",
"from_node_id": "ref_seed",
"from_port_id": "out",
"to_node_id": "op_edit",
"to_port_id": "seed",
"type": "text"
},
{
"id": "e_edited",
"from_node_id": "op_edit",
"from_port_id": "out_0",
"to_node_id": "sub_edited",
"to_port_id": "in",
"type": "image"
}
]
}