text-to-image / workflow.json
hmb's picture
hmb HF Staff
Deploy from Gradio Workflow Builder
f31888e verified
{
"version": "1",
"name": "Text to image",
"nodes": [
{
"id": "t1",
"kind": "input",
"label": "Textbox",
"source": "local",
"inputs": [],
"outputs": [
{
"id": "out",
"label": "Text",
"type": "text"
}
],
"x": 93,
"y": 58,
"width": 220,
"height": 95,
"data": {}
},
{
"id": "t2",
"kind": "transform",
"label": "Generate image",
"source": "space",
"space_id": "black-forest-labs/FLUX.1-schnell",
"inputs": [
{
"id": "in",
"label": "Prompt",
"type": "text",
"required": true
}
],
"outputs": [
{
"id": "out",
"label": "Image",
"type": "image"
}
],
"x": 420,
"y": 120,
"width": 200,
"height": 180,
"data": {}
},
{
"id": "t3",
"kind": "output",
"label": "Image",
"source": "local",
"inputs": [
{
"id": "in",
"label": "Image",
"type": "image"
}
],
"outputs": [
{
"id": "out",
"label": "Image",
"type": "image"
}
],
"x": 740,
"y": 120,
"width": 220,
"height": 188,
"data": {}
},
{
"label": "Textbox",
"kind": "input",
"source": "local",
"outputs": [
{
"id": "out",
"label": "Text",
"type": "text"
}
],
"inputs": [],
"width": 220,
"height": 95,
"id": "b6ab8e60-9a5a-4180-85b2-6b0cd8dd701e",
"x": 168,
"y": 373,
"data": {}
},
{
"label": "Textbox",
"kind": "input",
"source": "local",
"outputs": [
{
"id": "out",
"label": "Text",
"type": "text"
}
],
"inputs": [],
"width": 220,
"height": 95,
"id": "29571801-8f9c-4d78-9c16-4af5169d60aa",
"x": 112,
"y": 167,
"data": {}
}
],
"edges": [
{
"id": "e2",
"from_node_id": "t2",
"from_port_id": "out",
"to_node_id": "t3",
"to_port_id": "in",
"type": "image"
}
]
}