Eight canonical examples rebuilt on the typed PHOTA_PROFILE sockets (generate, edit, train_then_generate, profile_gallery, two_subjects, character_sheet, ugc_product_shot, video_keyframes). Drops the redundant profile_preview/edit_chain/comic_strip. All JSON now comes from scripts/build_example_workflows.py, which also emits a numbered, selector-prefilled demo set for live demos. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
195 lines
3.1 KiB
JSON
195 lines
3.1 KiB
JSON
{
|
|
"last_node_id": 4,
|
|
"last_link_id": 3,
|
|
"nodes": [
|
|
{
|
|
"id": 1,
|
|
"type": "LoadImage",
|
|
"pos": [
|
|
40,
|
|
160
|
|
],
|
|
"size": [
|
|
320,
|
|
310
|
|
],
|
|
"flags": {},
|
|
"order": 0,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [
|
|
{
|
|
"name": "IMAGE",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
1
|
|
],
|
|
"slot_index": 0
|
|
},
|
|
{
|
|
"name": "MASK",
|
|
"type": "MASK",
|
|
"links": null,
|
|
"slot_index": 1
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "LoadImage"
|
|
},
|
|
"widgets_values": [
|
|
"example.png",
|
|
"image"
|
|
],
|
|
"title": "Photo to edit"
|
|
},
|
|
{
|
|
"id": 2,
|
|
"type": "PhotaProfileSelector",
|
|
"pos": [
|
|
40,
|
|
540
|
|
],
|
|
"size": [
|
|
380,
|
|
130
|
|
],
|
|
"flags": {},
|
|
"order": 1,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [
|
|
{
|
|
"name": "profile_id",
|
|
"type": "STRING",
|
|
"links": null,
|
|
"slot_index": 0
|
|
},
|
|
{
|
|
"name": "profile",
|
|
"type": "PHOTA_PROFILE",
|
|
"links": [
|
|
2
|
|
],
|
|
"slot_index": 1
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "PhotaProfileSelector"
|
|
},
|
|
"widgets_values": [
|
|
"(no profiles found \u2014 train one or paste an ID below)",
|
|
""
|
|
],
|
|
"title": "Profile (keeps their identity)"
|
|
},
|
|
{
|
|
"id": 3,
|
|
"type": "PhotaEdit",
|
|
"pos": [
|
|
480,
|
|
240
|
|
],
|
|
"size": [
|
|
420,
|
|
380
|
|
],
|
|
"flags": {},
|
|
"order": 2,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "image",
|
|
"type": "IMAGE",
|
|
"link": 1
|
|
},
|
|
{
|
|
"name": "subject_1",
|
|
"type": "PHOTA_PROFILE",
|
|
"link": 2
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "IMAGE",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
3
|
|
],
|
|
"slot_index": 0
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "PhotaEdit"
|
|
},
|
|
"widgets_values": [
|
|
"Make this photo more vibrant.",
|
|
1,
|
|
"auto",
|
|
"1K",
|
|
"auto",
|
|
"",
|
|
"",
|
|
"auto"
|
|
]
|
|
},
|
|
{
|
|
"id": 4,
|
|
"type": "SaveImage",
|
|
"pos": [
|
|
960,
|
|
240
|
|
],
|
|
"size": [
|
|
320,
|
|
280
|
|
],
|
|
"flags": {},
|
|
"order": 3,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "images",
|
|
"type": "IMAGE",
|
|
"link": 3
|
|
}
|
|
],
|
|
"outputs": [],
|
|
"properties": {
|
|
"Node name for S&R": "SaveImage"
|
|
},
|
|
"widgets_values": [
|
|
"phota_edit"
|
|
]
|
|
}
|
|
],
|
|
"links": [
|
|
[
|
|
1,
|
|
1,
|
|
0,
|
|
3,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
2,
|
|
2,
|
|
1,
|
|
3,
|
|
1,
|
|
"PHOTA_PROFILE"
|
|
],
|
|
[
|
|
3,
|
|
3,
|
|
0,
|
|
4,
|
|
0,
|
|
"IMAGE"
|
|
]
|
|
],
|
|
"groups": [],
|
|
"config": {},
|
|
"extra": {},
|
|
"version": 0.4
|
|
} |