hmb's picture
hmb HF Staff
Workflow from ML Intern
4cd592e verified
Raw History Blame Contribute Delete
4.79 kB
{
"schema_version": "2",
"name": "logo-design-model-comparison",
"runtime": {
"default": "client"
},
"references": [
{
"id": "ref_prompt",
"label": "Prompt",
"role": "reference",
"asset_type": "text",
"inputs": [
{
"id": "in",
"label": "Prompt",
"type": "text"
}
],
"outputs": [
{
"id": "out",
"label": "Prompt",
"type": "text"
}
],
"data": {}
}
],
"operators": [
{
"id": "op_flux_1_dev",
"label": "FLUX.1-dev",
"role": "operator",
"kind": "model",
"model_id": "black-forest-labs/FLUX.1-dev",
"pipeline_tag": "text-to-image",
"endpoint": "text_to_image",
"inputs": [
{
"id": "prompt",
"label": "Prompt",
"type": "text"
}
],
"outputs": [
{
"id": "out_0",
"label": "Image",
"type": "image",
"output_index": 0
}
],
"data": {}
},
{
"id": "op_flux_1_schnell",
"label": "FLUX.1-schnell",
"role": "operator",
"kind": "model",
"model_id": "black-forest-labs/FLUX.1-schnell",
"pipeline_tag": "text-to-image",
"endpoint": "text_to_image",
"inputs": [
{
"id": "prompt",
"label": "Prompt",
"type": "text"
}
],
"outputs": [
{
"id": "out_0",
"label": "Image",
"type": "image",
"output_index": 0
}
],
"data": {}
},
{
"id": "op_stable_diffusion_xl_base_1_0",
"label": "stable-diffusion-xl-base-1.0",
"role": "operator",
"kind": "model",
"model_id": "stabilityai/stable-diffusion-xl-base-1.0",
"pipeline_tag": "text-to-image",
"endpoint": "text_to_image",
"inputs": [
{
"id": "prompt",
"label": "Prompt",
"type": "text"
}
],
"outputs": [
{
"id": "out_0",
"label": "Image",
"type": "image",
"output_index": 0
}
],
"data": {}
}
],
"subjects": [
{
"id": "sub_op_flux_1_dev_out_0",
"label": "FLUX.1-dev",
"role": "subject",
"asset_type": "image",
"inputs": [
{
"id": "in",
"label": "FLUX.1-dev",
"type": "image"
}
],
"outputs": [
{
"id": "out",
"label": "FLUX.1-dev",
"type": "image"
}
],
"data": {}
},
{
"id": "sub_op_flux_1_schnell_out_0",
"label": "FLUX.1-schnell",
"role": "subject",
"asset_type": "image",
"inputs": [
{
"id": "in",
"label": "FLUX.1-schnell",
"type": "image"
}
],
"outputs": [
{
"id": "out",
"label": "FLUX.1-schnell",
"type": "image"
}
],
"data": {}
},
{
"id": "sub_op_stable_diffusion_xl_base_1_0_out_0",
"label": "stable-diffusion-xl-base-1.0",
"role": "subject",
"asset_type": "image",
"inputs": [
{
"id": "in",
"label": "stable-diffusion-xl-base-1.0",
"type": "image"
}
],
"outputs": [
{
"id": "out",
"label": "stable-diffusion-xl-base-1.0",
"type": "image"
}
],
"data": {}
}
],
"edges": [
{
"id": "e0",
"from_node_id": "ref_prompt",
"from_port_id": "out",
"to_node_id": "op_flux_1_dev",
"to_port_id": "prompt",
"type": "text"
},
{
"id": "e1",
"from_node_id": "ref_prompt",
"from_port_id": "out",
"to_node_id": "op_flux_1_schnell",
"to_port_id": "prompt",
"type": "text"
},
{
"id": "e2",
"from_node_id": "ref_prompt",
"from_port_id": "out",
"to_node_id": "op_stable_diffusion_xl_base_1_0",
"to_port_id": "prompt",
"type": "text"
},
{
"id": "e3",
"from_node_id": "op_flux_1_dev",
"from_port_id": "out_0",
"to_node_id": "sub_op_flux_1_dev_out_0",
"to_port_id": "in",
"type": "image"
},
{
"id": "e4",
"from_node_id": "op_flux_1_schnell",
"from_port_id": "out_0",
"to_node_id": "sub_op_flux_1_schnell_out_0",
"to_port_id": "in",
"type": "image"
},
{
"id": "e5",
"from_node_id": "op_stable_diffusion_xl_base_1_0",
"from_port_id": "out_0",
"to_node_id": "sub_op_stable_diffusion_xl_base_1_0_out_0",
"to_port_id": "in",
"type": "image"
}
]
}