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:
1
workflows/3d modell.json
Normal file
1
workflows/3d modell.json
Normal file
File diff suppressed because one or more lines are too long
81
workflows/Image to 3D - Hunyuan3D.json
Normal file
81
workflows/Image to 3D - Hunyuan3D.json
Normal file
@@ -0,0 +1,81 @@
|
||||
{
|
||||
"1": {
|
||||
"class_type": "ImageOnlyCheckpointLoader",
|
||||
"inputs": {
|
||||
"ckpt_name": "{{CHECKPOINT}}"
|
||||
}
|
||||
},
|
||||
"2": {
|
||||
"class_type": "LoadImage",
|
||||
"inputs": {
|
||||
"image": "{{IMAGE}}"
|
||||
}
|
||||
},
|
||||
"3": {
|
||||
"class_type": "ModelSamplingAuraFlow",
|
||||
"inputs": {
|
||||
"model": ["1", 0],
|
||||
"shift": 1.0
|
||||
}
|
||||
},
|
||||
"13": {
|
||||
"class_type": "CLIPVisionEncode",
|
||||
"inputs": {
|
||||
"clip_vision": ["1", 1],
|
||||
"image": ["2", 0],
|
||||
"crop": "center"
|
||||
}
|
||||
},
|
||||
"6": {
|
||||
"class_type": "Hunyuan3Dv2Conditioning",
|
||||
"inputs": {
|
||||
"clip_vision_output": ["13", 0]
|
||||
}
|
||||
},
|
||||
"4": {
|
||||
"class_type": "EmptyLatentHunyuan3Dv2",
|
||||
"inputs": {
|
||||
"resolution": 4096,
|
||||
"batch_size": 1
|
||||
}
|
||||
},
|
||||
"7": {
|
||||
"class_type": "KSampler",
|
||||
"inputs": {
|
||||
"model": ["3", 0],
|
||||
"positive": ["6", 0],
|
||||
"negative": ["6", 1],
|
||||
"latent_image": ["4", 0],
|
||||
"seed": {{SEED}},
|
||||
"steps": 30,
|
||||
"cfg": 5.0,
|
||||
"sampler_name": "euler",
|
||||
"scheduler": "normal",
|
||||
"denoise": 1.0
|
||||
}
|
||||
},
|
||||
"8": {
|
||||
"class_type": "VAEDecodeHunyuan3D",
|
||||
"inputs": {
|
||||
"samples": ["7", 0],
|
||||
"vae": ["1", 2],
|
||||
"num_chunks": 8000,
|
||||
"octree_resolution": {{OCTREE}}
|
||||
}
|
||||
},
|
||||
"9": {
|
||||
"class_type": "VoxelToMesh",
|
||||
"inputs": {
|
||||
"voxel": ["8", 0],
|
||||
"algorithm": "surface net",
|
||||
"threshold": 0.6
|
||||
}
|
||||
},
|
||||
"10": {
|
||||
"class_type": "SaveGLB",
|
||||
"inputs": {
|
||||
"mesh": ["9", 0],
|
||||
"filename_prefix": "{{NAME}}"
|
||||
}
|
||||
}
|
||||
}
|
||||
24
workflows/Text to Image - Flux Klein.json
Normal file
24
workflows/Text to Image - Flux Klein.json
Normal file
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"1": {"class_type": "UNETLoader", "inputs": {"unet_name": "{{UNET}}", "weight_dtype": "default"}},
|
||||
"2": {"class_type": "CLIPLoader", "inputs": {"clip_name": "{{CLIP}}", "type": "{{CLIP_TYPE}}", "device": "default"}},
|
||||
"3": {"class_type": "VAELoader", "inputs": {"vae_name": "{{VAE}}"}},
|
||||
"4": {"class_type": "CLIPTextEncode", "inputs": {"text": "{{POSITIVE}}", "clip": ["2", 0]}},
|
||||
"5": {"class_type": "ConditioningZeroOut", "inputs": {"conditioning": ["4", 0]}},
|
||||
"6": {"class_type": "CFGGuider", "inputs": {"model": ["1", 0], "positive": ["4", 0], "negative": ["5", 0], "cfg": 1}},
|
||||
"7": {"class_type": "KSamplerSelect", "inputs": {"sampler_name": "euler"}},
|
||||
"8": {"class_type": "Flux2Scheduler", "inputs": {"width": 1024, "height": 1024, "steps": 4}},
|
||||
"9": {"class_type": "RandomNoise", "inputs": {"noise_seed": {{SEED}}}},
|
||||
"10": {"class_type": "EmptyFlux2LatentImage", "inputs": {"width": 1024, "height": 1024, "batch_size": 1}},
|
||||
"11": {"class_type": "SamplerCustomAdvanced", "inputs": {
|
||||
"noise": ["9", 0], "guider": ["6", 0], "sampler": ["7", 0], "sigmas": ["8", 0], "latent_image": ["10", 0]
|
||||
}},
|
||||
"12": {"class_type": "VAEDecode", "inputs": {"samples": ["11", 0], "vae": ["3", 0]}},
|
||||
"13": {"class_type": "SaveImage", "inputs": {"images": ["12", 0], "filename_prefix": "{{NAME}}_raw"}},
|
||||
"14": {"class_type": "Image Rembg (Remove Background)", "inputs": {
|
||||
"images": ["12", 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"
|
||||
}},
|
||||
"15": {"class_type": "SaveImage", "inputs": {"images": ["14", 0], "filename_prefix": "{{NAME}}_cutout"}}
|
||||
}
|
||||
22
workflows/Text to Image - Game.json
Normal file
22
workflows/Text to Image - Game.json
Normal file
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"1": {"class_type": "UNETLoader", "inputs": {"unet_name": "{{UNET}}", "weight_dtype": "default"}},
|
||||
"2": {"class_type": "CLIPLoader", "inputs": {"clip_name": "{{CLIP}}", "type": "{{CLIP_TYPE}}", "device": "default"}},
|
||||
"3": {"class_type": "VAELoader", "inputs": {"vae_name": "{{VAE}}"}},
|
||||
"4": {"class_type": "CLIPTextEncode", "inputs": {"text": "{{POSITIVE}}", "clip": ["2", 0]}},
|
||||
"5": {"class_type": "CLIPTextEncode", "inputs": {"text": "{{NEGATIVE}}", "clip": ["2", 0]}},
|
||||
"6": {"class_type": "EmptySD3LatentImage", "inputs": {"width": 1024, "height": 1024, "batch_size": 1}},
|
||||
"7": {"class_type": "ModelSamplingAuraFlow", "inputs": {"model": ["1", 0], "shift": 3}},
|
||||
"8": {"class_type": "KSampler", "inputs": {
|
||||
"model": ["7", 0], "positive": ["4", 0], "negative": ["5", 0], "latent_image": ["6", 0],
|
||||
"seed": {{SEED}}, "steps": 8, "cfg": 1, "sampler_name": "dpm_2", "scheduler": "karras", "denoise": 1
|
||||
}},
|
||||
"9": {"class_type": "VAEDecode", "inputs": {"samples": ["8", 0], "vae": ["3", 0]}},
|
||||
"10": {"class_type": "SaveImage", "inputs": {"images": ["9", 0], "filename_prefix": "{{NAME}}_raw"}},
|
||||
"11": {"class_type": "Image Rembg (Remove Background)", "inputs": {
|
||||
"images": ["9", 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"
|
||||
}},
|
||||
"12": {"class_type": "SaveImage", "inputs": {"images": ["11", 0], "filename_prefix": "{{NAME}}_cutout"}}
|
||||
}
|
||||
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