defaultGraph.js 2.89 KB
Newer Older
pythongosssss's avatar
pythongosssss committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
export const defaultGraph = {
	last_node_id: 9,
	last_link_id: 9,
	nodes: [
		{
			id: 7,
			type: "CLIPTextEncode",
			pos: [413, 389],
			size: { 0: 425.27801513671875, 1: 180.6060791015625 },
			flags: {},
			order: 3,
			mode: 0,
			inputs: [{ name: "clip", type: "CLIP", link: 5 }],
			outputs: [{ name: "CONDITIONING", type: "CONDITIONING", links: [6], slot_index: 0 }],
			properties: {},
16
			widgets_values: ["text, watermark"],
pythongosssss's avatar
pythongosssss committed
17
18
19
20
21
22
23
24
25
26
27
28
		},
		{
			id: 6,
			type: "CLIPTextEncode",
			pos: [415, 186],
			size: { 0: 422.84503173828125, 1: 164.31304931640625 },
			flags: {},
			order: 2,
			mode: 0,
			inputs: [{ name: "clip", type: "CLIP", link: 3 }],
			outputs: [{ name: "CONDITIONING", type: "CONDITIONING", links: [4], slot_index: 0 }],
			properties: {},
29
			widgets_values: ["beautiful scenery nature glass bottle landscape, , purple galaxy bottle,"],
pythongosssss's avatar
pythongosssss committed
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
		},
		{
			id: 5,
			type: "EmptyLatentImage",
			pos: [473, 609],
			size: { 0: 315, 1: 106 },
			flags: {},
			order: 1,
			mode: 0,
			outputs: [{ name: "LATENT", type: "LATENT", links: [2], slot_index: 0 }],
			properties: {},
			widgets_values: [512, 512, 1],
		},
		{
			id: 3,
			type: "KSampler",
			pos: [863, 186],
			size: { 0: 315, 1: 262 },
			flags: {},
			order: 4,
			mode: 0,
			inputs: [
				{ name: "model", type: "MODEL", link: 1 },
				{ name: "positive", type: "CONDITIONING", link: 4 },
				{ name: "negative", type: "CONDITIONING", link: 6 },
				{ name: "latent_image", type: "LATENT", link: 2 },
			],
			outputs: [{ name: "LATENT", type: "LATENT", links: [7], slot_index: 0 }],
			properties: {},
59
			widgets_values: [156680208700286, true, 20, 8, "euler", "normal", 1],
pythongosssss's avatar
pythongosssss committed
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
		},
		{
			id: 8,
			type: "VAEDecode",
			pos: [1209, 188],
			size: { 0: 210, 1: 46 },
			flags: {},
			order: 5,
			mode: 0,
			inputs: [
				{ name: "samples", type: "LATENT", link: 7 },
				{ name: "vae", type: "VAE", link: 8 },
			],
			outputs: [{ name: "IMAGE", type: "IMAGE", links: [9], slot_index: 0 }],
			properties: {},
		},
		{
			id: 9,
			type: "SaveImage",
			pos: [1451, 189],
			size: { 0: 210, 1: 26 },
			flags: {},
			order: 6,
			mode: 0,
			inputs: [{ name: "images", type: "IMAGE", link: 9 }],
			properties: {},
		},
		{
			id: 4,
89
			type: "CheckpointLoaderSimple",
pythongosssss's avatar
pythongosssss committed
90
			pos: [26, 474],
91
			size: { 0: 315, 1: 98 },
pythongosssss's avatar
pythongosssss committed
92
93
94
95
96
97
98
99
100
			flags: {},
			order: 0,
			mode: 0,
			outputs: [
				{ name: "MODEL", type: "MODEL", links: [1], slot_index: 0 },
				{ name: "CLIP", type: "CLIP", links: [3, 5], slot_index: 1 },
				{ name: "VAE", type: "VAE", links: [8], slot_index: 2 },
			],
			properties: {},
101
			widgets_values: ["v1-5-pruned-emaonly.ckpt"],
pythongosssss's avatar
pythongosssss committed
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
		},
	],
	links: [
		[1, 4, 0, 3, 0, "MODEL"],
		[2, 5, 0, 3, 3, "LATENT"],
		[3, 4, 1, 6, 0, "CLIP"],
		[4, 6, 0, 3, 1, "CONDITIONING"],
		[5, 4, 1, 7, 0, "CLIP"],
		[6, 7, 0, 3, 2, "CONDITIONING"],
		[7, 3, 0, 8, 0, "LATENT"],
		[8, 4, 2, 8, 1, "VAE"],
		[9, 8, 0, 9, 0, "IMAGE"],
	],
	groups: [],
	config: {},
	extra: {},
	version: 0.4,
};