producbrmg / workflows /sketch-2d-3d.json
martintomov's picture
workflows
6286aa4 verified
{
"last_node_id": 27,
"last_link_id": 42,
"nodes": [
{
"id": 2,
"type": "LoraLoader",
"pos": [
482,
1322
],
"size": {
"0": 315,
"1": 126
},
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 1
},
{
"name": "clip",
"type": "CLIP",
"link": 2
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
3
],
"shape": 3,
"slot_index": 0
},
{
"name": "CLIP",
"type": "CLIP",
"links": [
4,
5
],
"shape": 3,
"slot_index": 1
}
],
"properties": {
"Node name for S&R": "LoraLoader"
},
"widgets_values": [
"sdxl_lightning_4step_lora.safetensors",
1,
1
]
},
{
"id": 6,
"type": "VAEEncode",
"pos": [
1106,
2245
],
"size": {
"0": 210,
"1": 46
},
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "pixels",
"type": "IMAGE",
"link": 16
},
{
"name": "vae",
"type": "VAE",
"link": 9
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
10
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEEncode"
}
},
{
"id": 5,
"type": "CLIPTextEncode",
"pos": [
911,
1945
],
"size": {
"0": 400,
"1": 200
},
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 5
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
7
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"photography, 3d, render, nsfw"
]
},
{
"id": 3,
"type": "KSampler",
"pos": [
1369,
1597
],
"size": {
"0": 315,
"1": 262
},
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 3
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 6
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 7
},
{
"name": "latent_image",
"type": "LATENT",
"link": 10
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
11
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "KSampler"
},
"widgets_values": [
415884463236364,
"randomize",
4,
1.3,
"dpmpp_2m_sde",
"sgm_uniform",
0.75
]
},
{
"id": 7,
"type": "VAEDecode",
"pos": [
1722,
1929
],
"size": {
"0": 210,
"1": 46
},
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 11
},
{
"name": "vae",
"type": "VAE",
"link": 12
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
13,
18
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEDecode"
}
},
{
"id": 1,
"type": "CheckpointLoaderSimple",
"pos": [
73,
1344
],
"size": {
"0": 315,
"1": 98
},
"flags": {},
"order": 0,
"mode": 0,
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
1
],
"shape": 3,
"slot_index": 0
},
{
"name": "CLIP",
"type": "CLIP",
"links": [
2
],
"shape": 3,
"slot_index": 1
},
{
"name": "VAE",
"type": "VAE",
"links": [
9,
12
],
"shape": 3,
"slot_index": 2
}
],
"properties": {
"Node name for S&R": "CheckpointLoaderSimple"
},
"widgets_values": [
"juggernautXL_v9Rdphoto2Lightning.safetensors"
]
},
{
"id": 12,
"type": "RemBGSession+",
"pos": [
1383,
2022
],
"size": {
"0": 315,
"1": 82
},
"flags": {},
"order": 1,
"mode": 0,
"outputs": [
{
"name": "REMBG_SESSION",
"type": "REMBG_SESSION",
"links": [
17
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "RemBGSession+"
},
"widgets_values": [
"u2net: general purpose",
"CoreML"
]
},
{
"id": 15,
"type": "MaskToImage",
"pos": [
1552,
2364
],
"size": {
"0": 210,
"1": 26
},
"flags": {},
"order": 15,
"mode": 0,
"inputs": [
{
"name": "mask",
"type": "MASK",
"link": 20
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
21
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "MaskToImage"
}
},
{
"id": 8,
"type": "PreviewImage",
"pos": [
2135,
1610
],
"size": {
"0": 507.9127502441406,
"1": 556.9450073242188
},
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 13
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 18,
"type": "TripoSRModelLoader",
"pos": [
2744,
1589
],
"size": {
"0": 315,
"1": 82
},
"flags": {},
"order": 2,
"mode": 0,
"outputs": [
{
"name": "TRIPOSR_MODEL",
"type": "TRIPOSR_MODEL",
"links": [
22
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "TripoSRModelLoader"
},
"widgets_values": [
"TripoSR.ckpt",
8192
]
},
{
"id": 19,
"type": "TripoSRSampler",
"pos": [
3125,
1748
],
"size": {
"0": 315,
"1": 122
},
"flags": {},
"order": 16,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "TRIPOSR_MODEL",
"link": 22
},
{
"name": "reference_image",
"type": "IMAGE",
"link": 39
},
{
"name": "reference_mask",
"type": "MASK",
"link": 40
}
],
"outputs": [
{
"name": "MESH",
"type": "MESH",
"links": [
25
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "TripoSRSampler"
},
"widgets_values": [
256,
25
]
},
{
"id": 13,
"type": "ImageRemoveBackground+",
"pos": [
1544,
2236
],
"size": {
"0": 241.79998779296875,
"1": 46
},
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "rembg_session",
"type": "REMBG_SESSION",
"link": 17
},
{
"name": "image",
"type": "IMAGE",
"link": 18
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
19,
39
],
"shape": 3,
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": [
20,
40
],
"shape": 3,
"slot_index": 1
}
],
"properties": {
"Node name for S&R": "ImageRemoveBackground+"
}
},
{
"id": 21,
"type": "TripoSRViewer",
"pos": [
3431,
2050
],
"size": [
600,
500
],
"flags": {},
"order": 18,
"mode": 0,
"inputs": [
{
"name": "mesh",
"type": "MESH",
"link": 25
}
],
"properties": {
"Node name for S&R": "TripoSRViewer"
},
"widgets_values": [
null
]
},
{
"id": 16,
"type": "PreviewImage",
"pos": [
2117,
2255
],
"size": {
"0": 494.79730224609375,
"1": 487.22802734375
},
"flags": {},
"order": 17,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 21
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 9,
"type": "PainterNode",
"pos": [
79,
1501
],
"size": [
718.5535278320312,
808.5535278320312
],
"flags": {
"collapsed": true
},
"order": 3,
"mode": 0,
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [],
"shape": 3,
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": null,
"shape": 3
}
],
"title": "PainterNode - 512x512",
"properties": {
"Node name for S&R": "PainterNode"
},
"widgets_values": [
"Paint_0.png",
"clear_painer",
null
]
},
{
"id": 11,
"type": "ImageResize+",
"pos": [
557,
1981
],
"size": {
"0": 315,
"1": 218
},
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 42
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
16
],
"shape": 3,
"slot_index": 0
},
{
"name": "width",
"type": "INT",
"links": null,
"shape": 3
},
{
"name": "height",
"type": "INT",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "ImageResize+"
},
"widgets_values": [
1024,
1024,
"nearest",
false,
"always",
0
]
},
{
"id": 14,
"type": "PreviewImage",
"pos": [
2682,
2057
],
"size": {
"0": 699.6116333007812,
"1": 709.3997802734375
},
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 19
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 4,
"type": "CLIPTextEncode",
"pos": [
912,
1665
],
"size": {
"0": 400,
"1": 200
},
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 4
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
6
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"game illustration, lighthouse in the middle of the ocean"
]
},
{
"id": 27,
"type": "LoadImage",
"pos": [
71,
1810
],
"size": {
"0": 421.1371765136719,
"1": 397.4779357910156
},
"flags": {},
"order": 4,
"mode": 0,
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
42
],
"shape": 3,
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"untitled.png",
"image"
]
}
],
"links": [
[
1,
1,
0,
2,
0,
"MODEL"
],
[
2,
1,
1,
2,
1,
"CLIP"
],
[
3,
2,
0,
3,
0,
"MODEL"
],
[
4,
2,
1,
4,
0,
"CLIP"
],
[
5,
2,
1,
5,
0,
"CLIP"
],
[
6,
4,
0,
3,
1,
"CONDITIONING"
],
[
7,
5,
0,
3,
2,
"CONDITIONING"
],
[
9,
1,
2,
6,
1,
"VAE"
],
[
10,
6,
0,
3,
3,
"LATENT"
],
[
11,
3,
0,
7,
0,
"LATENT"
],
[
12,
1,
2,
7,
1,
"VAE"
],
[
13,
7,
0,
8,
0,
"IMAGE"
],
[
16,
11,
0,
6,
0,
"IMAGE"
],
[
17,
12,
0,
13,
0,
"REMBG_SESSION"
],
[
18,
7,
0,
13,
1,
"IMAGE"
],
[
19,
13,
0,
14,
0,
"IMAGE"
],
[
20,
13,
1,
15,
0,
"MASK"
],
[
21,
15,
0,
16,
0,
"IMAGE"
],
[
22,
18,
0,
19,
0,
"TRIPOSR_MODEL"
],
[
25,
19,
0,
21,
0,
"MESH"
],
[
39,
13,
0,
19,
1,
"IMAGE"
],
[
40,
13,
1,
19,
2,
"MASK"
],
[
42,
27,
0,
11,
0,
"IMAGE"
]
],
"groups": [],
"config": {},
"extra": {},
"version": 0.4
}