mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-01-26 06:10:15 +08:00
example prompt
This commit is contained in:
parent
130378c449
commit
87158e6365
@ -504,68 +504,67 @@ components:
|
|||||||
type: object
|
type: object
|
||||||
example: {
|
example: {
|
||||||
"3": {
|
"3": {
|
||||||
"class_type": "KSampler",
|
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"cfg": 8,
|
"seed": 732984013877771,
|
||||||
|
"steps": 25,
|
||||||
|
"cfg": 100,
|
||||||
|
"sampler_name": "euler_ancestral",
|
||||||
|
"scheduler": "normal",
|
||||||
"denoise": 1,
|
"denoise": 1,
|
||||||
"latent_image": [
|
|
||||||
"5",
|
|
||||||
0
|
|
||||||
],
|
|
||||||
"model": [
|
"model": [
|
||||||
"4",
|
"10",
|
||||||
0
|
|
||||||
],
|
|
||||||
"negative": [
|
|
||||||
"7",
|
|
||||||
0
|
0
|
||||||
],
|
],
|
||||||
"positive": [
|
"positive": [
|
||||||
"6",
|
"6",
|
||||||
0
|
0
|
||||||
],
|
],
|
||||||
"sampler_name": "euler",
|
"negative": [
|
||||||
"scheduler": "normal",
|
"7",
|
||||||
"seed": 8566257,
|
0
|
||||||
"steps": 20
|
],
|
||||||
}
|
"latent_image": [
|
||||||
|
"5",
|
||||||
|
0
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"class_type": "KSampler"
|
||||||
},
|
},
|
||||||
"4": {
|
"4": {
|
||||||
"class_type": "CheckpointLoaderSimple",
|
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"ckpt_name": "v1-5-pruned-emaonly.ckpt"
|
"ckpt_name": "sd_xl_base_1.0.safetensors"
|
||||||
}
|
},
|
||||||
|
"class_type": "CheckpointLoaderSimple"
|
||||||
},
|
},
|
||||||
"5": {
|
"5": {
|
||||||
"class_type": "EmptyLatentImage",
|
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"batch_size": 1,
|
"width": 512,
|
||||||
"height": 512,
|
"height": 512,
|
||||||
"width": 512
|
"batch_size": 1
|
||||||
}
|
},
|
||||||
|
"class_type": "EmptyLatentImage"
|
||||||
},
|
},
|
||||||
"6": {
|
"6": {
|
||||||
"class_type": "CLIPTextEncode",
|
|
||||||
"inputs": {
|
"inputs": {
|
||||||
|
"text": "$POSITIVE_TEXT",
|
||||||
"clip": [
|
"clip": [
|
||||||
"4",
|
"10",
|
||||||
1
|
1
|
||||||
],
|
]
|
||||||
"text": "masterpiece best quality girl"
|
},
|
||||||
}
|
"class_type": "CLIPTextEncode"
|
||||||
},
|
},
|
||||||
"7": {
|
"7": {
|
||||||
"class_type": "CLIPTextEncode",
|
|
||||||
"inputs": {
|
"inputs": {
|
||||||
|
"text": "$NEGATIVE_TEXT",
|
||||||
"clip": [
|
"clip": [
|
||||||
"4",
|
"10",
|
||||||
1
|
1
|
||||||
],
|
]
|
||||||
"text": "bad hands"
|
},
|
||||||
}
|
"class_type": "CLIPTextEncode"
|
||||||
},
|
},
|
||||||
"8": {
|
"8": {
|
||||||
"class_type": "VAEDecode",
|
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"samples": [
|
"samples": [
|
||||||
"3",
|
"3",
|
||||||
@ -575,17 +574,107 @@ components:
|
|||||||
"4",
|
"4",
|
||||||
2
|
2
|
||||||
]
|
]
|
||||||
}
|
},
|
||||||
|
"class_type": "VAEDecode"
|
||||||
},
|
},
|
||||||
"9": {
|
"10": {
|
||||||
"class_type": "SaveImage",
|
"inputs": {
|
||||||
|
"lora_name": "pixel-art-xl-v1.1.safetensors",
|
||||||
|
"strength_model": 1,
|
||||||
|
"strength_clip": 1,
|
||||||
|
"model": [
|
||||||
|
"4",
|
||||||
|
0
|
||||||
|
],
|
||||||
|
"clip": [
|
||||||
|
"4",
|
||||||
|
1
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"class_type": "LoraLoader"
|
||||||
|
},
|
||||||
|
"15": {
|
||||||
|
"inputs": {
|
||||||
|
"images": [
|
||||||
|
"26",
|
||||||
|
0
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"class_type": "PreviewImage"
|
||||||
|
},
|
||||||
|
"16": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"filename_prefix": "ComfyUI",
|
|
||||||
"images": [
|
"images": [
|
||||||
"8",
|
"8",
|
||||||
0
|
0
|
||||||
]
|
]
|
||||||
}
|
},
|
||||||
|
"class_type": "PreviewImage"
|
||||||
|
},
|
||||||
|
"18": {
|
||||||
|
"inputs": {
|
||||||
|
"upscale_method": "nearest-exact",
|
||||||
|
"scale_by": 0.125,
|
||||||
|
"image": [
|
||||||
|
"8",
|
||||||
|
0
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"class_type": "ImageScaleBy"
|
||||||
|
},
|
||||||
|
"19": {
|
||||||
|
"inputs": {
|
||||||
|
"threshold": 250,
|
||||||
|
"mask": [
|
||||||
|
"21",
|
||||||
|
0
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"class_type": "BinarizeMask"
|
||||||
|
},
|
||||||
|
"21": {
|
||||||
|
"inputs": {
|
||||||
|
"model": "u2net",
|
||||||
|
"image": [
|
||||||
|
"18",
|
||||||
|
0
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"class_type": "ImageEstimateForegroundMask"
|
||||||
|
},
|
||||||
|
"25": {
|
||||||
|
"inputs": {
|
||||||
|
"upscale_method": "nearest-exact",
|
||||||
|
"scale_by": 8,
|
||||||
|
"image": [
|
||||||
|
"26",
|
||||||
|
0
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"class_type": "ImageScaleBy"
|
||||||
|
},
|
||||||
|
"26": {
|
||||||
|
"inputs": {
|
||||||
|
"image": [
|
||||||
|
"18",
|
||||||
|
0
|
||||||
|
],
|
||||||
|
"mask": [
|
||||||
|
"19",
|
||||||
|
0
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"class_type": "ImageCutout"
|
||||||
|
},
|
||||||
|
"27": {
|
||||||
|
"inputs": {
|
||||||
|
"filename_prefix": "Downscale",
|
||||||
|
"images": [
|
||||||
|
"25",
|
||||||
|
0
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"class_type": "SaveImage"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
description: |
|
description: |
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user