diff --git a/docs/Flows/HunyuanDiT.rst b/docs/Flows/HunyuanDiT.rst new file mode 100644 index 0000000..b4d34cc --- /dev/null +++ b/docs/Flows/HunyuanDiT.rst @@ -0,0 +1,32 @@ +.. _HunyuanDiT: + +HunyuanDiT +========== + +Powerful Multi-Resolution Diffusion Transformer with Fine-Grained Chinese Understanding. + +A solid model that supports natively very high **Vibrancy**. + +Hardware +"""""""" + +- **Required memory: 12 GB** + +Time to generate 1 image(30 steps): + +- AMD 7900 XTX: **40 sec** + +Examples +"""""""" + +.. image:: /FlowsResults/HunyuanDiT_1.png + +Prompt: "*portrait of a majestic insect*" (Vibrancy: 7, Steps: 60) + +.. image:: /FlowsResults/HunyuanDiT_2.png + +Prompt: "*close portrait of happy girl on the great wall*" (Vibrancy: 7, Steps: 60) + +.. image:: /FlowsResults/HunyuanDiT_3.png + +Prompt: "*portrait of a black pug on the yellow grass*" (Vibrancy: 6, Steps: 30) diff --git a/docs/Flows/index.rst b/docs/Flows/index.rst index 0bafd25..23aea94 100644 --- a/docs/Flows/index.rst +++ b/docs/Flows/index.rst @@ -13,6 +13,7 @@ Available Flows Colorful_XL Mobius_XL Stable_Cascade + HunyuanDiT SD3_Medium VintagePortrait Photomaker_1 diff --git a/docs/FlowsResults/HunyuanDiT_1.png b/docs/FlowsResults/HunyuanDiT_1.png new file mode 100644 index 0000000..508c3f2 Binary files /dev/null and b/docs/FlowsResults/HunyuanDiT_1.png differ diff --git a/docs/FlowsResults/HunyuanDiT_2.png b/docs/FlowsResults/HunyuanDiT_2.png new file mode 100644 index 0000000..eef9fe0 Binary files /dev/null and b/docs/FlowsResults/HunyuanDiT_2.png differ diff --git a/docs/FlowsResults/HunyuanDiT_3.png b/docs/FlowsResults/HunyuanDiT_3.png new file mode 100644 index 0000000..99b2c7b Binary files /dev/null and b/docs/FlowsResults/HunyuanDiT_3.png differ diff --git a/flows/flux1_dev.json b/flows/flux1_dev.json index 20dbb4b..3ef2abd 100644 --- a/flows/flux1_dev.json +++ b/flows/flux1_dev.json @@ -6,8 +6,8 @@ 0 ], "clip": [ - "11", - 0 + "35", + 1 ] }, "class_type": "CLIPTextEncode", @@ -120,7 +120,7 @@ ], "denoise": 1, "model": [ - "12", + "35", 0 ] }, @@ -132,7 +132,7 @@ "22": { "inputs": { "model": [ - "12", + "35", 0 ], "conditioning": [ @@ -217,8 +217,10 @@ "documentation": "https://comfyanonymous.github.io/ComfyUI_examples/flux/#simple-to-use-fp8-checkpoint-version", "license": "", "tags": "[\"general\", \"simple\"]", - "version": "1.0.1", - "requires": "[]" + "version": "1.0.2", + "requires": "[]", + "is_seed_supported": true, + "is_count_supported": true }, "class_type": "VixUiWorkflowMetadata", "_meta": { @@ -241,5 +243,44 @@ "_meta": { "title": "VixUI-RangeInt" } + }, + "35": { + "inputs": { + "lora_name": "flux_realism_lora.safetensors", + "strength_model": [ + "36", + 0 + ], + "strength_clip": 1, + "model": [ + "12", + 0 + ], + "clip": [ + "11", + 0 + ] + }, + "class_type": "LoraLoader", + "_meta": { + "title": "Load LoRA" + } + }, + "36": { + "inputs": { + "value": 0, + "display_name": "Realism LoRa strength", + "optional": true, + "advanced": true, + "min": 0, + "max": 1, + "step": 0.1, + "order": 92, + "custom_id": "realism_lora_strength" + }, + "class_type": "VixUiRangeFloat", + "_meta": { + "title": "VixUI-RangeFloat" + } } } diff --git a/flows/flux1_dev_8bit.json b/flows/flux1_dev_8bit.json index d1991c9..a0118dd 100644 --- a/flows/flux1_dev_8bit.json +++ b/flows/flux1_dev_8bit.json @@ -6,8 +6,8 @@ 0 ], "clip": [ - "11", - 0 + "35", + 1 ] }, "class_type": "CLIPTextEncode", @@ -120,7 +120,7 @@ ], "denoise": 1, "model": [ - "12", + "35", 0 ] }, @@ -132,7 +132,7 @@ "22": { "inputs": { "model": [ - "12", + "35", 0 ], "conditioning": [ @@ -217,8 +217,10 @@ "documentation": "https://comfyanonymous.github.io/ComfyUI_examples/flux/#simple-to-use-fp8-checkpoint-version", "license": "", "tags": "[\"general\", \"simple\"]", - "version": "1.0.1", - "requires": "[]" + "version": "1.0.2", + "requires": "[]", + "is_seed_supported": true, + "is_count_supported": true }, "class_type": "VixUiWorkflowMetadata", "_meta": { @@ -241,5 +243,44 @@ "_meta": { "title": "VixUI-RangeInt" } + }, + "35": { + "inputs": { + "lora_name": "flux_realism_lora.safetensors", + "strength_model": [ + "36", + 0 + ], + "strength_clip": 1, + "model": [ + "12", + 0 + ], + "clip": [ + "11", + 0 + ] + }, + "class_type": "LoraLoader", + "_meta": { + "title": "Load LoRA" + } + }, + "36": { + "inputs": { + "value": 0, + "display_name": "Realism LoRa strength", + "optional": true, + "advanced": true, + "min": 0, + "max": 1, + "step": 0.1, + "order": 92, + "custom_id": "realism_lora_strength" + }, + "class_type": "VixUiRangeFloat", + "_meta": { + "title": "VixUI-RangeFloat" + } } } diff --git a/flows/flux1_schnell.json b/flows/flux1_schnell.json index 9fabc57..224bfd4 100644 --- a/flows/flux1_schnell.json +++ b/flows/flux1_schnell.json @@ -23,8 +23,8 @@ 0 ], "clip": [ - "11", - 0 + "29", + 1 ] }, "class_type": "CLIPTextEncode", @@ -134,7 +134,7 @@ "steps": 4, "denoise": 1, "model": [ - "12", + "29", 0 ] }, @@ -146,7 +146,7 @@ "22": { "inputs": { "model": [ - "12", + "29", 0 ], "conditioning": [ @@ -201,12 +201,53 @@ "documentation": "https://huggingface.co/black-forest-labs/FLUX.1-dev", "license": "", "tags": "[\"general\", \"lighting\", \"simple\"]", - "version": "1.0.1", - "requires": "[]" + "version": "1.0.2", + "requires": "[]", + "is_seed_supported": true, + "is_count_supported": true }, "class_type": "VixUiWorkflowMetadata", "_meta": { "title": "VixUI-WorkflowMetadata" } + }, + "29": { + "inputs": { + "lora_name": "flux_realism_lora.safetensors", + "strength_model": [ + "30", + 0 + ], + "strength_clip": 1, + "model": [ + "12", + 0 + ], + "clip": [ + "11", + 0 + ] + }, + "class_type": "LoraLoader", + "_meta": { + "title": "Load LoRA" + } + }, + "30": { + "inputs": { + "value": 0, + "display_name": "Realism LoRa strength", + "optional": true, + "advanced": true, + "min": 0, + "max": 1, + "step": 0.1, + "order": 92, + "custom_id": "realism_lora_strength" + }, + "class_type": "VixUiRangeFloat", + "_meta": { + "title": "VixUI-RangeFloat" + } } } diff --git a/flows/flux1_schnell_8bit.json b/flows/flux1_schnell_8bit.json index d9a8161..d5916e9 100644 --- a/flows/flux1_schnell_8bit.json +++ b/flows/flux1_schnell_8bit.json @@ -23,8 +23,8 @@ 0 ], "clip": [ - "11", - 0 + "29", + 1 ] }, "class_type": "CLIPTextEncode", @@ -134,7 +134,7 @@ "steps": 4, "denoise": 1, "model": [ - "12", + "29", 0 ] }, @@ -146,7 +146,7 @@ "22": { "inputs": { "model": [ - "12", + "29", 0 ], "conditioning": [ @@ -201,12 +201,53 @@ "documentation": "https://huggingface.co/black-forest-labs/FLUX.1-dev", "license": "", "tags": "[\"general\", \"lighting\", \"simple\"]", - "version": "1.0.1", - "requires": "[]" + "version": "1.0.2", + "requires": "[]", + "is_seed_supported": true, + "is_count_supported": true }, "class_type": "VixUiWorkflowMetadata", "_meta": { "title": "VixUI-WorkflowMetadata" } + }, + "29": { + "inputs": { + "lora_name": "flux_realism_lora.safetensors", + "strength_model": [ + "30", + 0 + ], + "strength_clip": 1, + "model": [ + "12", + 0 + ], + "clip": [ + "11", + 0 + ] + }, + "class_type": "LoraLoader", + "_meta": { + "title": "Load LoRA" + } + }, + "30": { + "inputs": { + "value": 0, + "display_name": "Realism LoRa strength", + "optional": true, + "advanced": true, + "min": 0, + "max": 1, + "step": 0.1, + "order": 92, + "custom_id": "realism_lora_strength" + }, + "class_type": "VixUiRangeFloat", + "_meta": { + "title": "VixUI-RangeFloat" + } } } diff --git a/flows/hunyuan_dit.json b/flows/hunyuan_dit.json new file mode 100644 index 0000000..c352b06 --- /dev/null +++ b/flows/hunyuan_dit.json @@ -0,0 +1,201 @@ +{ + "2": { + "inputs": { + "ckpt_name": "hunyuan_dit_1.2.safetensors" + }, + "class_type": "CheckpointLoaderSimple", + "_meta": { + "title": "Load Checkpoint" + } + }, + "116": { + "inputs": { + "samples": [ + "298", + 0 + ], + "vae": [ + "2", + 2 + ] + }, + "class_type": "VAEDecode", + "_meta": { + "title": "VAE Decode" + } + }, + "244": { + "inputs": { + "width": 1024, + "height": 1024, + "batch_size": 1 + }, + "class_type": "EmptyLatentImage", + "_meta": { + "title": "Empty Latent Image" + } + }, + "267": { + "inputs": { + "filename_prefix": "base", + "images": [ + "116", + 0 + ] + }, + "class_type": "SaveImage", + "_meta": { + "title": "Save Image" + } + }, + "291": { + "inputs": { + "name": "hunyuan_dit", + "display_name": "HunyuanDiT", + "description": "Model with Chinese Understanding ", + "author": "bigcat88", + "homepage": "https://huggingface.co/Tencent-Hunyuan/HunyuanDiT", + "documentation": "https://visionatrix.github.io/VixFlowsDocs/Flows/HunyuanDiT.html", + "license": "", + "tags": "[\"general\", \"simple\"]", + "version": "1.0.0", + "requires": "[]", + "is_seed_supported": true, + "is_count_supported": true + }, + "class_type": "VixUiWorkflowMetadata", + "_meta": { + "title": "VixUI-WorkflowMetadata" + } + }, + "292": { + "inputs": { + "text": "", + "display_name": "Prompt", + "optional": false, + "advanced": false, + "order": 1, + "custom_id": "prompt" + }, + "class_type": "VixUiPrompt", + "_meta": { + "title": "VixUI-Prompt" + } + }, + "293": { + "inputs": { + "text": "", + "display_name": "Negative Prompt", + "optional": true, + "advanced": true, + "order": 15, + "custom_id": "negative_prompt" + }, + "class_type": "VixUiPrompt", + "_meta": { + "title": "VixUI-Prompt" + } + }, + "294": { + "inputs": { + "text": [ + "293", + 0 + ], + "clip": [ + "2", + 1 + ] + }, + "class_type": "CLIPTextEncode", + "_meta": { + "title": "CLIP Text Encode (Negative Prompt)" + } + }, + "295": { + "inputs": { + "text": [ + "292", + 0 + ], + "clip": [ + "2", + 1 + ] + }, + "class_type": "CLIPTextEncode", + "_meta": { + "title": "CLIP Text Encode (Positive Prompt)" + } + }, + "298": { + "inputs": { + "seed": 1, + "steps": [ + "300", + 0 + ], + "cfg": [ + "308", + 0 + ], + "sampler_name": "euler", + "scheduler": "sgm_uniform", + "denoise": 1, + "model": [ + "2", + 0 + ], + "positive": [ + "295", + 0 + ], + "negative": [ + "294", + 0 + ], + "latent_image": [ + "244", + 0 + ] + }, + "class_type": "KSampler", + "_meta": { + "title": "KSampler" + } + }, + "300": { + "inputs": { + "value": 30, + "display_name": "Steps number to generate", + "optional": true, + "advanced": true, + "min": 20, + "max": 60, + "step": 1, + "order": 91, + "custom_id": "steps_count" + }, + "class_type": "VixUiRangeInt", + "_meta": { + "title": "VixUI-RangeInt" + } + }, + "308": { + "inputs": { + "value": 6, + "display_name": "Vibrancy", + "optional": true, + "advanced": true, + "min": 2, + "max": 15, + "step": 0.1, + "order": 90, + "custom_id": "vibrancy" + }, + "class_type": "VixUiRangeFloat", + "_meta": { + "title": "VixUI-RangeFloat" + } + } +} diff --git a/models_catalog.json b/models_catalog.json index 8a9b057..a2b4442 100644 --- a/models_catalog.json +++ b/models_catalog.json @@ -693,5 +693,29 @@ "url": "https://huggingface.co/Kijai/flux-fp8/resolve/main/flux1-dev-fp8.safetensors", "homepage": "https://huggingface.co/Kijai/flux-fp8", "hash": "1be961341be8f5307ef26c787199f80bf4e0de3c1c0b4617095aa6ee5550dfce" + }, + "Flux-RealismLora": { + "regexes": [ + { + "input_value": "^(?=.*(?i:flux_realism_lora))(?=.*(?i:safetensors)).*", + "input_name": "(?i)lora" + } + ], + "save_path": "loras/flux_realism_lora.safetensors", + "url": "https://huggingface.co/comfyanonymous/flux_RealismLora_converted_comfyui/resolve/main/flux_realism_lora.safetensors", + "homepage": "https://huggingface.co/XLabs-AI/flux-RealismLora", + "hash": "379e73dccfb57822ee3b12f374e141ce1c79a13b7ff19da4219ef2a2a610038e" + }, + "HunyuanDiT": { + "regexes": [ + { + "input_value": "^(?=.*(?i:hunyuan_dit_1\\.2))(?=.*(?i:safetensors)).*", + "input_name": "^(?!.*(?i:lora)).*" + } + ], + "save_path": "checkpoints/hunyuan_dit_1.2.safetensors", + "url": "https://huggingface.co/comfyanonymous/hunyuan_dit_comfyui/resolve/main/hunyuan_dit_1.2.safetensors", + "homepage": "https://huggingface.co/Tencent-Hunyuan/HunyuanDiT", + "hash": "4fb84f84079cda457d171b3c6b15d1be95b5a3e5d9825703951a99ddf92d1787" } }