|
| 1 | +{ |
| 2 | + "name": "Flux Text to Image", |
| 3 | + "author": "InvokeAI", |
| 4 | + "description": "A simple text-to-image workflow using Flux Dev or Flux Schnell", |
| 5 | + "version": "1.0.0", |
| 6 | + "contact": "", |
| 7 | + "tags": "text2image, flux", |
| 8 | + "notes": "", |
| 9 | + "exposedFields": [ |
| 10 | + { |
| 11 | + "nodeId": "90701a55-0a0f-444d-ab7d-ea9b7361dd44", |
| 12 | + "fieldName": "model" |
| 13 | + }, |
| 14 | + { |
| 15 | + "nodeId": "90701a55-0a0f-444d-ab7d-ea9b7361dd44", |
| 16 | + "fieldName": "t5_encoder" |
| 17 | + }, |
| 18 | + { |
| 19 | + "nodeId": "7187b891-8b9e-41f2-bad0-579c14c92faf", |
| 20 | + "fieldName": "positive_prompt" |
| 21 | + } |
| 22 | + ], |
| 23 | + "meta": { |
| 24 | + "version": "3.0.0", |
| 25 | + "category": "default" |
| 26 | + }, |
| 27 | + "nodes": [ |
| 28 | + { |
| 29 | + "id": "4754c534-a5f3-4ad0-9382-7887985e668c", |
| 30 | + "type": "invocation", |
| 31 | + "data": { |
| 32 | + "id": "4754c534-a5f3-4ad0-9382-7887985e668c", |
| 33 | + "type": "rand_int", |
| 34 | + "version": "1.0.1", |
| 35 | + "label": "", |
| 36 | + "notes": "", |
| 37 | + "isOpen": true, |
| 38 | + "isIntermediate": true, |
| 39 | + "useCache": false, |
| 40 | + "inputs": { |
| 41 | + "low": { |
| 42 | + "name": "low", |
| 43 | + "label": "", |
| 44 | + "value": 0 |
| 45 | + }, |
| 46 | + "high": { |
| 47 | + "name": "high", |
| 48 | + "label": "", |
| 49 | + "value": 2147483647 |
| 50 | + } |
| 51 | + } |
| 52 | + }, |
| 53 | + "position": { |
| 54 | + "x": 822.9899179655476, |
| 55 | + "y": 360.9657214885052 |
| 56 | + } |
| 57 | + }, |
| 58 | + { |
| 59 | + "id": "159bdf1b-79e7-4174-b86e-d40e646964c8", |
| 60 | + "type": "invocation", |
| 61 | + "data": { |
| 62 | + "id": "159bdf1b-79e7-4174-b86e-d40e646964c8", |
| 63 | + "type": "flux_text_to_image", |
| 64 | + "version": "1.0.0", |
| 65 | + "label": "", |
| 66 | + "notes": "", |
| 67 | + "isOpen": true, |
| 68 | + "isIntermediate": false, |
| 69 | + "useCache": false, |
| 70 | + "inputs": { |
| 71 | + "board": { |
| 72 | + "name": "board", |
| 73 | + "label": "" |
| 74 | + }, |
| 75 | + "metadata": { |
| 76 | + "name": "metadata", |
| 77 | + "label": "" |
| 78 | + }, |
| 79 | + "transformer": { |
| 80 | + "name": "transformer", |
| 81 | + "label": "" |
| 82 | + }, |
| 83 | + "vae": { |
| 84 | + "name": "vae", |
| 85 | + "label": "" |
| 86 | + }, |
| 87 | + "positive_text_conditioning": { |
| 88 | + "name": "positive_text_conditioning", |
| 89 | + "label": "" |
| 90 | + }, |
| 91 | + "width": { |
| 92 | + "name": "width", |
| 93 | + "label": "", |
| 94 | + "value": 1024 |
| 95 | + }, |
| 96 | + "height": { |
| 97 | + "name": "height", |
| 98 | + "label": "", |
| 99 | + "value": 1024 |
| 100 | + }, |
| 101 | + "num_steps": { |
| 102 | + "name": "num_steps", |
| 103 | + "label": "", |
| 104 | + "value": 4 |
| 105 | + }, |
| 106 | + "guidance": { |
| 107 | + "name": "guidance", |
| 108 | + "label": "", |
| 109 | + "value": 4 |
| 110 | + }, |
| 111 | + "seed": { |
| 112 | + "name": "seed", |
| 113 | + "label": "", |
| 114 | + "value": 0 |
| 115 | + } |
| 116 | + } |
| 117 | + }, |
| 118 | + "position": { |
| 119 | + "x": 1216.3900791301849, |
| 120 | + "y": 5.500841807102248 |
| 121 | + } |
| 122 | + }, |
| 123 | + { |
| 124 | + "id": "7187b891-8b9e-41f2-bad0-579c14c92faf", |
| 125 | + "type": "invocation", |
| 126 | + "data": { |
| 127 | + "id": "7187b891-8b9e-41f2-bad0-579c14c92faf", |
| 128 | + "type": "flux_text_encoder", |
| 129 | + "version": "1.0.0", |
| 130 | + "label": "", |
| 131 | + "notes": "", |
| 132 | + "isOpen": true, |
| 133 | + "isIntermediate": true, |
| 134 | + "useCache": false, |
| 135 | + "inputs": { |
| 136 | + "clip": { |
| 137 | + "name": "clip", |
| 138 | + "label": "" |
| 139 | + }, |
| 140 | + "t5_encoder": { |
| 141 | + "name": "t5_encoder", |
| 142 | + "label": "" |
| 143 | + }, |
| 144 | + "max_seq_len": { |
| 145 | + "name": "max_seq_len", |
| 146 | + "label": "", |
| 147 | + "value": 256 |
| 148 | + }, |
| 149 | + "positive_prompt": { |
| 150 | + "name": "positive_prompt", |
| 151 | + "label": "", |
| 152 | + "value": "dog eating an ice cream cone while watching the TV" |
| 153 | + } |
| 154 | + } |
| 155 | + }, |
| 156 | + "position": { |
| 157 | + "x": 809.5428272455715, |
| 158 | + "y": 111.5674004989348 |
| 159 | + } |
| 160 | + }, |
| 161 | + { |
| 162 | + "id": "90701a55-0a0f-444d-ab7d-ea9b7361dd44", |
| 163 | + "type": "invocation", |
| 164 | + "data": { |
| 165 | + "id": "90701a55-0a0f-444d-ab7d-ea9b7361dd44", |
| 166 | + "type": "flux_model_loader", |
| 167 | + "version": "1.0.3", |
| 168 | + "label": "", |
| 169 | + "notes": "", |
| 170 | + "isOpen": true, |
| 171 | + "isIntermediate": true, |
| 172 | + "useCache": false, |
| 173 | + "inputs": { |
| 174 | + "model": { |
| 175 | + "name": "model", |
| 176 | + "label": "", |
| 177 | + "value": { |
| 178 | + "key": "a1deb125-2781-482c-8a71-9a22e76fd956", |
| 179 | + "hash": "random:40bd0a5b8b2c6edf8f5611e049000329b952efc6a1a24b4f77ca4ae3dbecaf6a", |
| 180 | + "name": "flux1-schnell-bnb_nf4", |
| 181 | + "base": "flux", |
| 182 | + "type": "main" |
| 183 | + } |
| 184 | + }, |
| 185 | + "t5_encoder": { |
| 186 | + "name": "t5_encoder", |
| 187 | + "label": "", |
| 188 | + "value": "8b_quantized" |
| 189 | + } |
| 190 | + } |
| 191 | + }, |
| 192 | + "position": { |
| 193 | + "x": 407.297070550788, |
| 194 | + "y": 37.50301331772734 |
| 195 | + } |
| 196 | + } |
| 197 | + ], |
| 198 | + "edges": [ |
| 199 | + { |
| 200 | + "id": "reactflow__edge-4754c534-a5f3-4ad0-9382-7887985e668cvalue-159bdf1b-79e7-4174-b86e-d40e646964c8seed", |
| 201 | + "type": "default", |
| 202 | + "source": "4754c534-a5f3-4ad0-9382-7887985e668c", |
| 203 | + "target": "159bdf1b-79e7-4174-b86e-d40e646964c8", |
| 204 | + "sourceHandle": "value", |
| 205 | + "targetHandle": "seed" |
| 206 | + }, |
| 207 | + { |
| 208 | + "id": "reactflow__edge-90701a55-0a0f-444d-ab7d-ea9b7361dd44vae-159bdf1b-79e7-4174-b86e-d40e646964c8vae", |
| 209 | + "type": "default", |
| 210 | + "source": "90701a55-0a0f-444d-ab7d-ea9b7361dd44", |
| 211 | + "target": "159bdf1b-79e7-4174-b86e-d40e646964c8", |
| 212 | + "sourceHandle": "vae", |
| 213 | + "targetHandle": "vae" |
| 214 | + }, |
| 215 | + { |
| 216 | + "id": "reactflow__edge-90701a55-0a0f-444d-ab7d-ea9b7361dd44transformer-159bdf1b-79e7-4174-b86e-d40e646964c8transformer", |
| 217 | + "type": "default", |
| 218 | + "source": "90701a55-0a0f-444d-ab7d-ea9b7361dd44", |
| 219 | + "target": "159bdf1b-79e7-4174-b86e-d40e646964c8", |
| 220 | + "sourceHandle": "transformer", |
| 221 | + "targetHandle": "transformer" |
| 222 | + }, |
| 223 | + { |
| 224 | + "id": "reactflow__edge-7187b891-8b9e-41f2-bad0-579c14c92fafconditioning-159bdf1b-79e7-4174-b86e-d40e646964c8positive_text_conditioning", |
| 225 | + "type": "default", |
| 226 | + "source": "7187b891-8b9e-41f2-bad0-579c14c92faf", |
| 227 | + "target": "159bdf1b-79e7-4174-b86e-d40e646964c8", |
| 228 | + "sourceHandle": "conditioning", |
| 229 | + "targetHandle": "positive_text_conditioning" |
| 230 | + }, |
| 231 | + { |
| 232 | + "id": "reactflow__edge-90701a55-0a0f-444d-ab7d-ea9b7361dd44max_seq_len-7187b891-8b9e-41f2-bad0-579c14c92fafmax_seq_len", |
| 233 | + "type": "default", |
| 234 | + "source": "90701a55-0a0f-444d-ab7d-ea9b7361dd44", |
| 235 | + "target": "7187b891-8b9e-41f2-bad0-579c14c92faf", |
| 236 | + "sourceHandle": "max_seq_len", |
| 237 | + "targetHandle": "max_seq_len" |
| 238 | + }, |
| 239 | + { |
| 240 | + "id": "reactflow__edge-90701a55-0a0f-444d-ab7d-ea9b7361dd44t5_encoder-7187b891-8b9e-41f2-bad0-579c14c92faft5_encoder", |
| 241 | + "type": "default", |
| 242 | + "source": "90701a55-0a0f-444d-ab7d-ea9b7361dd44", |
| 243 | + "target": "7187b891-8b9e-41f2-bad0-579c14c92faf", |
| 244 | + "sourceHandle": "t5_encoder", |
| 245 | + "targetHandle": "t5_encoder" |
| 246 | + }, |
| 247 | + { |
| 248 | + "id": "reactflow__edge-90701a55-0a0f-444d-ab7d-ea9b7361dd44clip-7187b891-8b9e-41f2-bad0-579c14c92fafclip", |
| 249 | + "type": "default", |
| 250 | + "source": "90701a55-0a0f-444d-ab7d-ea9b7361dd44", |
| 251 | + "target": "7187b891-8b9e-41f2-bad0-579c14c92faf", |
| 252 | + "sourceHandle": "clip", |
| 253 | + "targetHandle": "clip" |
| 254 | + } |
| 255 | + ] |
| 256 | +} |
0 commit comments