feat(examples): add sampler combo workflow example

This commit is contained in:
Vito Sansevero
2025-06-15 08:39:19 -07:00
parent 5af7a56409
commit c7e02a4565
@@ -0,0 +1,317 @@
{
"last_node_id": 10,
"last_link_id": 10,
"nodes": [
{
"id": 1,
"type": "SamplerCombo",
"pos": [100, 100],
"size": [300, 200],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "sampler_name",
"type": "COMBO",
"links": [1],
"shape": 3,
"slot_index": 0
},
{
"name": "scheduler",
"type": "COMBO",
"links": [2],
"shape": 3,
"slot_index": 1
},
{
"name": "steps",
"type": "INT",
"links": [3],
"shape": 3,
"slot_index": 2
},
{
"name": "cfg",
"type": "FLOAT",
"links": [4],
"shape": 3,
"slot_index": 3
}
],
"properties": {
"Node name for S&R": "SamplerCombo"
},
"widgets_values": [
"dpmpp_2m",
"karras",
25,
7.5
],
"title": "Sampler Combo"
},
{
"id": 2,
"type": "CheckpointLoaderSimple",
"pos": [100, 350],
"size": [315, 98],
"flags": {},
"order": 1,
"mode": 0,
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [5],
"shape": 3,
"slot_index": 0
},
{
"name": "CLIP",
"type": "CLIP",
"links": [6, 7],
"shape": 3,
"slot_index": 1
},
{
"name": "VAE",
"type": "VAE",
"links": [8],
"shape": 3,
"slot_index": 2
}
],
"properties": {
"Node name for S&R": "CheckpointLoaderSimple"
},
"widgets_values": [
"flux1-dev.safetensors"
]
},
{
"id": 3,
"type": "CLIPTextEncode",
"pos": [450, 100],
"size": [400, 200],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 6
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [9],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"A beautiful sunset over mountains, highly detailed, photorealistic"
],
"title": "Positive Prompt"
},
{
"id": 4,
"type": "CLIPTextEncode",
"pos": [450, 350],
"size": [400, 200],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 7
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [10],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"blurry, low quality, distorted"
],
"title": "Negative Prompt"
},
{
"id": 5,
"type": "EmptyLatentImage",
"pos": [100, 500],
"size": [315, 106],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [11],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "EmptyLatentImage"
},
"widgets_values": [
1024,
1024,
1
]
},
{
"id": 6,
"type": "KSampler",
"pos": [900, 100],
"size": [315, 262],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 5
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 9
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 10
},
{
"name": "latent_image",
"type": "LATENT",
"link": 11
},
{
"name": "sampler_name",
"type": "COMBO",
"link": 1
},
{
"name": "scheduler",
"type": "COMBO",
"link": 2
},
{
"name": "steps",
"type": "INT",
"link": 3
},
{
"name": "cfg",
"type": "FLOAT",
"link": 4
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [12],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "KSampler"
},
"widgets_values": [
12345,
"randomize",
20,
7.0,
"euler",
"normal",
1.0
],
"title": "KSampler (using Sampler Combo)"
},
{
"id": 7,
"type": "VAEDecode",
"pos": [1250, 100],
"size": [210, 46],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 12
},
{
"name": "vae",
"type": "VAE",
"link": 8
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEDecode"
}
}
],
"links": [
[1, 1, 0, 6, 4, "COMBO"],
[2, 1, 1, 6, 5, "COMBO"],
[3, 1, 2, 6, 6, "INT"],
[4, 1, 3, 6, 7, "FLOAT"],
[5, 2, 0, 6, 0, "MODEL"],
[6, 2, 1, 3, 0, "CLIP"],
[7, 2, 1, 4, 0, "CLIP"],
[8, 2, 2, 7, 1, "VAE"],
[9, 3, 0, 6, 1, "CONDITIONING"],
[10, 4, 0, 6, 2, "CONDITIONING"],
[11, 5, 0, 6, 3, "LATENT"],
[12, 6, 0, 7, 0, "LATENT"]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 0.8264462809917355,
"offset": [
-49.66116272043009,
-10.826446280991736
]
}
},
"version": 0.4
}