ComfyGen: shared generator tools (images, portraits, vintage, video, audio, voice)
Moved from YourlifeisGame/Spritegenerator; projects are found via _bootstrap.py (cwd or --project) and provide config.py plus list modules. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
19
workflows/default.json
Normal file
19
workflows/default.json
Normal file
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"1": {"class_type": "CheckpointLoaderSimple", "inputs": {"ckpt_name": "{{CHECKPOINT}}"}},
|
||||
"2": {"class_type": "CLIPTextEncode", "inputs": {"text": "{{POSITIVE}}", "clip": ["1", 1]}},
|
||||
"3": {"class_type": "CLIPTextEncode", "inputs": {"text": "{{NEGATIVE}}", "clip": ["1", 1]}},
|
||||
"4": {"class_type": "EmptyLatentImage", "inputs": {"width": 1024, "height": 1024, "batch_size": 1}},
|
||||
"5": {"class_type": "KSampler", "inputs": {
|
||||
"model": ["1", 0], "positive": ["2", 0], "negative": ["3", 0], "latent_image": ["4", 0],
|
||||
"seed": {{SEED}}, "steps": 32, "cfg": 6.5, "sampler_name": "dpmpp_2m", "scheduler": "karras", "denoise": 1.0
|
||||
}},
|
||||
"6": {"class_type": "VAEDecode", "inputs": {"samples": ["5", 0], "vae": ["1", 2]}},
|
||||
"7": {"class_type": "SaveImage", "inputs": {"images": ["6", 0], "filename_prefix": "{{NAME}}_raw"}},
|
||||
"8": {"class_type": "Image Rembg (Remove Background)", "inputs": {
|
||||
"images": ["6", 0], "transparency": true, "model": "isnet-general-use",
|
||||
"post_processing": true, "only_mask": false, "alpha_matting": false,
|
||||
"alpha_matting_foreground_threshold": 240, "alpha_matting_background_threshold": 10,
|
||||
"alpha_matting_erode_size": 10, "background_color": "none"
|
||||
}},
|
||||
"9": {"class_type": "SaveImage", "inputs": {"images": ["8", 0], "filename_prefix": "{{NAME}}_cutout"}}
|
||||
}
|
||||
Reference in New Issue
Block a user