Convert primitive nodes

This commit is contained in:
space-nuko
2023-05-21 17:35:07 -05:00
parent a3c10d5be9
commit 9c4e5cea94
3 changed files with 325 additions and 36 deletions

View File

@@ -0,0 +1,135 @@
{
"last_node_id": 2,
"last_link_id": 1,
"nodes": [
{
"id": 1,
"type": "KSampler",
"pos": [
843,
567
],
"size": [
315,
262
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": null
},
{
"name": "positive",
"type": "CONDITIONING",
"link": null
},
{
"name": "negative",
"type": "CONDITIONING",
"link": null
},
{
"name": "latent_image",
"type": "LATENT",
"link": null
},
{
"name": "cfg",
"type": "FLOAT",
"link": 1,
"widget": {
"name": "cfg",
"config": [
"FLOAT",
{
"default": 8,
"min": 0,
"max": 100
}
]
},
"slot_index": 4
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "KSampler"
},
"widgets_values": [
0,
"randomize",
20,
8,
"euler",
"normal",
1
]
},
{
"id": 2,
"type": "PrimitiveNode",
"pos": [
506,
637
],
"size": {
"0": 210,
"1": 82
},
"flags": {},
"order": 0,
"mode": 0,
"outputs": [
{
"name": "FLOAT",
"type": "FLOAT",
"links": [
1
],
"slot_index": 0,
"widget": {
"name": "cfg",
"config": [
"FLOAT",
{
"default": 8,
"min": 0,
"max": 100
}
]
}
}
],
"properties": {},
"widgets_values": [
8,
"fixed"
]
}
],
"links": [
[
1,
2,
0,
1,
4,
"FLOAT"
]
],
"groups": [],
"config": {},
"extra": {},
"version": 0.4
}