|
1 | 1 | {
|
2 | 2 | "name": "Text to Image - CogView4",
|
3 | 3 | "author": "",
|
4 |
| - "description": "Sample workflow for generating images from text using CogView4", |
| 4 | + "description": "Generate an image from a prompt with CogView4.", |
5 | 5 | "version": "",
|
6 | 6 | "contact": "",
|
7 | 7 | "tags": "CogView4, Text to Image",
|
8 | 8 | "notes": "",
|
9 | 9 | "exposedFields": [],
|
10 |
| - "meta": { |
11 |
| - "category": "default", |
12 |
| - "version": "3.0.0" |
13 |
| - }, |
| 10 | + "meta": { "category": "default", "version": "3.0.0" }, |
14 | 11 | "id": "default_0e405a8e-ab5e-4e6c-bd99-b59deabd5591",
|
15 | 12 | "form": {
|
16 | 13 | "elements": {
|
17 | 14 | "container-XSINSu999B": {
|
18 | 15 | "id": "container-XSINSu999B",
|
19 | 16 | "data": {
|
20 | 17 | "layout": "column",
|
21 |
| - "children": [] |
| 18 | + "children": [ |
| 19 | + "heading-N0TXlsboP5", |
| 20 | + "text-PVw8AvXCTz", |
| 21 | + "divider-5wmCOm9mqG", |
| 22 | + "node-field-gPil4XSw8L", |
| 23 | + "node-field-T2oYYNrAzH", |
| 24 | + "node-field-SRj6Dn28lm" |
| 25 | + ] |
22 | 26 | },
|
23 | 27 | "type": "container"
|
| 28 | + }, |
| 29 | + "node-field-gPil4XSw8L": { |
| 30 | + "id": "node-field-gPil4XSw8L", |
| 31 | + "type": "node-field", |
| 32 | + "parentId": "container-XSINSu999B", |
| 33 | + "data": { |
| 34 | + "fieldIdentifier": { |
| 35 | + "nodeId": "a4569d8b-6a43-44b9-8919-4ceec6682904", |
| 36 | + "fieldName": "prompt" |
| 37 | + }, |
| 38 | + "settings": { |
| 39 | + "type": "string-field-config", |
| 40 | + "component": "textarea" |
| 41 | + }, |
| 42 | + "showDescription": false |
| 43 | + } |
| 44 | + }, |
| 45 | + "node-field-T2oYYNrAzH": { |
| 46 | + "id": "node-field-T2oYYNrAzH", |
| 47 | + "type": "node-field", |
| 48 | + "parentId": "container-XSINSu999B", |
| 49 | + "data": { |
| 50 | + "fieldIdentifier": { |
| 51 | + "nodeId": "acb26944-1208-4016-9929-ab8dd0860573", |
| 52 | + "fieldName": "prompt" |
| 53 | + }, |
| 54 | + "settings": { |
| 55 | + "type": "string-field-config", |
| 56 | + "component": "textarea" |
| 57 | + }, |
| 58 | + "showDescription": false |
| 59 | + } |
| 60 | + }, |
| 61 | + "node-field-SRj6Dn28lm": { |
| 62 | + "id": "node-field-SRj6Dn28lm", |
| 63 | + "type": "node-field", |
| 64 | + "parentId": "container-XSINSu999B", |
| 65 | + "data": { |
| 66 | + "fieldIdentifier": { |
| 67 | + "nodeId": "7890507c-d346-4d13-bcb4-bc6d4850b2e3", |
| 68 | + "fieldName": "model" |
| 69 | + }, |
| 70 | + "showDescription": false |
| 71 | + } |
| 72 | + }, |
| 73 | + "heading-N0TXlsboP5": { |
| 74 | + "id": "heading-N0TXlsboP5", |
| 75 | + "parentId": "container-XSINSu999B", |
| 76 | + "type": "heading", |
| 77 | + "data": { "content": "Text to Image - CogView4" } |
| 78 | + }, |
| 79 | + "text-PVw8AvXCTz": { |
| 80 | + "id": "text-PVw8AvXCTz", |
| 81 | + "parentId": "container-XSINSu999B", |
| 82 | + "type": "text", |
| 83 | + "data": { "content": "Generate an image from a prompt with CogView4." } |
| 84 | + }, |
| 85 | + "divider-5wmCOm9mqG": { |
| 86 | + "id": "divider-5wmCOm9mqG", |
| 87 | + "parentId": "container-XSINSu999B", |
| 88 | + "type": "divider" |
24 | 89 | }
|
25 | 90 | },
|
26 | 91 | "rootElementId": "container-XSINSu999B"
|
|
46 | 111 | "isIntermediate": true,
|
47 | 112 | "useCache": true
|
48 | 113 | },
|
49 |
| - "position": { |
50 |
| - "x": -52.193850056888095, |
51 |
| - "y": 282.4721422789611 |
52 |
| - } |
| 114 | + "position": { "x": -52.193850056888095, "y": 282.4721422789611 } |
53 | 115 | },
|
54 | 116 | {
|
55 | 117 | "id": "a4569d8b-6a43-44b9-8919-4ceec6682904",
|
|
64 | 126 | "inputs": {
|
65 | 127 | "prompt": {
|
66 | 128 | "name": "prompt",
|
67 |
| - "label": "", |
| 129 | + "label": "Positive Prompt", |
68 | 130 | "description": "",
|
69 | 131 | "value": "A whimsical stuffed gnome sits on a golden sandy beach, its plush fabric slightly textured and well-worn. The gnome has a round, cheerful face with a fluffy white beard, a bulbous nose, and a tall, slightly floppy red hat with a few decorative stitching details. It wears a tiny blue vest over a soft, earthy-toned tunic, and its stubby arms grasp a ripe yellow banana with a few brown speckles. The ocean waves gently roll onto the shore in the background, with turquoise water reflecting the warm glow of the late afternoon sun. A few scattered seashells and driftwood pieces are near the gnome, while a colorful beach umbrella and footprints in the sand hint at a lively beach scene. The sky is a soft pastel blend of pink, orange, and light blue, with wispy clouds stretching across the horizon.\n"
|
70 | 132 | },
|
|
78 | 140 | "isIntermediate": true,
|
79 | 141 | "useCache": true
|
80 | 142 | },
|
81 |
| - "position": { |
82 |
| - "x": 328.9380683664592, |
83 |
| - "y": 305.11768986950995 |
84 |
| - } |
| 143 | + "position": { "x": 328.9380683664592, "y": 305.11768986950995 } |
85 | 144 | },
|
86 | 145 | {
|
87 | 146 | "id": "acb26944-1208-4016-9929-ab8dd0860573",
|
|
96 | 155 | "inputs": {
|
97 | 156 | "prompt": {
|
98 | 157 | "name": "prompt",
|
99 |
| - "label": "", |
| 158 | + "label": "Negative Prompt", |
100 | 159 | "description": "",
|
101 | 160 | "value": ""
|
102 | 161 | },
|
|
110 | 169 | "isIntermediate": true,
|
111 | 170 | "useCache": true
|
112 | 171 | },
|
113 |
| - "position": { |
114 |
| - "x": 334.6799782744916, |
115 |
| - "y": 496.5882067536601 |
116 |
| - } |
| 172 | + "position": { "x": 334.6799782744916, "y": 496.5882067536601 } |
117 | 173 | },
|
118 | 174 | {
|
119 | 175 | "id": "cdd72700-463d-4e10-8d76-3e842e4c0b49",
|
|
132 | 188 | "description": "",
|
133 | 189 | "value": "auto"
|
134 | 190 | },
|
135 |
| - "metadata": { |
136 |
| - "name": "metadata", |
137 |
| - "label": "", |
138 |
| - "description": "" |
139 |
| - }, |
140 |
| - "latents": { |
141 |
| - "name": "latents", |
142 |
| - "label": "", |
143 |
| - "description": "" |
144 |
| - }, |
145 |
| - "vae": { |
146 |
| - "name": "vae", |
147 |
| - "label": "", |
148 |
| - "description": "" |
149 |
| - } |
| 191 | + "metadata": { "name": "metadata", "label": "", "description": "" }, |
| 192 | + "latents": { "name": "latents", "label": "", "description": "" }, |
| 193 | + "vae": { "name": "vae", "label": "", "description": "" } |
150 | 194 | },
|
151 | 195 | "isOpen": true,
|
152 | 196 | "isIntermediate": false,
|
153 | 197 | "useCache": true
|
154 | 198 | },
|
155 |
| - "position": { |
156 |
| - "x": 1112.027247217991, |
157 |
| - "y": 294.1351498145327 |
158 |
| - } |
| 199 | + "position": { "x": 1112.027247217991, "y": 294.1351498145327 } |
159 | 200 | },
|
160 | 201 | {
|
161 | 202 | "id": "e75e2ced-284e-4135-81dc-cdf06c7a409d",
|
162 | 203 | "type": "invocation",
|
163 | 204 | "data": {
|
164 | 205 | "id": "e75e2ced-284e-4135-81dc-cdf06c7a409d",
|
165 |
| - "type": "cogview4_denoise", |
166 | 206 | "version": "1.0.0",
|
| 207 | + "nodePack": "invokeai", |
167 | 208 | "label": "",
|
168 | 209 | "notes": "",
|
169 |
| - "isOpen": true, |
170 |
| - "isIntermediate": true, |
171 |
| - "useCache": true, |
172 |
| - "nodePack": "invokeai", |
| 210 | + "type": "cogview4_denoise", |
173 | 211 | "inputs": {
|
174 | 212 | "board": {
|
175 | 213 | "name": "board",
|
176 | 214 | "label": "",
|
177 | 215 | "description": "",
|
178 | 216 | "value": "auto"
|
179 | 217 | },
|
180 |
| - "metadata": { |
181 |
| - "name": "metadata", |
182 |
| - "label": "", |
183 |
| - "description": "" |
184 |
| - }, |
185 |
| - "latents": { |
186 |
| - "name": "latents", |
187 |
| - "label": "", |
188 |
| - "description": "" |
189 |
| - }, |
| 218 | + "metadata": { "name": "metadata", "label": "", "description": "" }, |
| 219 | + "latents": { "name": "latents", "label": "", "description": "" }, |
190 | 220 | "denoise_mask": {
|
191 | 221 | "name": "denoise_mask",
|
192 | 222 | "label": "",
|
|
243 | 273 | "description": "",
|
244 | 274 | "value": 30
|
245 | 275 | },
|
246 |
| - "seed": { |
247 |
| - "name": "seed", |
248 |
| - "label": "", |
249 |
| - "description": "", |
250 |
| - "value": 0 |
251 |
| - } |
252 |
| - } |
| 276 | + "seed": { "name": "seed", "label": "", "description": "", "value": 0 } |
| 277 | + }, |
| 278 | + "isOpen": true, |
| 279 | + "isIntermediate": true, |
| 280 | + "useCache": false |
253 | 281 | },
|
254 |
| - "position": { |
255 |
| - "x": 720.8830004638692, |
256 |
| - "y": 332.66609681908415 |
257 |
| - } |
| 282 | + "position": { "x": 720.8830004638692, "y": 332.66609681908415 } |
258 | 283 | }
|
259 | 284 | ],
|
260 | 285 | "edges": [
|
|
0 commit comments