1617 lines
36 KiB
JSON
1617 lines
36 KiB
JSON
{
|
|
"dependencies": {
|
|
"check_state": "unchecked",
|
|
"checked_at": null,
|
|
"missing": [],
|
|
"model_locations": "待目标机提供",
|
|
"models": [
|
|
"Flux\\flux-2-klein-9b-fp8.safetensors",
|
|
"birefnet.safetensors",
|
|
"full_encoder_small_decoder.safetensors",
|
|
"qwen_3_8b_fp8mixed.safetensors"
|
|
],
|
|
"node_packs": [],
|
|
"node_types": [
|
|
"10acc523-a688-4f33-a757-36bda7d2f3f8",
|
|
"8ea87164-1490-4e1f-9aac-72a5c0d6e806",
|
|
"CFGGuider",
|
|
"CLIPLoader",
|
|
"CLIPTextEncode",
|
|
"EmptyFlux2LatentImage",
|
|
"Flux2Scheduler",
|
|
"GetImageSize",
|
|
"ImageScaleToTotalPixels",
|
|
"InvertMask",
|
|
"JoinImageWithAlpha",
|
|
"KSamplerSelect",
|
|
"Label (rgthree)",
|
|
"LayerUtility: ImageScaleByAspectRatio V2",
|
|
"LoadBackgroundRemovalModel",
|
|
"LoadImage",
|
|
"RandomNoise",
|
|
"ReferenceLatent",
|
|
"RemoveBackground",
|
|
"SamplerCustomAdvanced",
|
|
"SaveImage",
|
|
"UNETLoader",
|
|
"VAEDecode",
|
|
"VAEEncode",
|
|
"VAELoader"
|
|
],
|
|
"source": null
|
|
},
|
|
"draft": true,
|
|
"errors": [
|
|
{
|
|
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
|
"symptom": "包含子图:需原 ComfyUI API 导出及差分核对"
|
|
},
|
|
{
|
|
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
|
"symptom": "待提供目标机节点定义:LoadImage"
|
|
},
|
|
{
|
|
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
|
"symptom": "待提供目标机节点定义:LoadImage"
|
|
},
|
|
{
|
|
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
|
"symptom": "待提供目标机节点定义:Label (rgthree)"
|
|
},
|
|
{
|
|
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
|
"symptom": "待提供目标机节点定义:10acc523-a688-4f33-a757-36bda7d2f3f8"
|
|
},
|
|
{
|
|
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
|
"symptom": "待提供目标机节点定义:8ea87164-1490-4e1f-9aac-72a5c0d6e806"
|
|
},
|
|
{
|
|
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
|
"symptom": "待提供目标机节点定义:Label (rgthree)"
|
|
},
|
|
{
|
|
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
|
"symptom": "待提供目标机节点定义:LayerUtility: ImageScaleByAspectRatio V2"
|
|
},
|
|
{
|
|
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
|
"symptom": "待提供目标机节点定义:SaveImage"
|
|
},
|
|
{
|
|
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
|
"symptom": "未得到可执行节点"
|
|
}
|
|
],
|
|
"io": {
|
|
"inputs": [],
|
|
"outputs": []
|
|
},
|
|
"materials": [],
|
|
"params": [],
|
|
"purpose": "源目录:example_ComfyUI_workflows/3-图像生成/Flux;工作流:flux2_klein_图生图_人物迁移。用途待逐节点复核。",
|
|
"snapshot_sha": "74234e98afe7498fb5daf1f36ac2d78acc339464f950703b8c019892f982b90b",
|
|
"source_links": [
|
|
{
|
|
"link": [
|
|
144,
|
|
70,
|
|
0,
|
|
52,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
"scope": ""
|
|
},
|
|
{
|
|
"link": [
|
|
215,
|
|
52,
|
|
0,
|
|
131,
|
|
4,
|
|
"IMAGE"
|
|
],
|
|
"scope": ""
|
|
},
|
|
{
|
|
"link": [
|
|
217,
|
|
131,
|
|
0,
|
|
43,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
"scope": ""
|
|
},
|
|
{
|
|
"link": [
|
|
219,
|
|
69,
|
|
0,
|
|
132,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
"scope": ""
|
|
},
|
|
{
|
|
"link": [
|
|
220,
|
|
132,
|
|
0,
|
|
131,
|
|
5,
|
|
"IMAGE"
|
|
],
|
|
"scope": ""
|
|
},
|
|
{
|
|
"link": {
|
|
"id": 139,
|
|
"origin_id": 106,
|
|
"origin_slot": 0,
|
|
"target_id": 114,
|
|
"target_slot": 0,
|
|
"type": "MODEL"
|
|
},
|
|
"scope": "10acc523-a688-4f33-a757-36bda7d2f3f8/"
|
|
},
|
|
{
|
|
"link": {
|
|
"id": 142,
|
|
"origin_id": 105,
|
|
"origin_slot": 0,
|
|
"target_id": 103,
|
|
"target_slot": 0,
|
|
"type": "NOISE"
|
|
},
|
|
"scope": "10acc523-a688-4f33-a757-36bda7d2f3f8/"
|
|
},
|
|
{
|
|
"link": {
|
|
"id": 143,
|
|
"origin_id": 114,
|
|
"origin_slot": 0,
|
|
"target_id": 103,
|
|
"target_slot": 1,
|
|
"type": "GUIDER"
|
|
},
|
|
"scope": "10acc523-a688-4f33-a757-36bda7d2f3f8/"
|
|
},
|
|
{
|
|
"link": {
|
|
"id": 144,
|
|
"origin_id": 102,
|
|
"origin_slot": 0,
|
|
"target_id": 103,
|
|
"target_slot": 2,
|
|
"type": "SAMPLER"
|
|
},
|
|
"scope": "10acc523-a688-4f33-a757-36bda7d2f3f8/"
|
|
},
|
|
{
|
|
"link": {
|
|
"id": 145,
|
|
"origin_id": 115,
|
|
"origin_slot": 0,
|
|
"target_id": 103,
|
|
"target_slot": 3,
|
|
"type": "SIGMAS"
|
|
},
|
|
"scope": "10acc523-a688-4f33-a757-36bda7d2f3f8/"
|
|
},
|
|
{
|
|
"link": {
|
|
"id": 146,
|
|
"origin_id": 109,
|
|
"origin_slot": 0,
|
|
"target_id": 103,
|
|
"target_slot": 4,
|
|
"type": "LATENT"
|
|
},
|
|
"scope": "10acc523-a688-4f33-a757-36bda7d2f3f8/"
|
|
},
|
|
{
|
|
"link": {
|
|
"id": 147,
|
|
"origin_id": 103,
|
|
"origin_slot": 0,
|
|
"target_id": 104,
|
|
"target_slot": 0,
|
|
"type": "LATENT"
|
|
},
|
|
"scope": "10acc523-a688-4f33-a757-36bda7d2f3f8/"
|
|
},
|
|
{
|
|
"link": {
|
|
"id": 148,
|
|
"origin_id": 107,
|
|
"origin_slot": 0,
|
|
"target_id": 104,
|
|
"target_slot": 1,
|
|
"type": "VAE"
|
|
},
|
|
"scope": "10acc523-a688-4f33-a757-36bda7d2f3f8/"
|
|
},
|
|
{
|
|
"link": {
|
|
"id": 151,
|
|
"origin_id": 111,
|
|
"origin_slot": 0,
|
|
"target_id": 113,
|
|
"target_slot": 0,
|
|
"type": "CLIP"
|
|
},
|
|
"scope": "10acc523-a688-4f33-a757-36bda7d2f3f8/"
|
|
},
|
|
{
|
|
"link": {
|
|
"id": 153,
|
|
"origin_id": 104,
|
|
"origin_slot": 0,
|
|
"target_id": -20,
|
|
"target_slot": 0,
|
|
"type": "IMAGE"
|
|
},
|
|
"scope": "10acc523-a688-4f33-a757-36bda7d2f3f8/"
|
|
},
|
|
{
|
|
"link": {
|
|
"id": 159,
|
|
"origin_id": -10,
|
|
"origin_slot": 0,
|
|
"target_id": 106,
|
|
"target_slot": 0,
|
|
"type": "COMBO"
|
|
},
|
|
"scope": "10acc523-a688-4f33-a757-36bda7d2f3f8/"
|
|
},
|
|
{
|
|
"link": {
|
|
"id": 160,
|
|
"origin_id": -10,
|
|
"origin_slot": 1,
|
|
"target_id": 111,
|
|
"target_slot": 0,
|
|
"type": "COMBO"
|
|
},
|
|
"scope": "10acc523-a688-4f33-a757-36bda7d2f3f8/"
|
|
},
|
|
{
|
|
"link": {
|
|
"id": 161,
|
|
"origin_id": -10,
|
|
"origin_slot": 2,
|
|
"target_id": 107,
|
|
"target_slot": 0,
|
|
"type": "COMBO"
|
|
},
|
|
"scope": "10acc523-a688-4f33-a757-36bda7d2f3f8/"
|
|
},
|
|
{
|
|
"link": {
|
|
"id": 162,
|
|
"origin_id": -10,
|
|
"origin_slot": 3,
|
|
"target_id": 113,
|
|
"target_slot": 1,
|
|
"type": "STRING"
|
|
},
|
|
"scope": "10acc523-a688-4f33-a757-36bda7d2f3f8/"
|
|
},
|
|
{
|
|
"link": {
|
|
"id": 170,
|
|
"origin_id": 110,
|
|
"origin_slot": 0,
|
|
"target_id": 108,
|
|
"target_slot": 0,
|
|
"type": "IMAGE"
|
|
},
|
|
"scope": "10acc523-a688-4f33-a757-36bda7d2f3f8/"
|
|
},
|
|
{
|
|
"link": {
|
|
"id": 171,
|
|
"origin_id": 108,
|
|
"origin_slot": 0,
|
|
"target_id": 115,
|
|
"target_slot": 1,
|
|
"type": "INT"
|
|
},
|
|
"scope": "10acc523-a688-4f33-a757-36bda7d2f3f8/"
|
|
},
|
|
{
|
|
"link": {
|
|
"id": 172,
|
|
"origin_id": 108,
|
|
"origin_slot": 0,
|
|
"target_id": 109,
|
|
"target_slot": 0,
|
|
"type": "INT"
|
|
},
|
|
"scope": "10acc523-a688-4f33-a757-36bda7d2f3f8/"
|
|
},
|
|
{
|
|
"link": {
|
|
"id": 173,
|
|
"origin_id": 108,
|
|
"origin_slot": 1,
|
|
"target_id": 115,
|
|
"target_slot": 2,
|
|
"type": "INT"
|
|
},
|
|
"scope": "10acc523-a688-4f33-a757-36bda7d2f3f8/"
|
|
},
|
|
{
|
|
"link": {
|
|
"id": 174,
|
|
"origin_id": 108,
|
|
"origin_slot": 1,
|
|
"target_id": 109,
|
|
"target_slot": 1,
|
|
"type": "INT"
|
|
},
|
|
"scope": "10acc523-a688-4f33-a757-36bda7d2f3f8/"
|
|
},
|
|
{
|
|
"link": {
|
|
"id": 175,
|
|
"origin_id": -10,
|
|
"origin_slot": 4,
|
|
"target_id": 110,
|
|
"target_slot": 0,
|
|
"type": "IMAGE"
|
|
},
|
|
"scope": "10acc523-a688-4f33-a757-36bda7d2f3f8/"
|
|
},
|
|
{
|
|
"link": {
|
|
"id": 186,
|
|
"origin_id": -10,
|
|
"origin_slot": 5,
|
|
"target_id": 85,
|
|
"target_slot": 0,
|
|
"type": "IMAGE"
|
|
},
|
|
"scope": "10acc523-a688-4f33-a757-36bda7d2f3f8/"
|
|
},
|
|
{
|
|
"link": {
|
|
"id": 189,
|
|
"origin_id": 111,
|
|
"origin_slot": 0,
|
|
"target_id": 87,
|
|
"target_slot": 0,
|
|
"type": "CLIP"
|
|
},
|
|
"scope": "10acc523-a688-4f33-a757-36bda7d2f3f8/"
|
|
},
|
|
{
|
|
"link": {
|
|
"id": 199,
|
|
"origin_id": 126,
|
|
"origin_slot": 0,
|
|
"target_id": 125,
|
|
"target_slot": 1,
|
|
"type": "LATENT"
|
|
},
|
|
"scope": "10acc523-a688-4f33-a757-36bda7d2f3f8/"
|
|
},
|
|
{
|
|
"link": {
|
|
"id": 200,
|
|
"origin_id": 126,
|
|
"origin_slot": 0,
|
|
"target_id": 127,
|
|
"target_slot": 1,
|
|
"type": "LATENT"
|
|
},
|
|
"scope": "10acc523-a688-4f33-a757-36bda7d2f3f8/"
|
|
},
|
|
{
|
|
"link": {
|
|
"id": 201,
|
|
"origin_id": 113,
|
|
"origin_slot": 0,
|
|
"target_id": 127,
|
|
"target_slot": 0,
|
|
"type": "CONDITIONING"
|
|
},
|
|
"scope": "10acc523-a688-4f33-a757-36bda7d2f3f8/"
|
|
},
|
|
{
|
|
"link": {
|
|
"id": 202,
|
|
"origin_id": 87,
|
|
"origin_slot": 0,
|
|
"target_id": 125,
|
|
"target_slot": 0,
|
|
"type": "CONDITIONING"
|
|
},
|
|
"scope": "10acc523-a688-4f33-a757-36bda7d2f3f8/"
|
|
},
|
|
{
|
|
"link": {
|
|
"id": 203,
|
|
"origin_id": 110,
|
|
"origin_slot": 0,
|
|
"target_id": 126,
|
|
"target_slot": 0,
|
|
"type": "IMAGE"
|
|
},
|
|
"scope": "10acc523-a688-4f33-a757-36bda7d2f3f8/"
|
|
},
|
|
{
|
|
"link": {
|
|
"id": 204,
|
|
"origin_id": 107,
|
|
"origin_slot": 0,
|
|
"target_id": 126,
|
|
"target_slot": 1,
|
|
"type": "VAE"
|
|
},
|
|
"scope": "10acc523-a688-4f33-a757-36bda7d2f3f8/"
|
|
},
|
|
{
|
|
"link": {
|
|
"id": 207,
|
|
"origin_id": 129,
|
|
"origin_slot": 0,
|
|
"target_id": 128,
|
|
"target_slot": 1,
|
|
"type": "LATENT"
|
|
},
|
|
"scope": "10acc523-a688-4f33-a757-36bda7d2f3f8/"
|
|
},
|
|
{
|
|
"link": {
|
|
"id": 208,
|
|
"origin_id": 129,
|
|
"origin_slot": 0,
|
|
"target_id": 130,
|
|
"target_slot": 1,
|
|
"type": "LATENT"
|
|
},
|
|
"scope": "10acc523-a688-4f33-a757-36bda7d2f3f8/"
|
|
},
|
|
{
|
|
"link": {
|
|
"id": 209,
|
|
"origin_id": 127,
|
|
"origin_slot": 0,
|
|
"target_id": 130,
|
|
"target_slot": 0,
|
|
"type": "CONDITIONING"
|
|
},
|
|
"scope": "10acc523-a688-4f33-a757-36bda7d2f3f8/"
|
|
},
|
|
{
|
|
"link": {
|
|
"id": 210,
|
|
"origin_id": 125,
|
|
"origin_slot": 0,
|
|
"target_id": 128,
|
|
"target_slot": 0,
|
|
"type": "CONDITIONING"
|
|
},
|
|
"scope": "10acc523-a688-4f33-a757-36bda7d2f3f8/"
|
|
},
|
|
{
|
|
"link": {
|
|
"id": 211,
|
|
"origin_id": 85,
|
|
"origin_slot": 0,
|
|
"target_id": 129,
|
|
"target_slot": 0,
|
|
"type": "IMAGE"
|
|
},
|
|
"scope": "10acc523-a688-4f33-a757-36bda7d2f3f8/"
|
|
},
|
|
{
|
|
"link": {
|
|
"id": 212,
|
|
"origin_id": 107,
|
|
"origin_slot": 0,
|
|
"target_id": 129,
|
|
"target_slot": 1,
|
|
"type": "VAE"
|
|
},
|
|
"scope": "10acc523-a688-4f33-a757-36bda7d2f3f8/"
|
|
},
|
|
{
|
|
"link": {
|
|
"id": 213,
|
|
"origin_id": 130,
|
|
"origin_slot": 0,
|
|
"target_id": 114,
|
|
"target_slot": 1,
|
|
"type": "CONDITIONING"
|
|
},
|
|
"scope": "10acc523-a688-4f33-a757-36bda7d2f3f8/"
|
|
},
|
|
{
|
|
"link": {
|
|
"id": 214,
|
|
"origin_id": 128,
|
|
"origin_slot": 0,
|
|
"target_id": 114,
|
|
"target_slot": 2,
|
|
"type": "CONDITIONING"
|
|
},
|
|
"scope": "10acc523-a688-4f33-a757-36bda7d2f3f8/"
|
|
},
|
|
{
|
|
"link": {
|
|
"id": 3,
|
|
"origin_id": 14,
|
|
"origin_slot": 0,
|
|
"target_id": 13,
|
|
"target_slot": 0,
|
|
"type": "BACKGROUND_REMOVAL"
|
|
},
|
|
"scope": "8ea87164-1490-4e1f-9aac-72a5c0d6e806/"
|
|
},
|
|
{
|
|
"link": {
|
|
"id": 4,
|
|
"origin_id": 13,
|
|
"origin_slot": 0,
|
|
"target_id": 15,
|
|
"target_slot": 0,
|
|
"type": "MASK"
|
|
},
|
|
"scope": "8ea87164-1490-4e1f-9aac-72a5c0d6e806/"
|
|
},
|
|
{
|
|
"link": {
|
|
"id": 6,
|
|
"origin_id": 15,
|
|
"origin_slot": 0,
|
|
"target_id": 16,
|
|
"target_slot": 1,
|
|
"type": "MASK"
|
|
},
|
|
"scope": "8ea87164-1490-4e1f-9aac-72a5c0d6e806/"
|
|
},
|
|
{
|
|
"link": {
|
|
"id": 5,
|
|
"origin_id": -10,
|
|
"origin_slot": 0,
|
|
"target_id": 13,
|
|
"target_slot": 1,
|
|
"type": "IMAGE"
|
|
},
|
|
"scope": "8ea87164-1490-4e1f-9aac-72a5c0d6e806/"
|
|
},
|
|
{
|
|
"link": {
|
|
"id": 7,
|
|
"origin_id": -10,
|
|
"origin_slot": 0,
|
|
"target_id": 16,
|
|
"target_slot": 0,
|
|
"type": "IMAGE"
|
|
},
|
|
"scope": "8ea87164-1490-4e1f-9aac-72a5c0d6e806/"
|
|
},
|
|
{
|
|
"link": {
|
|
"id": 8,
|
|
"origin_id": 16,
|
|
"origin_slot": 0,
|
|
"target_id": -20,
|
|
"target_slot": 0,
|
|
"type": "IMAGE"
|
|
},
|
|
"scope": "8ea87164-1490-4e1f-9aac-72a5c0d6e806/"
|
|
},
|
|
{
|
|
"link": {
|
|
"id": 11,
|
|
"origin_id": 13,
|
|
"origin_slot": 0,
|
|
"target_id": -20,
|
|
"target_slot": 1,
|
|
"type": "MASK"
|
|
},
|
|
"scope": "8ea87164-1490-4e1f-9aac-72a5c0d6e806/"
|
|
},
|
|
{
|
|
"link": {
|
|
"id": 12,
|
|
"origin_id": -10,
|
|
"origin_slot": 1,
|
|
"target_id": 14,
|
|
"target_slot": 0,
|
|
"type": "COMBO"
|
|
},
|
|
"scope": "8ea87164-1490-4e1f-9aac-72a5c0d6e806/"
|
|
}
|
|
],
|
|
"source_nodes": [
|
|
{
|
|
"class_type": "LoadImage",
|
|
"inputs": [
|
|
{
|
|
"localized_name": "图像",
|
|
"name": "image",
|
|
"type": "COMBO",
|
|
"widget": {
|
|
"name": "image"
|
|
}
|
|
},
|
|
{
|
|
"localized_name": "选择文件上传",
|
|
"name": "upload",
|
|
"type": "IMAGEUPLOAD",
|
|
"widget": {
|
|
"name": "upload"
|
|
}
|
|
}
|
|
],
|
|
"mode": 0,
|
|
"node_id": "70",
|
|
"source_values": [
|
|
"ComfyUI_00150_.png",
|
|
"image"
|
|
],
|
|
"title": null
|
|
},
|
|
{
|
|
"class_type": "LoadImage",
|
|
"inputs": [
|
|
{
|
|
"localized_name": "图像",
|
|
"name": "image",
|
|
"type": "COMBO",
|
|
"widget": {
|
|
"name": "image"
|
|
}
|
|
},
|
|
{
|
|
"localized_name": "选择文件上传",
|
|
"name": "upload",
|
|
"type": "IMAGEUPLOAD",
|
|
"widget": {
|
|
"name": "upload"
|
|
}
|
|
}
|
|
],
|
|
"mode": 0,
|
|
"node_id": "69",
|
|
"source_values": [
|
|
"ComfyUI_01759_.png",
|
|
"image"
|
|
],
|
|
"title": null
|
|
},
|
|
{
|
|
"class_type": "Label (rgthree)",
|
|
"inputs": [],
|
|
"mode": 0,
|
|
"node_id": "133",
|
|
"source_values": [],
|
|
"title": "Flux2-Klein 图生图 人物迁移"
|
|
},
|
|
{
|
|
"class_type": "10acc523-a688-4f33-a757-36bda7d2f3f8",
|
|
"inputs": [
|
|
{
|
|
"link": null,
|
|
"name": "unet_name",
|
|
"type": "COMBO",
|
|
"widget": {
|
|
"name": "unet_name"
|
|
}
|
|
},
|
|
{
|
|
"link": null,
|
|
"name": "clip_name",
|
|
"type": "COMBO",
|
|
"widget": {
|
|
"name": "clip_name"
|
|
}
|
|
},
|
|
{
|
|
"link": null,
|
|
"name": "vae_name",
|
|
"type": "COMBO",
|
|
"widget": {
|
|
"name": "vae_name"
|
|
}
|
|
},
|
|
{
|
|
"label": "prompt",
|
|
"link": null,
|
|
"name": "text",
|
|
"type": "STRING",
|
|
"widget": {
|
|
"name": "text"
|
|
}
|
|
},
|
|
{
|
|
"label": "reference_image1",
|
|
"link": 215,
|
|
"name": "image",
|
|
"type": "IMAGE"
|
|
},
|
|
{
|
|
"label": "reference_image2",
|
|
"link": 220,
|
|
"name": "image_1",
|
|
"type": "IMAGE"
|
|
}
|
|
],
|
|
"mode": 0,
|
|
"node_id": "131",
|
|
"source_values": [],
|
|
"title": null
|
|
},
|
|
{
|
|
"class_type": "8ea87164-1490-4e1f-9aac-72a5c0d6e806",
|
|
"inputs": [
|
|
{
|
|
"link": 219,
|
|
"localized_name": "image",
|
|
"name": "image",
|
|
"type": "IMAGE"
|
|
},
|
|
{
|
|
"link": null,
|
|
"name": "bg_removal_name",
|
|
"type": "COMBO",
|
|
"widget": {
|
|
"name": "bg_removal_name"
|
|
}
|
|
}
|
|
],
|
|
"mode": 0,
|
|
"node_id": "132",
|
|
"source_values": [],
|
|
"title": null
|
|
},
|
|
{
|
|
"class_type": "Label (rgthree)",
|
|
"inputs": [],
|
|
"mode": 0,
|
|
"node_id": "134",
|
|
"source_values": [],
|
|
"title": "by bright"
|
|
},
|
|
{
|
|
"class_type": "LayerUtility: ImageScaleByAspectRatio V2",
|
|
"inputs": [
|
|
{
|
|
"label": "图像",
|
|
"link": 144,
|
|
"localized_name": "图像",
|
|
"name": "image",
|
|
"shape": 7,
|
|
"type": "IMAGE"
|
|
},
|
|
{
|
|
"label": "遮罩",
|
|
"localized_name": "遮罩",
|
|
"name": "mask",
|
|
"shape": 7,
|
|
"type": "MASK"
|
|
},
|
|
{
|
|
"label": "宽高比",
|
|
"localized_name": "宽高比",
|
|
"name": "aspect_ratio",
|
|
"type": "COMBO",
|
|
"widget": {
|
|
"name": "aspect_ratio"
|
|
}
|
|
},
|
|
{
|
|
"label": "比例宽",
|
|
"localized_name": "比例宽度",
|
|
"name": "proportional_width",
|
|
"type": "INT",
|
|
"widget": {
|
|
"name": "proportional_width"
|
|
}
|
|
},
|
|
{
|
|
"label": "比例高",
|
|
"localized_name": "比例高度",
|
|
"name": "proportional_height",
|
|
"type": "INT",
|
|
"widget": {
|
|
"name": "proportional_height"
|
|
}
|
|
},
|
|
{
|
|
"label": "缩放模式",
|
|
"localized_name": "适应",
|
|
"name": "fit",
|
|
"type": "COMBO",
|
|
"widget": {
|
|
"name": "fit"
|
|
}
|
|
},
|
|
{
|
|
"label": "采样方法",
|
|
"localized_name": "方法",
|
|
"name": "method",
|
|
"type": "COMBO",
|
|
"widget": {
|
|
"name": "method"
|
|
}
|
|
},
|
|
{
|
|
"label": "倍数取整",
|
|
"localized_name": "四舍五入到倍数",
|
|
"name": "round_to_multiple",
|
|
"type": "COMBO",
|
|
"widget": {
|
|
"name": "round_to_multiple"
|
|
}
|
|
},
|
|
{
|
|
"label": "缩放到边",
|
|
"localized_name": "缩放至边",
|
|
"name": "scale_to_side",
|
|
"type": "COMBO",
|
|
"widget": {
|
|
"name": "scale_to_side"
|
|
}
|
|
},
|
|
{
|
|
"label": "缩放到长度",
|
|
"localized_name": "缩放至长度",
|
|
"name": "scale_to_length",
|
|
"type": "INT",
|
|
"widget": {
|
|
"name": "scale_to_length"
|
|
}
|
|
},
|
|
{
|
|
"localized_name": "背景颜色",
|
|
"name": "background_color",
|
|
"type": "STRING",
|
|
"widget": {
|
|
"name": "background_color"
|
|
}
|
|
}
|
|
],
|
|
"mode": 0,
|
|
"node_id": "52",
|
|
"source_values": [
|
|
"original",
|
|
1,
|
|
1,
|
|
"letterbox",
|
|
"lanczos",
|
|
"8",
|
|
"height",
|
|
1280,
|
|
"#000000"
|
|
],
|
|
"title": null
|
|
},
|
|
{
|
|
"class_type": "SaveImage",
|
|
"inputs": [
|
|
{
|
|
"label": "图像",
|
|
"link": 217,
|
|
"localized_name": "图片",
|
|
"name": "images",
|
|
"type": "IMAGE"
|
|
},
|
|
{
|
|
"localized_name": "文件名前缀",
|
|
"name": "filename_prefix",
|
|
"type": "STRING",
|
|
"widget": {
|
|
"name": "filename_prefix"
|
|
}
|
|
}
|
|
],
|
|
"mode": 0,
|
|
"node_id": "43",
|
|
"source_values": [
|
|
"Flux2-Klein"
|
|
],
|
|
"title": null
|
|
},
|
|
{
|
|
"class_type": "KSamplerSelect",
|
|
"inputs": [
|
|
{
|
|
"link": null,
|
|
"localized_name": "采样器名称",
|
|
"name": "sampler_name",
|
|
"type": "COMBO",
|
|
"widget": {
|
|
"name": "sampler_name"
|
|
}
|
|
}
|
|
],
|
|
"mode": 0,
|
|
"node_id": "10acc523-a688-4f33-a757-36bda7d2f3f8/102",
|
|
"source_values": [
|
|
"euler"
|
|
],
|
|
"title": null
|
|
},
|
|
{
|
|
"class_type": "SamplerCustomAdvanced",
|
|
"inputs": [
|
|
{
|
|
"link": 142,
|
|
"localized_name": "噪波",
|
|
"name": "noise",
|
|
"type": "NOISE"
|
|
},
|
|
{
|
|
"link": 143,
|
|
"localized_name": "引导器",
|
|
"name": "guider",
|
|
"type": "GUIDER"
|
|
},
|
|
{
|
|
"link": 144,
|
|
"localized_name": "采样器",
|
|
"name": "sampler",
|
|
"type": "SAMPLER"
|
|
},
|
|
{
|
|
"link": 145,
|
|
"localized_name": "西格玛",
|
|
"name": "sigmas",
|
|
"type": "SIGMAS"
|
|
},
|
|
{
|
|
"link": 146,
|
|
"localized_name": "Latent图像",
|
|
"name": "latent_image",
|
|
"type": "LATENT"
|
|
}
|
|
],
|
|
"mode": 0,
|
|
"node_id": "10acc523-a688-4f33-a757-36bda7d2f3f8/103",
|
|
"source_values": [],
|
|
"title": null
|
|
},
|
|
{
|
|
"class_type": "VAEDecode",
|
|
"inputs": [
|
|
{
|
|
"link": 147,
|
|
"localized_name": "Latent",
|
|
"name": "samples",
|
|
"type": "LATENT"
|
|
},
|
|
{
|
|
"link": 148,
|
|
"localized_name": "vae",
|
|
"name": "vae",
|
|
"type": "VAE"
|
|
}
|
|
],
|
|
"mode": 0,
|
|
"node_id": "10acc523-a688-4f33-a757-36bda7d2f3f8/104",
|
|
"source_values": [],
|
|
"title": null
|
|
},
|
|
{
|
|
"class_type": "RandomNoise",
|
|
"inputs": [
|
|
{
|
|
"link": null,
|
|
"localized_name": "噪波随机种",
|
|
"name": "noise_seed",
|
|
"type": "INT",
|
|
"widget": {
|
|
"name": "noise_seed"
|
|
}
|
|
}
|
|
],
|
|
"mode": 0,
|
|
"node_id": "10acc523-a688-4f33-a757-36bda7d2f3f8/105",
|
|
"source_values": [
|
|
192921483949477,
|
|
"randomize"
|
|
],
|
|
"title": null
|
|
},
|
|
{
|
|
"class_type": "UNETLoader",
|
|
"inputs": [
|
|
{
|
|
"link": 159,
|
|
"localized_name": "UNet名称",
|
|
"name": "unet_name",
|
|
"type": "COMBO",
|
|
"widget": {
|
|
"name": "unet_name"
|
|
}
|
|
},
|
|
{
|
|
"link": null,
|
|
"localized_name": "数据类型",
|
|
"name": "weight_dtype",
|
|
"type": "COMBO",
|
|
"widget": {
|
|
"name": "weight_dtype"
|
|
}
|
|
}
|
|
],
|
|
"mode": 0,
|
|
"node_id": "10acc523-a688-4f33-a757-36bda7d2f3f8/106",
|
|
"source_values": [
|
|
"Flux\\flux-2-klein-9b-fp8.safetensors",
|
|
"default"
|
|
],
|
|
"title": null
|
|
},
|
|
{
|
|
"class_type": "VAELoader",
|
|
"inputs": [
|
|
{
|
|
"link": 161,
|
|
"localized_name": "vae名称",
|
|
"name": "vae_name",
|
|
"type": "COMBO",
|
|
"widget": {
|
|
"name": "vae_name"
|
|
}
|
|
}
|
|
],
|
|
"mode": 0,
|
|
"node_id": "10acc523-a688-4f33-a757-36bda7d2f3f8/107",
|
|
"source_values": [
|
|
"full_encoder_small_decoder.safetensors"
|
|
],
|
|
"title": null
|
|
},
|
|
{
|
|
"class_type": "GetImageSize",
|
|
"inputs": [
|
|
{
|
|
"label": "图像",
|
|
"link": 170,
|
|
"localized_name": "图像",
|
|
"name": "image",
|
|
"type": "IMAGE"
|
|
}
|
|
],
|
|
"mode": 0,
|
|
"node_id": "10acc523-a688-4f33-a757-36bda7d2f3f8/108",
|
|
"source_values": [],
|
|
"title": null
|
|
},
|
|
{
|
|
"class_type": "EmptyFlux2LatentImage",
|
|
"inputs": [
|
|
{
|
|
"link": 172,
|
|
"localized_name": "width",
|
|
"name": "width",
|
|
"type": "INT",
|
|
"widget": {
|
|
"name": "width"
|
|
}
|
|
},
|
|
{
|
|
"link": 174,
|
|
"localized_name": "height",
|
|
"name": "height",
|
|
"type": "INT",
|
|
"widget": {
|
|
"name": "height"
|
|
}
|
|
},
|
|
{
|
|
"link": null,
|
|
"localized_name": "batch_size",
|
|
"name": "batch_size",
|
|
"type": "INT",
|
|
"widget": {
|
|
"name": "batch_size"
|
|
}
|
|
}
|
|
],
|
|
"mode": 0,
|
|
"node_id": "10acc523-a688-4f33-a757-36bda7d2f3f8/109",
|
|
"source_values": [
|
|
1024,
|
|
1024,
|
|
1
|
|
],
|
|
"title": null
|
|
},
|
|
{
|
|
"class_type": "ImageScaleToTotalPixels",
|
|
"inputs": [
|
|
{
|
|
"link": 175,
|
|
"localized_name": "图像",
|
|
"name": "image",
|
|
"type": "IMAGE"
|
|
},
|
|
{
|
|
"link": null,
|
|
"localized_name": "缩放算法",
|
|
"name": "upscale_method",
|
|
"type": "COMBO",
|
|
"widget": {
|
|
"name": "upscale_method"
|
|
}
|
|
},
|
|
{
|
|
"link": null,
|
|
"localized_name": "像素数量",
|
|
"name": "megapixels",
|
|
"type": "FLOAT",
|
|
"widget": {
|
|
"name": "megapixels"
|
|
}
|
|
},
|
|
{
|
|
"link": null,
|
|
"localized_name": "分辨率步数",
|
|
"name": "resolution_steps",
|
|
"type": "INT",
|
|
"widget": {
|
|
"name": "resolution_steps"
|
|
}
|
|
}
|
|
],
|
|
"mode": 0,
|
|
"node_id": "10acc523-a688-4f33-a757-36bda7d2f3f8/110",
|
|
"source_values": [
|
|
"lanczos",
|
|
1,
|
|
1
|
|
],
|
|
"title": null
|
|
},
|
|
{
|
|
"class_type": "ImageScaleToTotalPixels",
|
|
"inputs": [
|
|
{
|
|
"link": 186,
|
|
"localized_name": "图像",
|
|
"name": "image",
|
|
"type": "IMAGE"
|
|
},
|
|
{
|
|
"link": null,
|
|
"localized_name": "缩放算法",
|
|
"name": "upscale_method",
|
|
"type": "COMBO",
|
|
"widget": {
|
|
"name": "upscale_method"
|
|
}
|
|
},
|
|
{
|
|
"link": null,
|
|
"localized_name": "像素数量",
|
|
"name": "megapixels",
|
|
"type": "FLOAT",
|
|
"widget": {
|
|
"name": "megapixels"
|
|
}
|
|
},
|
|
{
|
|
"link": null,
|
|
"localized_name": "分辨率步数",
|
|
"name": "resolution_steps",
|
|
"type": "INT",
|
|
"widget": {
|
|
"name": "resolution_steps"
|
|
}
|
|
}
|
|
],
|
|
"mode": 0,
|
|
"node_id": "10acc523-a688-4f33-a757-36bda7d2f3f8/85",
|
|
"source_values": [
|
|
"lanczos",
|
|
1,
|
|
1
|
|
],
|
|
"title": null
|
|
},
|
|
{
|
|
"class_type": "CLIPLoader",
|
|
"inputs": [
|
|
{
|
|
"link": 160,
|
|
"localized_name": "CLIP名称",
|
|
"name": "clip_name",
|
|
"type": "COMBO",
|
|
"widget": {
|
|
"name": "clip_name"
|
|
}
|
|
},
|
|
{
|
|
"link": null,
|
|
"localized_name": "类型",
|
|
"name": "type",
|
|
"type": "COMBO",
|
|
"widget": {
|
|
"name": "type"
|
|
}
|
|
},
|
|
{
|
|
"link": null,
|
|
"localized_name": "设备",
|
|
"name": "device",
|
|
"shape": 7,
|
|
"type": "COMBO",
|
|
"widget": {
|
|
"name": "device"
|
|
}
|
|
}
|
|
],
|
|
"mode": 0,
|
|
"node_id": "10acc523-a688-4f33-a757-36bda7d2f3f8/111",
|
|
"source_values": [
|
|
"qwen_3_8b_fp8mixed.safetensors",
|
|
"flux2",
|
|
"default"
|
|
],
|
|
"title": null
|
|
},
|
|
{
|
|
"class_type": "CLIPTextEncode",
|
|
"inputs": [
|
|
{
|
|
"link": 151,
|
|
"localized_name": "clip",
|
|
"name": "clip",
|
|
"type": "CLIP"
|
|
},
|
|
{
|
|
"link": 162,
|
|
"localized_name": "文本",
|
|
"name": "text",
|
|
"type": "STRING",
|
|
"widget": {
|
|
"name": "text"
|
|
}
|
|
}
|
|
],
|
|
"mode": 0,
|
|
"node_id": "10acc523-a688-4f33-a757-36bda7d2f3f8/113",
|
|
"source_values": [
|
|
"把图2的人物替换图1的人物,只替换人物及服装,同时保持图1场景、动作不变,场景光效一致"
|
|
],
|
|
"title": "CLIP Text Encode (Positive Prompt)"
|
|
},
|
|
{
|
|
"class_type": "CLIPTextEncode",
|
|
"inputs": [
|
|
{
|
|
"link": 189,
|
|
"localized_name": "clip",
|
|
"name": "clip",
|
|
"type": "CLIP"
|
|
},
|
|
{
|
|
"link": null,
|
|
"localized_name": "文本",
|
|
"name": "text",
|
|
"type": "STRING",
|
|
"widget": {
|
|
"name": "text"
|
|
}
|
|
}
|
|
],
|
|
"mode": 0,
|
|
"node_id": "10acc523-a688-4f33-a757-36bda7d2f3f8/87",
|
|
"source_values": [
|
|
""
|
|
],
|
|
"title": "CLIP Text Encode ( Negative Prompt)"
|
|
},
|
|
{
|
|
"class_type": "CFGGuider",
|
|
"inputs": [
|
|
{
|
|
"link": 139,
|
|
"localized_name": "模型",
|
|
"name": "model",
|
|
"type": "MODEL"
|
|
},
|
|
{
|
|
"link": 213,
|
|
"localized_name": "正面条件",
|
|
"name": "positive",
|
|
"type": "CONDITIONING"
|
|
},
|
|
{
|
|
"link": 214,
|
|
"localized_name": "负面条件",
|
|
"name": "negative",
|
|
"type": "CONDITIONING"
|
|
},
|
|
{
|
|
"link": null,
|
|
"localized_name": "CFG",
|
|
"name": "cfg",
|
|
"type": "FLOAT",
|
|
"widget": {
|
|
"name": "cfg"
|
|
}
|
|
}
|
|
],
|
|
"mode": 0,
|
|
"node_id": "10acc523-a688-4f33-a757-36bda7d2f3f8/114",
|
|
"source_values": [
|
|
1
|
|
],
|
|
"title": null
|
|
},
|
|
{
|
|
"class_type": "Flux2Scheduler",
|
|
"inputs": [
|
|
{
|
|
"link": null,
|
|
"localized_name": "步数",
|
|
"name": "steps",
|
|
"type": "INT",
|
|
"widget": {
|
|
"name": "steps"
|
|
}
|
|
},
|
|
{
|
|
"link": 171,
|
|
"localized_name": "宽度",
|
|
"name": "width",
|
|
"type": "INT",
|
|
"widget": {
|
|
"name": "width"
|
|
}
|
|
},
|
|
{
|
|
"link": 173,
|
|
"localized_name": "高度",
|
|
"name": "height",
|
|
"type": "INT",
|
|
"widget": {
|
|
"name": "height"
|
|
}
|
|
}
|
|
],
|
|
"mode": 0,
|
|
"node_id": "10acc523-a688-4f33-a757-36bda7d2f3f8/115",
|
|
"source_values": [
|
|
4,
|
|
1024,
|
|
1024
|
|
],
|
|
"title": null
|
|
},
|
|
{
|
|
"class_type": "ReferenceLatent",
|
|
"inputs": [
|
|
{
|
|
"link": 202,
|
|
"localized_name": "条件",
|
|
"name": "conditioning",
|
|
"type": "CONDITIONING"
|
|
},
|
|
{
|
|
"link": 199,
|
|
"localized_name": "Latent",
|
|
"name": "latent",
|
|
"shape": 7,
|
|
"type": "LATENT"
|
|
}
|
|
],
|
|
"mode": 0,
|
|
"node_id": "10acc523-a688-4f33-a757-36bda7d2f3f8/125",
|
|
"source_values": [],
|
|
"title": null
|
|
},
|
|
{
|
|
"class_type": "VAEEncode",
|
|
"inputs": [
|
|
{
|
|
"link": 203,
|
|
"localized_name": "像素",
|
|
"name": "pixels",
|
|
"type": "IMAGE"
|
|
},
|
|
{
|
|
"link": 204,
|
|
"localized_name": "vae",
|
|
"name": "vae",
|
|
"type": "VAE"
|
|
}
|
|
],
|
|
"mode": 0,
|
|
"node_id": "10acc523-a688-4f33-a757-36bda7d2f3f8/126",
|
|
"source_values": [],
|
|
"title": null
|
|
},
|
|
{
|
|
"class_type": "ReferenceLatent",
|
|
"inputs": [
|
|
{
|
|
"link": 201,
|
|
"localized_name": "条件",
|
|
"name": "conditioning",
|
|
"type": "CONDITIONING"
|
|
},
|
|
{
|
|
"link": 200,
|
|
"localized_name": "Latent",
|
|
"name": "latent",
|
|
"shape": 7,
|
|
"type": "LATENT"
|
|
}
|
|
],
|
|
"mode": 0,
|
|
"node_id": "10acc523-a688-4f33-a757-36bda7d2f3f8/127",
|
|
"source_values": [],
|
|
"title": null
|
|
},
|
|
{
|
|
"class_type": "ReferenceLatent",
|
|
"inputs": [
|
|
{
|
|
"link": 210,
|
|
"localized_name": "条件",
|
|
"name": "conditioning",
|
|
"type": "CONDITIONING"
|
|
},
|
|
{
|
|
"link": 207,
|
|
"localized_name": "Latent",
|
|
"name": "latent",
|
|
"shape": 7,
|
|
"type": "LATENT"
|
|
}
|
|
],
|
|
"mode": 0,
|
|
"node_id": "10acc523-a688-4f33-a757-36bda7d2f3f8/128",
|
|
"source_values": [],
|
|
"title": null
|
|
},
|
|
{
|
|
"class_type": "VAEEncode",
|
|
"inputs": [
|
|
{
|
|
"link": 211,
|
|
"localized_name": "像素",
|
|
"name": "pixels",
|
|
"type": "IMAGE"
|
|
},
|
|
{
|
|
"link": 212,
|
|
"localized_name": "vae",
|
|
"name": "vae",
|
|
"type": "VAE"
|
|
}
|
|
],
|
|
"mode": 0,
|
|
"node_id": "10acc523-a688-4f33-a757-36bda7d2f3f8/129",
|
|
"source_values": [],
|
|
"title": null
|
|
},
|
|
{
|
|
"class_type": "ReferenceLatent",
|
|
"inputs": [
|
|
{
|
|
"link": 209,
|
|
"localized_name": "条件",
|
|
"name": "conditioning",
|
|
"type": "CONDITIONING"
|
|
},
|
|
{
|
|
"link": 208,
|
|
"localized_name": "Latent",
|
|
"name": "latent",
|
|
"shape": 7,
|
|
"type": "LATENT"
|
|
}
|
|
],
|
|
"mode": 0,
|
|
"node_id": "10acc523-a688-4f33-a757-36bda7d2f3f8/130",
|
|
"source_values": [],
|
|
"title": null
|
|
},
|
|
{
|
|
"class_type": "RemoveBackground",
|
|
"inputs": [
|
|
{
|
|
"link": 3,
|
|
"localized_name": "背景移除模型",
|
|
"name": "bg_removal_model",
|
|
"type": "BACKGROUND_REMOVAL"
|
|
},
|
|
{
|
|
"link": 5,
|
|
"localized_name": "图像",
|
|
"name": "image",
|
|
"type": "IMAGE"
|
|
}
|
|
],
|
|
"mode": 0,
|
|
"node_id": "8ea87164-1490-4e1f-9aac-72a5c0d6e806/13",
|
|
"source_values": [],
|
|
"title": null
|
|
},
|
|
{
|
|
"class_type": "LoadBackgroundRemovalModel",
|
|
"inputs": [
|
|
{
|
|
"link": 12,
|
|
"localized_name": "背景移除模型名称",
|
|
"name": "bg_removal_name",
|
|
"type": "COMBO",
|
|
"widget": {
|
|
"name": "bg_removal_name"
|
|
}
|
|
}
|
|
],
|
|
"mode": 0,
|
|
"node_id": "8ea87164-1490-4e1f-9aac-72a5c0d6e806/14",
|
|
"source_values": [
|
|
"birefnet.safetensors"
|
|
],
|
|
"title": null
|
|
},
|
|
{
|
|
"class_type": "InvertMask",
|
|
"inputs": [
|
|
{
|
|
"link": 4,
|
|
"localized_name": "遮罩",
|
|
"name": "mask",
|
|
"type": "MASK"
|
|
}
|
|
],
|
|
"mode": 0,
|
|
"node_id": "8ea87164-1490-4e1f-9aac-72a5c0d6e806/15",
|
|
"source_values": [],
|
|
"title": null
|
|
},
|
|
{
|
|
"class_type": "JoinImageWithAlpha",
|
|
"inputs": [
|
|
{
|
|
"link": 7,
|
|
"localized_name": "图像",
|
|
"name": "image",
|
|
"type": "IMAGE"
|
|
},
|
|
{
|
|
"link": 6,
|
|
"localized_name": "阿尔法",
|
|
"name": "alpha",
|
|
"type": "MASK"
|
|
}
|
|
],
|
|
"mode": 0,
|
|
"node_id": "8ea87164-1490-4e1f-9aac-72a5c0d6e806/16",
|
|
"source_values": [],
|
|
"title": null
|
|
}
|
|
],
|
|
"source_notes": [],
|
|
"source_path": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein_图生图_人物迁移.json",
|
|
"status": {
|
|
"doc_done": false,
|
|
"exec_verified": false,
|
|
"imported": true
|
|
},
|
|
"steps": [
|
|
"打开源工作流 example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein_图生图_人物迁移.json,逐项核对下列源节点与注释。",
|
|
"补齐节点定义、模型来源及所需素材;完成输入输出映射核对。",
|
|
"明确触发真实测试后核对产物;本批未提交生成任务。"
|
|
],
|
|
"title": "flux2_klein_图生图_人物迁移"
|
|
}
|