From 2380b3a0f50574d23e698939595174132236a466 Mon Sep 17 00:00:00 2001 From: Alexander Piskun Date: Fri, 21 Jun 2024 19:50:30 +0300 Subject: [PATCH 01/27] moved Workflow Metadata to ComfyUI flow Signed-off-by: Alexander Piskun --- docs/TechnicalInformation.rst | 2 ++ flows/colorful_xl/flow.json | 8 -------- flows/colorful_xl/flow_comfy.json | 9 +++++++++ flows/comicu_portrait/flow.json | 8 -------- flows/comicu_portrait/flow_comfy.json | 9 +++++++++ flows/ghibli_portrait/flow.json | 8 -------- flows/ghibli_portrait/flow_comfy.json | 9 +++++++++ flows/juggernaut_lite/flow.json | 8 -------- flows/juggernaut_lite/flow_comfy.json | 9 +++++++++ flows/juggernaut_xl/flow.json | 8 -------- flows/juggernaut_xl/flow_comfy.json | 9 +++++++++ flows/memoji_portrait/flow.json | 8 -------- flows/memoji_portrait/flow_comfy.json | 9 +++++++++ flows/mobius_xl/flow.json | 7 ------- flows/mobius_xl/flow_comfy.json | 9 +++++++++ flows/photo_stickers/flow.json | 8 -------- flows/photo_stickers/flow_comfy.json | 9 +++++++++ flows/photomaker_1/flow.json | 8 -------- flows/photomaker_1/flow_comfy.json | 9 +++++++++ flows/playground_2_5_aesthetic/flow.json | 8 -------- flows/playground_2_5_aesthetic/flow_comfy.json | 9 +++++++++ flows/sd3_medium/flow.json | 8 -------- flows/sd3_medium/flow_comfy.json | 9 +++++++++ flows/sdxl_lighting/flow.json | 8 -------- flows/sdxl_lighting/flow_comfy.json | 9 +++++++++ flows/stable_cascade/flow.json | 8 -------- flows/stable_cascade/flow_comfy.json | 9 +++++++++ flows/supir_upscaler/flow.json | 8 -------- flows/supir_upscaler/flow_comfy.json | 9 +++++++++ flows/vintage_portrait/flow.json | 8 -------- flows/vintage_portrait/flow_comfy.json | 9 +++++++++ 31 files changed, 137 insertions(+), 119 deletions(-) diff --git a/docs/TechnicalInformation.rst b/docs/TechnicalInformation.rst index a114342..e369268 100644 --- a/docs/TechnicalInformation.rst +++ b/docs/TechnicalInformation.rst @@ -18,6 +18,8 @@ Visionatrix by default install and update these nodes: * `rgthree-comfy `_ * `comfyui_controlnet_aux `_ * `ComfyUI-AutomaticCFG `_ + * `comfyui-art-venture `_ + * `was-node-suite-comfyui `_ We are gradually expanding the list. diff --git a/flows/colorful_xl/flow.json b/flows/colorful_xl/flow.json index 67e1d5c..68dfa5d 100644 --- a/flows/colorful_xl/flow.json +++ b/flows/colorful_xl/flow.json @@ -1,12 +1,4 @@ { - "name": "colorful_xl", - "display_name": "Colorful XL", - "description": "Colorful XL model (NSFW)", - "author": "bigcat88", - "homepage": "https://github.com/bigcat88", - "license": "", - "documentation": "https://visionatrix.github.io/VixFlowsDocs/Flows/Colorful_XL.html", - "tags": ["general"], "input_params": [ { "name": "prompt", diff --git a/flows/colorful_xl/flow_comfy.json b/flows/colorful_xl/flow_comfy.json index f507037..d64afd0 100644 --- a/flows/colorful_xl/flow_comfy.json +++ b/flows/colorful_xl/flow_comfy.json @@ -183,5 +183,14 @@ "_meta": { "title": "VAE Decode" } + }, + "276": { + "inputs": { + "text": "{\n \"name\": \"colorful_xl\",\n \"display_name\": \"Colorful XL\",\n \"description\": \"Colorful XL model (NSFW)\",\n \"author\": \"bigcat88\",\n \"homepage\": \"https://github.com/bigcat88\",\n \"license\": \"\",\n \"documentation\": \"https://visionatrix.github.io/VixFlowsDocs/Flows/Colorful_XL.html\",\n \"tags\": [\"general\"]\n}" + }, + "class_type": "Text Multiline (Code Compatible)", + "_meta": { + "title": "WF_META" + } } } diff --git a/flows/comicu_portrait/flow.json b/flows/comicu_portrait/flow.json index 1cfb9e7..2e4f354 100644 --- a/flows/comicu_portrait/flow.json +++ b/flows/comicu_portrait/flow.json @@ -1,12 +1,4 @@ { - "name": "comicu_portrait", - "display_name": "Comicu Portrait", - "description": "Person portrait in Anime style", - "author": "Datou", - "homepage": "https://openart.ai/workflows/datou/comicu/8fIWdL2KU2myMdfigoWk", - "license": "", - "documentation": "https://visionatrix.github.io/VixFlowsDocs/Flows/ComicuPortrait.html", - "tags": ["anime", "portrait"], "input_params": [ { "name": "image", diff --git a/flows/comicu_portrait/flow_comfy.json b/flows/comicu_portrait/flow_comfy.json index d5da682..c2168fc 100644 --- a/flows/comicu_portrait/flow_comfy.json +++ b/flows/comicu_portrait/flow_comfy.json @@ -158,5 +158,14 @@ "_meta": { "title": "Efficient Loader" } + }, + "385": { + "inputs": { + "text": "{\n \"name\": \"comicu_portrait\",\n \"display_name\": \"Comicu Portrait\",\n \"description\": \"Person portrait in Anime style\",\n \"author\": \"Datou\",\n \"homepage\": \"https://openart.ai/workflows/datou/comicu/8fIWdL2KU2myMdfigoWk\",\n \"license\": \"\",\n \"documentation\": \"https://visionatrix.github.io/VixFlowsDocs/Flows/ComicuPortrait.html\",\n \"tags\": [\"anime\", \"portrait\"]\n}" + }, + "class_type": "Text Multiline (Code Compatible)", + "_meta": { + "title": "WF_META" + } } } diff --git a/flows/ghibli_portrait/flow.json b/flows/ghibli_portrait/flow.json index da0e952..d515a5b 100644 --- a/flows/ghibli_portrait/flow.json +++ b/flows/ghibli_portrait/flow.json @@ -1,12 +1,4 @@ { - "name": "ghibli_portrait", - "display_name": "Ghibli Portrait", - "description": "Person portrait in Ghibli Studio style(Anime)", - "author": "Datou", - "homepage": "https://openart.ai/workflows/datou/ghibli-portrait-studio/pGOmpWZycgG57085CONU", - "license": "", - "documentation": "https://visionatrix.github.io/VixFlowsDocs/Flows/GhibliPortrait.html", - "tags": ["anime", "portrait"], "input_params": [ { "name": "image", diff --git a/flows/ghibli_portrait/flow_comfy.json b/flows/ghibli_portrait/flow_comfy.json index d3f2243..a23cca4 100644 --- a/flows/ghibli_portrait/flow_comfy.json +++ b/flows/ghibli_portrait/flow_comfy.json @@ -248,5 +248,14 @@ "_meta": { "title": "🧹BRIA RMBG" } + }, + "383": { + "inputs": { + "text": "{\n \"name\": \"ghibli_portrait\",\n \"display_name\": \"Ghibli Portrait\",\n \"description\": \"Person portrait in Ghibli Studio style(Anime)\",\n \"author\": \"Datou\",\n \"homepage\": \"https://openart.ai/workflows/datou/ghibli-portrait-studio/pGOmpWZycgG57085CONU\",\n \"license\": \"\",\n \"documentation\": \"https://visionatrix.github.io/VixFlowsDocs/Flows/GhibliPortrait.html\",\n \"tags\": [\"anime\", \"portrait\"]\n}" + }, + "class_type": "Text Multiline (Code Compatible)", + "_meta": { + "title": "WF_META" + } } } diff --git a/flows/juggernaut_lite/flow.json b/flows/juggernaut_lite/flow.json index fd52880..823c6a4 100644 --- a/flows/juggernaut_lite/flow.json +++ b/flows/juggernaut_lite/flow.json @@ -1,12 +1,4 @@ { - "name": "juggernaut_lite", - "display_name": "Juggernaut Lite", - "description": "Juggernaut + LoRAs with post processing", - "author": "Valomar", - "homepage": "https://comfyworkflows.com/profile/86edf4d7-d110-498d-b4e0-4cacadee750e", - "license": "", - "documentation": "https://visionatrix.github.io/VixFlowsDocs/Flows/Juggernaut_Lite.html", - "tags": ["general"], "input_params": [ { "name": "prompt", diff --git a/flows/juggernaut_lite/flow_comfy.json b/flows/juggernaut_lite/flow_comfy.json index 014d85a..b7b08a0 100644 --- a/flows/juggernaut_lite/flow_comfy.json +++ b/flows/juggernaut_lite/flow_comfy.json @@ -265,5 +265,14 @@ "_meta": { "title": "Save Image" } + }, + "267": { + "inputs": { + "text": "{\n \"name\": \"juggernaut_lite\",\n \"display_name\": \"Juggernaut Lite\",\n \"description\": \"Juggernaut + LoRAs with post processing\",\n \"author\": \"Valomar\",\n \"homepage\": \"https://comfyworkflows.com/profile/86edf4d7-d110-498d-b4e0-4cacadee750e\",\n \"license\": \"\",\n \"documentation\": \"https://visionatrix.github.io/VixFlowsDocs/Flows/Juggernaut_Lite.html\",\n \"tags\": [\"general\"]\n}" + }, + "class_type": "Text Multiline (Code Compatible)", + "_meta": { + "title": "WF_META" + } } } diff --git a/flows/juggernaut_xl/flow.json b/flows/juggernaut_xl/flow.json index d2f2d24..c3e8233 100644 --- a/flows/juggernaut_xl/flow.json +++ b/flows/juggernaut_xl/flow.json @@ -1,12 +1,4 @@ { - "name": "juggernaut_xl", - "display_name": "Juggernaut XL", - "description": "Juggernaut XL Community Version (NSFW)", - "author": "bigcat88", - "homepage": "https://github.com/bigcat88", - "license": "", - "documentation": "https://visionatrix.github.io/VixFlowsDocs/Flows/Juggernaut_XL.html", - "tags": ["general"], "input_params": [ { "name": "prompt", diff --git a/flows/juggernaut_xl/flow_comfy.json b/flows/juggernaut_xl/flow_comfy.json index b5269e2..df11c6e 100644 --- a/flows/juggernaut_xl/flow_comfy.json +++ b/flows/juggernaut_xl/flow_comfy.json @@ -202,5 +202,14 @@ "_meta": { "title": "VAE Decode" } + }, + "276": { + "inputs": { + "text": "{\n \"name\": \"juggernaut_xl\",\n \"display_name\": \"Juggernaut XL\",\n \"description\": \"Juggernaut XL Community Version (NSFW)\",\n \"author\": \"bigcat88\",\n \"homepage\": \"https://github.com/bigcat88\",\n \"license\": \"\",\n \"documentation\": \"https://visionatrix.github.io/VixFlowsDocs/Flows/Juggernaut_XL.html\",\n \"tags\": [\"general\"]\n}" + }, + "class_type": "Text Multiline (Code Compatible)", + "_meta": { + "title": "WF_META" + } } } diff --git a/flows/memoji_portrait/flow.json b/flows/memoji_portrait/flow.json index c4e660a..f8e43aa 100644 --- a/flows/memoji_portrait/flow.json +++ b/flows/memoji_portrait/flow.json @@ -1,12 +1,4 @@ { - "name": "memoji_portrait", - "display_name": "Memoji Portrait", - "description": "Portrait photos as a Memoji", - "author": "Datou", - "homepage": "https://openart.ai/workflows/datou/memoji/Lcprla9BQL29IFVjC93l", - "license": "", - "documentation": "https://visionatrix.github.io/VixFlowsDocs/Flows/MemojiPortrait.html", - "tags": ["cartoon", "portrait"], "input_params": [ { "name": "image", diff --git a/flows/memoji_portrait/flow_comfy.json b/flows/memoji_portrait/flow_comfy.json index e2c1848..8cde751 100644 --- a/flows/memoji_portrait/flow_comfy.json +++ b/flows/memoji_portrait/flow_comfy.json @@ -235,5 +235,14 @@ "_meta": { "title": "Automatic CFG" } + }, + "382": { + "inputs": { + "text": "{\n \"name\": \"memoji_portrait\",\n \"display_name\": \"Memoji Portrait\",\n \"description\": \"Portrait photos as a Memoji\",\n \"author\": \"Datou\",\n \"homepage\": \"https://openart.ai/workflows/datou/memoji/Lcprla9BQL29IFVjC93l\",\n \"license\": \"\",\n \"documentation\": \"https://visionatrix.github.io/VixFlowsDocs/Flows/MemojiPortrait.html\",\n \"tags\": [\"cartoon\", \"portrait\"]\n}" + }, + "class_type": "Text Multiline (Code Compatible)", + "_meta": { + "title": "WF_META" + } } } diff --git a/flows/mobius_xl/flow.json b/flows/mobius_xl/flow.json index 08ebc72..e5ca736 100644 --- a/flows/mobius_xl/flow.json +++ b/flows/mobius_xl/flow.json @@ -1,11 +1,4 @@ { - "name": "mobius_xl", - "display_name": "Mobius XL", - "description": "Mobius XL model", - "author": "bigcat88", - "homepage": "https://github.com/bigcat88", - "license": "", - "documentation": "https://visionatrix.github.io/VixFlowsDocs/Flows/Mobius_XL.html", "input_params": [ { "name": "prompt", diff --git a/flows/mobius_xl/flow_comfy.json b/flows/mobius_xl/flow_comfy.json index 2512f40..27292cf 100644 --- a/flows/mobius_xl/flow_comfy.json +++ b/flows/mobius_xl/flow_comfy.json @@ -196,5 +196,14 @@ "_meta": { "title": "CLIP Set Last Layer" } + }, + "291": { + "inputs": { + "text": "{\n \"name\": \"mobius_xl\",\n \"display_name\": \"Mobius XL\",\n \"description\": \"Mobius XL model\",\n \"author\": \"bigcat88\",\n \"homepage\": \"https://github.com/bigcat88\",\n \"license\": \"\",\n \"documentation\": \"https://visionatrix.github.io/VixFlowsDocs/Flows/Mobius_XL.html\",\n \"tags\": [\"general\"]\n}" + }, + "class_type": "Text Multiline (Code Compatible)", + "_meta": { + "title": "WF_META" + } } } diff --git a/flows/photo_stickers/flow.json b/flows/photo_stickers/flow.json index 9452c3e..0923be3 100644 --- a/flows/photo_stickers/flow.json +++ b/flows/photo_stickers/flow.json @@ -1,12 +1,4 @@ { - "name": "photo_stickers", - "display_name": "Photo Stickers", - "description": "Stickers from person photo", - "author": "Datou", - "homepage": "https://openart.ai/workflows/datou/photo-2-anime-sdxl/0tBl5W8dBBe6FEhi0MxY", - "license": "", - "documentation": "https://visionatrix.github.io/VixFlowsDocs/Flows/PhotoStickers.html", - "tags": ["cartoon", "portrait"], "input_params": [ { "name": "image", diff --git a/flows/photo_stickers/flow_comfy.json b/flows/photo_stickers/flow_comfy.json index 3caee5e..f9df151 100644 --- a/flows/photo_stickers/flow_comfy.json +++ b/flows/photo_stickers/flow_comfy.json @@ -913,5 +913,14 @@ "_meta": { "title": "KSampler" } + }, + "356": { + "inputs": { + "text": "{\n \"name\": \"photo_stickers\",\n \"display_name\": \"Photo Stickers\",\n \"description\": \"Stickers from person photo\",\n \"author\": \"Datou\",\n \"homepage\": \"https://openart.ai/workflows/datou/photo-2-anime-sdxl/0tBl5W8dBBe6FEhi0MxY\",\n \"license\": \"\",\n \"documentation\": \"https://visionatrix.github.io/VixFlowsDocs/Flows/PhotoStickers.html\",\n \"tags\": [\"cartoon\", \"portrait\"]\n}" + }, + "class_type": "Text Multiline (Code Compatible)", + "_meta": { + "title": "WF_META" + } } } diff --git a/flows/photomaker_1/flow.json b/flows/photomaker_1/flow.json index a305d91..769b8cb 100644 --- a/flows/photomaker_1/flow.json +++ b/flows/photomaker_1/flow.json @@ -1,12 +1,4 @@ { - "name": "photomaker_1", - "display_name": "Photo from 1 image", - "description": "Customizing Realistic Human Photos", - "author": "shiimizu", - "homepage": "https://github.com/shiimizu/ComfyUI-PhotoMaker-Plus", - "license": "", - "documentation": "https://visionatrix.github.io/VixFlowsDocs/Flows/Photomaker_1.html", - "tags": ["general", "portrait", "cartoon"], "input_params": [ { "name": "prompt", diff --git a/flows/photomaker_1/flow_comfy.json b/flows/photomaker_1/flow_comfy.json index a8ca3dc..e47b2e8 100644 --- a/flows/photomaker_1/flow_comfy.json +++ b/flows/photomaker_1/flow_comfy.json @@ -295,5 +295,14 @@ "_meta": { "title": "Split Image with Alpha" } + }, + "98": { + "inputs": { + "text": "{\n \"name\": \"photomaker_1\",\n \"display_name\": \"Photo from 1 image\",\n \"description\": \"Customizing Realistic Human Photos\",\n \"author\": \"shiimizu\",\n \"homepage\": \"https://github.com/shiimizu/ComfyUI-PhotoMaker-Plus\",\n \"license\": \"\",\n \"documentation\": \"https://visionatrix.github.io/VixFlowsDocs/Flows/Photomaker_1.html\",\n \"tags\": [\"general\", \"portrait\", \"cartoon\"]\n}" + }, + "class_type": "Text Multiline (Code Compatible)", + "_meta": { + "title": "WF_META" + } } } diff --git a/flows/playground_2_5_aesthetic/flow.json b/flows/playground_2_5_aesthetic/flow.json index 68eefce..6eff645 100644 --- a/flows/playground_2_5_aesthetic/flow.json +++ b/flows/playground_2_5_aesthetic/flow.json @@ -1,12 +1,4 @@ { - "name": "playground_2_5_aesthetic", - "display_name": "Aesthetic images", - "description": "Generate images with built-in Face Detailer", - "author": "Dennis Schöneberg", - "homepage": "https://www.linkedin.com/in/dennis-sch%C3%B6neberg-3420a2221", - "license": "", - "documentation": "https://visionatrix.github.io/VixFlowsDocs/Flows/Playground_2_5_aesthetic.html", - "tags": ["general"], "input_params": [ { "name": "prompt", diff --git a/flows/playground_2_5_aesthetic/flow_comfy.json b/flows/playground_2_5_aesthetic/flow_comfy.json index 83e0263..baeb4f6 100644 --- a/flows/playground_2_5_aesthetic/flow_comfy.json +++ b/flows/playground_2_5_aesthetic/flow_comfy.json @@ -475,5 +475,14 @@ "_meta": { "title": "SamplerCustom" } + }, + "250": { + "inputs": { + "text": "{\n \"name\": \"playground_2_5_aesthetic\",\n \"display_name\": \"Aesthetic images\",\n \"description\": \"Generate images with built-in Face Detailer\",\n \"author\": \"Dennis Schöneberg\",\n \"homepage\": \"https://www.linkedin.com/in/dennis-sch%C3%B6neberg-3420a2221\",\n \"license\": \"\",\n \"documentation\": \"https://visionatrix.github.io/VixFlowsDocs/Flows/Playground_2_5_aesthetic.html\",\n \"tags\": [\"general\"]\n}" + }, + "class_type": "Text Multiline (Code Compatible)", + "_meta": { + "title": "WF_META" + } } } diff --git a/flows/sd3_medium/flow.json b/flows/sd3_medium/flow.json index dd1c371..655abaa 100644 --- a/flows/sd3_medium/flow.json +++ b/flows/sd3_medium/flow.json @@ -1,12 +1,4 @@ { - "name": "sd3_medium", - "display_name": "StableDiffusion3 Medium", - "description": "Simple one model flow for testing purposes", - "author": "Datou", - "homepage": "https://openart.ai/workflows/datou/sd3-basic-workflow/7Udt2JZ3Mwqf1if9EqWt", - "license": "", - "documentation": "https://visionatrix.github.io/VixFlowsDocs/Flows/SD3_Medium.html", - "tags": ["general"], "input_params": [ { "name": "prompt", diff --git a/flows/sd3_medium/flow_comfy.json b/flows/sd3_medium/flow_comfy.json index a2ebfe4..cf36ebb 100644 --- a/flows/sd3_medium/flow_comfy.json +++ b/flows/sd3_medium/flow_comfy.json @@ -103,5 +103,14 @@ "_meta": { "title": "@Datou" } + }, + "278": { + "inputs": { + "text": "{\n \"name\": \"sd3_medium\",\n \"display_name\": \"StableDiffusion3 Medium\",\n \"description\": \"Simple one model flow for testing purposes\",\n \"author\": \"Datou\",\n \"homepage\": \"https://openart.ai/workflows/datou/sd3-basic-workflow/7Udt2JZ3Mwqf1if9EqWt\",\n \"license\": \"\",\n \"documentation\": \"https://visionatrix.github.io/VixFlowsDocs/Flows/SD3_Medium.html\",\n \"tags\": [\"general\"]\n}" + }, + "class_type": "Text Multiline (Code Compatible)", + "_meta": { + "title": "WF_META" + } } } diff --git a/flows/sdxl_lighting/flow.json b/flows/sdxl_lighting/flow.json index 8e65534..249d2ff 100644 --- a/flows/sdxl_lighting/flow.json +++ b/flows/sdxl_lighting/flow.json @@ -1,12 +1,4 @@ { - "name": "sdxl_lighting", - "display_name": "SDXL Lighting", - "description": "Fast image generation", - "author": "bigcat88", - "homepage": "https://github.com/bigcat88", - "license": "", - "documentation": "https://visionatrix.github.io/VixFlowsDocs/Flows/SDXL_Lighting.html", - "tags": ["general"], "input_params": [ { "name": "prompt", diff --git a/flows/sdxl_lighting/flow_comfy.json b/flows/sdxl_lighting/flow_comfy.json index 0dc9dd6..a28eb6d 100644 --- a/flows/sdxl_lighting/flow_comfy.json +++ b/flows/sdxl_lighting/flow_comfy.json @@ -184,5 +184,14 @@ "_meta": { "title": "CLIP Text Encode (Negative Prompt)" } + }, + "15": { + "inputs": { + "text": "{\n \"name\": \"sdxl_lighting\",\n \"display_name\": \"SDXL Lighting\",\n \"description\": \"Fast image generation\",\n \"author\": \"bigcat88\",\n \"homepage\": \"https://github.com/bigcat88\",\n \"license\": \"\",\n \"documentation\": \"https://visionatrix.github.io/VixFlowsDocs/Flows/SDXL_Lighting.html\",\n \"tags\": [\"general\"]\n}" + }, + "class_type": "Text Multiline (Code Compatible)", + "_meta": { + "title": "WF_META" + } } } diff --git a/flows/stable_cascade/flow.json b/flows/stable_cascade/flow.json index 73479b0..e85de36 100644 --- a/flows/stable_cascade/flow.json +++ b/flows/stable_cascade/flow.json @@ -1,12 +1,4 @@ { - "name": "stable_cascade", - "display_name": "Stable Cascade", - "description": "Generation with multiple passes", - "author": "HowDo?", - "homepage": "https://comfyworkflows.com/profile/41d507c5-bdcf-424b-9b75-a3cc2ea9049d", - "license": "", - "documentation": "https://visionatrix.github.io/VixFlowsDocs/Flows/Stable_Cascade.html", - "tags": ["general"], "input_params": [ { "name": "prompt", diff --git a/flows/stable_cascade/flow_comfy.json b/flows/stable_cascade/flow_comfy.json index 8d50bbe..13294cc 100644 --- a/flows/stable_cascade/flow_comfy.json +++ b/flows/stable_cascade/flow_comfy.json @@ -445,5 +445,14 @@ "_meta": { "title": "VAE Decode" } + }, + "98": { + "inputs": { + "text": "{\n \"name\": \"stable_cascade\",\n \"display_name\": \"Stable Cascade\",\n \"description\": \"Generation with multiple passes\",\n \"author\": \"HowDo?\",\n \"homepage\": \"https://comfyworkflows.com/profile/41d507c5-bdcf-424b-9b75-a3cc2ea9049d\",\n \"license\": \"\",\n \"documentation\": \"https://visionatrix.github.io/VixFlowsDocs/Flows/Stable_Cascade.html\",\n \"tags\": [\"general\"]\n}" + }, + "class_type": "Text Multiline (Code Compatible)", + "_meta": { + "title": "WF_META" + } } } diff --git a/flows/supir_upscaler/flow.json b/flows/supir_upscaler/flow.json index d72da34..93e18d0 100644 --- a/flows/supir_upscaler/flow.json +++ b/flows/supir_upscaler/flow.json @@ -1,12 +1,4 @@ { - "name": "supir_upscaler", - "display_name": "SUPIR Upscaler", - "description": "High-End Image Upscaler", - "author": "akihungac", - "homepage": "https://openart.ai/workflows/profile/akihungac", - "license": "", - "documentation": "https://visionatrix.github.io/VixFlowsDocs/Flows/SupirUpscaler.html", - "tags": ["upscaler"], "sub_flows": [ { "display_name": "SUPIR(1.5x)", diff --git a/flows/supir_upscaler/flow_comfy.json b/flows/supir_upscaler/flow_comfy.json index 3ee1b67..753c6cd 100644 --- a/flows/supir_upscaler/flow_comfy.json +++ b/flows/supir_upscaler/flow_comfy.json @@ -286,5 +286,14 @@ "_meta": { "title": "Evaluate Integers" } + }, + "111": { + "inputs": { + "text": "{\n \"name\": \"supir_upscaler\",\n \"display_name\": \"SUPIR Upscaler\",\n \"description\": \"High-End Image Upscaler\",\n \"author\": \"akihungac\",\n \"homepage\": \"https://openart.ai/workflows/profile/akihungac\",\n \"license\": \"\",\n \"documentation\": \"https://visionatrix.github.io/VixFlowsDocs/Flows/SupirUpscaler.html\",\n \"tags\": [\"upscaler\"]\n}" + }, + "class_type": "Text Multiline (Code Compatible)", + "_meta": { + "title": "WF_META" + } } } diff --git a/flows/vintage_portrait/flow.json b/flows/vintage_portrait/flow.json index e3481b4..a0fa19e 100644 --- a/flows/vintage_portrait/flow.json +++ b/flows/vintage_portrait/flow.json @@ -1,12 +1,4 @@ { - "name": "vintage_portrait", - "display_name": "Vintage Portrait", - "description": "Portrait photos in Vintage styles", - "author": "bigcat88", - "homepage": "https://github.com/bigcat88", - "license": "", - "documentation": "https://visionatrix.github.io/VixFlowsDocs/Flows/VintagePortrait.html", - "tags": ["portrait"], "input_params": [ { "name": "image", diff --git a/flows/vintage_portrait/flow_comfy.json b/flows/vintage_portrait/flow_comfy.json index 4b6e2fc..8dd1647 100644 --- a/flows/vintage_portrait/flow_comfy.json +++ b/flows/vintage_portrait/flow_comfy.json @@ -154,5 +154,14 @@ "_meta": { "title": "Load Image" } + }, + "45": { + "inputs": { + "text": "{\n \"name\": \"vintage_portrait\",\n \"display_name\": \"Vintage Portrait\",\n \"description\": \"Portrait photos in Vintage styles\",\n \"author\": \"bigcat88\",\n \"homepage\": \"https://github.com/bigcat88\",\n \"license\": \"\",\n \"documentation\": \"https://visionatrix.github.io/VixFlowsDocs/Flows/VintagePortrait.html\",\n \"tags\": [\"portrait\"]\n}" + }, + "class_type": "Text Multiline (Code Compatible)", + "_meta": { + "title": "WF_META" + } } } From ebbba764acd960ad5a7b30747c1ac4f4bc8ea5f8 Mon Sep 17 00:00:00 2001 From: Alexander Piskun Date: Fri, 21 Jun 2024 21:16:46 +0300 Subject: [PATCH 02/27] moved `sub_flows` definition to ComfyUI flow Signed-off-by: Alexander Piskun --- flows/supir_upscaler/flow.json | 22 ---------------------- flows/supir_upscaler/flow_comfy.json | 9 +++++++++ 2 files changed, 9 insertions(+), 22 deletions(-) diff --git a/flows/supir_upscaler/flow.json b/flows/supir_upscaler/flow.json index 93e18d0..223feb6 100644 --- a/flows/supir_upscaler/flow.json +++ b/flows/supir_upscaler/flow.json @@ -1,26 +1,4 @@ { - "sub_flows": [ - { - "display_name": "SUPIR(1.5x)", - "type": "image", - "input_params": [ - { - "name": "scale_factor", - "default": 1.5 - } - ] - }, - { - "display_name": "SUPIR(2x)", - "type": "image", - "input_params": [ - { - "name": "scale_factor", - "default": 2.0 - } - ] - } - ], "input_params": [ { "name": "image", diff --git a/flows/supir_upscaler/flow_comfy.json b/flows/supir_upscaler/flow_comfy.json index 753c6cd..1963b4a 100644 --- a/flows/supir_upscaler/flow_comfy.json +++ b/flows/supir_upscaler/flow_comfy.json @@ -295,5 +295,14 @@ "_meta": { "title": "WF_META" } + }, + "112": { + "inputs": { + "text": "{\n \"sub_flows\": [\n {\n \"display_name\": \"SUPIR(1.5x)\",\n \"type\": \"image\",\n \"input_params\": [\n {\n \"name\": \"scale_factor\",\n \"default\": 1.5\n }\n ]\n },\n {\n \"display_name\": \"SUPIR(2x)\",\n \"type\": \"image\",\n \"input_params\": [\n {\n \"name\": \"scale_factor\",\n \"default\": 2.0\n }\n ]\n }\n ]\n}" + }, + "class_type": "Text Multiline (Code Compatible)", + "_meta": { + "title": "WF_SUBFLOWS" + } } } From 33c1183c62ce32e4457e07b7a68bb0324ecf644a Mon Sep 17 00:00:00 2001 From: Alexander Piskun Date: Sat, 22 Jun 2024 23:58:39 +0300 Subject: [PATCH 03/27] dev process Signed-off-by: Alexander Piskun --- .../flow_comfy.json => colorful_xl.json} | 175 +++- flows/colorful_xl/flow.json | 129 --- flows/comicu_portrait/flow.json | 96 -- flows/ghibli_portrait/flow.json | 73 -- flows/ghibli_portrait/flow_comfy.json | 261 ----- flows/juggernaut_lite/flow.json | 49 - flows/juggernaut_lite/flow_comfy.json | 278 ------ flows/juggernaut_xl/flow.json | 84 -- flows/juggernaut_xl/flow_comfy.json | 215 ---- flows/memoji_portrait/flow.json | 75 -- flows/memoji_portrait/flow_comfy.json | 248 ----- flows/mobius_xl/flow.json | 80 -- flows/mobius_xl/flow_comfy.json | 209 ---- flows/photo_stickers/flow.json | 102 -- flows/photo_stickers/flow_comfy.json | 926 ------------------ flows/photomaker_1/flow.json | 144 --- flows/photomaker_1/flow_comfy.json | 308 ------ flows/playground_2_5_aesthetic/flow.json | 84 -- .../playground_2_5_aesthetic/flow_comfy.json | 488 --------- flows/sd3_medium/flow.json | 127 --- flows/sd3_medium/flow_comfy.json | 116 --- flows/sdxl_lighting/flow.json | 51 - flows/sdxl_lighting/flow_comfy.json | 197 ---- flows/stable_cascade/flow.json | 46 - flows/stable_cascade/flow_comfy.json | 458 --------- flows/supir_upscaler/flow.json | 115 --- flows/supir_upscaler/flow_comfy.json | 308 ------ flows/vintage_portrait/flow.json | 44 - 28 files changed, 136 insertions(+), 5350 deletions(-) rename flows/{colorful_xl/flow_comfy.json => colorful_xl.json} (56%) delete mode 100644 flows/colorful_xl/flow.json delete mode 100644 flows/comicu_portrait/flow.json delete mode 100644 flows/ghibli_portrait/flow.json delete mode 100644 flows/ghibli_portrait/flow_comfy.json delete mode 100644 flows/juggernaut_lite/flow.json delete mode 100644 flows/juggernaut_lite/flow_comfy.json delete mode 100644 flows/juggernaut_xl/flow.json delete mode 100644 flows/juggernaut_xl/flow_comfy.json delete mode 100644 flows/memoji_portrait/flow.json delete mode 100644 flows/memoji_portrait/flow_comfy.json delete mode 100644 flows/mobius_xl/flow.json delete mode 100644 flows/mobius_xl/flow_comfy.json delete mode 100644 flows/photo_stickers/flow.json delete mode 100644 flows/photo_stickers/flow_comfy.json delete mode 100644 flows/photomaker_1/flow.json delete mode 100644 flows/photomaker_1/flow_comfy.json delete mode 100644 flows/playground_2_5_aesthetic/flow.json delete mode 100644 flows/playground_2_5_aesthetic/flow_comfy.json delete mode 100644 flows/sd3_medium/flow.json delete mode 100644 flows/sd3_medium/flow_comfy.json delete mode 100644 flows/sdxl_lighting/flow.json delete mode 100644 flows/sdxl_lighting/flow_comfy.json delete mode 100644 flows/stable_cascade/flow.json delete mode 100644 flows/stable_cascade/flow_comfy.json delete mode 100644 flows/supir_upscaler/flow.json delete mode 100644 flows/supir_upscaler/flow_comfy.json delete mode 100644 flows/vintage_portrait/flow.json diff --git a/flows/colorful_xl/flow_comfy.json b/flows/colorful_xl.json similarity index 56% rename from flows/colorful_xl/flow_comfy.json rename to flows/colorful_xl.json index d64afd0..5b55432 100644 --- a/flows/colorful_xl/flow_comfy.json +++ b/flows/colorful_xl.json @@ -19,9 +19,12 @@ }, "27": { "inputs": { - "seed": 2, + "seed": 1100552191162771, "steps": 40, - "cfg": 5, + "cfg": [ + "308", + 0 + ], "sampler_name": "dpmpp_3m_sde", "scheduler": "exponential", "denoise": 1, @@ -47,25 +50,12 @@ "title": "KSampler" } }, - "116": { + "242": { "inputs": { - "samples": [ - "27", + "text": [ + "310", 0 ], - "vae": [ - "13", - 0 - ] - }, - "class_type": "VAEDecode", - "_meta": { - "title": "VAE Decode" - } - }, - "242": { - "inputs": { - "text": "", "clip": [ "2", 1 @@ -78,7 +68,10 @@ }, "243": { "inputs": { - "text": "", + "text": [ + "309", + 0 + ], "clip": [ "2", 1 @@ -91,8 +84,14 @@ }, "244": { "inputs": { - "width": 1024, - "height": 1024, + "width": [ + "282", + 1 + ], + "height": [ + "282", + 2 + ], "batch_size": 1 }, "class_type": "EmptyLatentImage", @@ -100,24 +99,14 @@ "title": "Empty Latent Image" } }, - "267": { - "inputs": { - "filename_prefix": "ComfyUI", - "images": [ - "116", - 0 - ] - }, - "class_type": "SaveImage", - "_meta": { - "title": "Save Image" - } - }, "268": { "inputs": { "add_noise": true, "noise_seed": 1, - "cfg": 4, + "cfg": [ + "308", + 0 + ], "model": [ "2", 0 @@ -169,6 +158,31 @@ } }, "275": { + "inputs": { + "samples": [ + "27", + 0 + ], + "vae": [ + "13", + 0 + ] + }, + "class_type": "VAEDecode", + "_meta": { + "title": "VAE Decode" + } + }, + "282": { + "inputs": { + "aspect_ratio": "2:3" + }, + "class_type": "SDXLAspectRatioSelector", + "_meta": { + "title": "input;Aspect Ratio;optional;advanced" + } + }, + "297": { "inputs": { "samples": [ "268", @@ -184,13 +198,96 @@ "title": "VAE Decode" } }, - "276": { + "298": { + "inputs": { + "filename_prefix": "", + "images": [ + "307", + 0 + ] + }, + "class_type": "SaveImage", + "_meta": { + "title": "Save Image" + } + }, + "307": { + "inputs": { + "state": false, + "display_name": "Fast Run", + "optional": true, + "advanced": true, + "order": 1, + "input_off_state": [ + "275", + 0 + ], + "input_on_state": [ + "297", + 0 + ] + }, + "class_type": "VixUiCheckbox", + "_meta": { + "title": "VixUI-Checkbox" + } + }, + "308": { + "inputs": { + "value": 5, + "display_name": "Prompt strength", + "optional": true, + "advanced": true, + "min": 4.5, + "max": 7, + "step": 0.1, + "order": 10 + }, + "class_type": "VixUiRangeFloat", + "_meta": { + "title": "VixUI-RangeFloat" + } + }, + "309": { + "inputs": { + "text": "", + "display_name": "Prompt", + "optional": false, + "advanced": false, + "order": 1 + }, + "class_type": "VixUiPrompt", + "_meta": { + "title": "VixUI-Prompt" + } + }, + "310": { + "inputs": { + "text": "", + "display_name": "Negative Prompt", + "optional": true, + "advanced": true, + "order": 25 + }, + "class_type": "VixUiPrompt", + "_meta": { + "title": "VixUI-Prompt" + } + }, + "311": { "inputs": { - "text": "{\n \"name\": \"colorful_xl\",\n \"display_name\": \"Colorful XL\",\n \"description\": \"Colorful XL model (NSFW)\",\n \"author\": \"bigcat88\",\n \"homepage\": \"https://github.com/bigcat88\",\n \"license\": \"\",\n \"documentation\": \"https://visionatrix.github.io/VixFlowsDocs/Flows/Colorful_XL.html\",\n \"tags\": [\"general\"]\n}" + "name": "colorful_xl", + "display_name": "Colorful XL", + "description": "Colorful XL model (NSFW)", + "author": "bigcat88", + "homepage": "https://github.com/bigcat88", + "documentation": "https://visionatrix.github.io/VixFlowsDocs/Flows/Colorful_XL.html", + "license": "", + "tags": "[\"general\"]" }, - "class_type": "Text Multiline (Code Compatible)", + "class_type": "VixUiWorkflowMetadata", "_meta": { - "title": "WF_META" + "title": "VixUI-WorkflowMetadata" } } } diff --git a/flows/colorful_xl/flow.json b/flows/colorful_xl/flow.json deleted file mode 100644 index 68dfa5d..0000000 --- a/flows/colorful_xl/flow.json +++ /dev/null @@ -1,129 +0,0 @@ -{ - "input_params": [ - { - "name": "prompt", - "display_name": "Prompt", - "type": "text", - "optional": false, - "comfy_node_id": { - "243": { - "dest_field_name": [ - "inputs", - "text" - ] - } - } - }, - { - "name": "negative_prompt", - "display_name": "Negative Prompt", - "type": "text", - "optional": true, - "advanced": true, - "comfy_node_id": { - "242": { - "dest_field_name": [ - "inputs", - "text" - ] - } - } - }, - { - "name": "aspect_ratio", - "display_name": "Aspect Ratio", - "type": "list", - "optional": true, - "advanced": true, - "default": "2x3 (832x1216)", - "options": { - "1x1 (1024x1024)": [ - 1024, - 1024 - ], - "16x9 (1280x720)": [ - 1280, - 720 - ], - "9x16 (720x1280)": [ - 720, - 1280 - ], - "4x3 (1152x864)": [ - 1152, - 864 - ], - "3x4 (864x1152)": [ - 864, - 1152 - ], - "3x2 (1216x832)": [ - 1216, - 832 - ], - "2x3 (832x1216)": [ - 832, - 1216 - ] - }, - "comfy_node_id": { - "244": { - "dest_field_name": [ - "inputs", - [ - "width", - "height" - ] - ] - } - } - }, - { - "name": "fast_run", - "display_name": "Fast run", - "type": "bool", - "default": false, - "optional": true, - "advanced": true, - "comfy_node_id": { - "267": { - "dest_field_name": [ - "inputs", - "images" - ], - "value": [ - "275", - 0 - ] - } - } - }, - { - "name": "prompt_strength", - "display_name": "Prompt strength", - "type": "range", - "optional": true, - "advanced": true, - "default": 5.0, - "min": 4.5, - "max": 7.0, - "step": 0.1, - "comfy_node_id": { - "27": { - "dest_field_name": [ - "inputs", - "cfg" - ], - "internal_type": "float" - }, - "268": { - "dest_field_name": [ - "inputs", - "cfg" - ], - "internal_type": "float" - } - } - } - ] -} diff --git a/flows/comicu_portrait/flow.json b/flows/comicu_portrait/flow.json deleted file mode 100644 index 2e4f354..0000000 --- a/flows/comicu_portrait/flow.json +++ /dev/null @@ -1,96 +0,0 @@ -{ - "input_params": [ - { - "name": "image", - "display_name": "Person's face", - "type": "image", - "optional": false, - "comfy_node_id": { - "340": { - "dest_field_name": ["inputs", "image"] - } - } - }, - { - "name": "disable_simplest", - "display_name": "Disable Simple style", - "type": "bool", - "optional": true, - "advanced": true, - "default": false, - "comfy_node_id" : { - "384": { - "dest_field_name": ["inputs", ["lora_name", "positive"]], - "value": ["None", "[1{gender}] {prompt}, line-sketch, ((looking at viewer, clear background, white background)), best quality"] - }, - "336": { - "dest_field_name": ["inputs", "weight"], - "value": 0.6 - }, - "357": { - "dest_field_name": ["inputs", ["scheduler", "sampler_name"]], - "value": ["normal", "euler_ancestral"] - } - } - }, - { - "name": "gender", - "display_name": "Base gender", - "type": "list", - "optional": false, - "advanced": false, - "options": { - "Man": "man", - "Girl": "girl", - "Woman": "woman", - "Boy": "boy" - }, - "comfy_node_id": { - "384": { - "src_field_name": ["inputs", "positive"], - "dest_field_name": ["inputs", "positive"], - "modify_param": [ - { - "sub": ["\\{gender\\}"] - } - ] - } - } - }, - { - "name": "prompt", - "display_name": "Prompt", - "type": "text", - "optional": true, - "advanced": true, - "comfy_node_id": { - "384": { - "src_field_name": ["inputs", "positive"], - "dest_field_name": ["inputs", "positive"], - "modify_param": [ - { - "sub": ["\\{prompt\\}"] - } - ] - } - } - }, - { - "name": "prompt_strength", - "display_name": "Prompt strength", - "type": "range", - "optional": true, - "advanced": true, - "default": 4.0, - "min": 4.0, - "max": 9.9, - "step": 0.1, - "comfy_node_id" : { - "357" : { - "dest_field_name": ["inputs", "cfg"], - "internal_type": "float" - } - } - } - ] -} diff --git a/flows/ghibli_portrait/flow.json b/flows/ghibli_portrait/flow.json deleted file mode 100644 index d515a5b..0000000 --- a/flows/ghibli_portrait/flow.json +++ /dev/null @@ -1,73 +0,0 @@ -{ - "input_params": [ - { - "name": "image", - "display_name": "Person's face", - "type": "image", - "optional": false, - "comfy_node_id": { - "340": { - "dest_field_name": ["inputs", "image"] - } - } - }, - { - "name": "gender", - "display_name": "Base gender", - "type": "list", - "optional": false, - "advanced": false, - "options": { - "Man": "man", - "Girl": "girl", - "Woman": "woman", - "Boy": "boy" - }, - "comfy_node_id": { - "290": { - "src_field_name": ["inputs", "text"], - "dest_field_name": ["inputs", "text"], - "modify_param": [ - { - "sub": ["\\{man\\}"] - } - ] - } - } - }, - { - "name": "pose", - "display_name": "Person's face pose", - "type": "image", - "optional": true, - "advanced": true, - "comfy_node_id": { - "346": { - "dest_field_name": ["inputs", "image"], - "node_connect": { - "node_id": "336", - "dest_field_name": ["inputs", "image_kps"] - } - } - } - }, - { - "name": "prompt", - "display_name": "Prompt", - "type": "text", - "optional": true, - "advanced": true, - "comfy_node_id": { - "290": { - "src_field_name": ["inputs", "text"], - "dest_field_name": ["inputs", "text"], - "modify_param": [ - { - "sub": ["\\{prompt\\}"] - } - ] - } - } - } - ] -} diff --git a/flows/ghibli_portrait/flow_comfy.json b/flows/ghibli_portrait/flow_comfy.json deleted file mode 100644 index a23cca4..0000000 --- a/flows/ghibli_portrait/flow_comfy.json +++ /dev/null @@ -1,261 +0,0 @@ -{ - "14": { - "inputs": { - "ckpt_name": "Juggernaut_RunDiffusionPhoto2_Lightning_4Steps.safetensors" - }, - "class_type": "CheckpointLoaderSimple", - "_meta": { - "title": "Load Checkpoint Base" - } - }, - "290": { - "inputs": { - "text": "anime, studio ghibli, ghibli style, {man} {prompt}, split solid color background, portrait, close up, f1.2", - "clip": [ - "379", - 1 - ] - }, - "class_type": "CLIPTextEncode", - "_meta": { - "title": "CLIP Text Encode (Positive Prompt)" - } - }, - "291": { - "inputs": { - "text": "Signature, deformed, smooth, plastic, blurry, grainy, ((hands)), ((hand)), photo\n", - "clip": [ - "379", - 1 - ] - }, - "class_type": "CLIPTextEncode", - "_meta": { - "title": "CLIP Text Encode (Negative Prompt)" - } - }, - "336": { - "inputs": { - "weight": 0.6, - "start_at": 0, - "end_at": 1, - "instantid": [ - "337", - 0 - ], - "insightface": [ - "338", - 0 - ], - "control_net": [ - "339", - 0 - ], - "image": [ - "382", - 0 - ], - "model": [ - "379", - 0 - ], - "positive": [ - "290", - 0 - ], - "negative": [ - "291", - 0 - ] - }, - "class_type": "ApplyInstantID", - "_meta": { - "title": "Apply InstantID" - } - }, - "337": { - "inputs": { - "instantid_file": "instantid-ip-adapter.bin" - }, - "class_type": "InstantIDModelLoader", - "_meta": { - "title": "Load InstantID Model" - } - }, - "338": { - "inputs": { - "provider": "CPU" - }, - "class_type": "InstantIDFaceAnalysis", - "_meta": { - "title": "InstantID Face Analysis" - } - }, - "339": { - "inputs": { - "control_net_name": "instantid-controlnet.safetensors" - }, - "class_type": "ControlNetLoader", - "_meta": { - "title": "Load ControlNet Model" - } - }, - "340": { - "inputs": { - "image": "input.png", - "upload": "image" - }, - "class_type": "LoadImage", - "_meta": { - "title": "face" - } - }, - "345": { - "inputs": { - "width": 832, - "height": 1216, - "batch_size": 1 - }, - "class_type": "EmptyLatentImage", - "_meta": { - "title": "Empty Latent Image" - } - }, - "346": { - "inputs": { - "image": "pose.png", - "upload": "image" - }, - "class_type": "LoadImage", - "_meta": { - "title": "pose" - } - }, - "357": { - "inputs": { - "seed": 2, - "steps": 4, - "cfg": 1.8, - "sampler_name": "dpmpp_sde", - "scheduler": "karras", - "denoise": 1, - "preview_method": "none", - "vae_decode": "true", - "model": [ - "336", - 0 - ], - "positive": [ - "336", - 1 - ], - "negative": [ - "336", - 2 - ], - "latent_image": [ - "345", - 0 - ], - "optional_vae": [ - "14", - 2 - ], - "script": [ - "358", - 0 - ] - }, - "class_type": "KSampler (Efficient)", - "_meta": { - "title": "KSampler (Efficient)" - } - }, - "358": { - "inputs": { - "upscale_type": "latent", - "hires_ckpt_name": "(use same)", - "latent_upscaler": "ttl_nn.SDXL", - "pixel_upscaler": "4x_NMKD-Siax_200k.pth", - "upscale_by": 1.5, - "use_same_seed": true, - "seed": -1, - "hires_steps": 4, - "denoise": 0.5, - "iterations": 1, - "use_controlnet": false, - "control_net_name": "depth-zoe-xl-v1.0-controlnet.safetensors", - "strength": 0.8, - "preprocessor": "DepthAnythingPreprocessor", - "preprocessor_imgs": true - }, - "class_type": "HighRes-Fix Script", - "_meta": { - "title": "HighRes-Fix Script" - } - }, - "359": { - "inputs": { - "filename_prefix": "Ghibli Portrait Studio/img_", - "images": [ - "357", - 5 - ] - }, - "class_type": "SaveImage", - "_meta": { - "title": "Save Image" - } - }, - "379": { - "inputs": { - "lora_name": "StudioGhibli.Redmond-StdGBRRedmAF-StudioGhibli.safetensors", - "strength_model": 1, - "strength_clip": 1, - "model": [ - "14", - 0 - ], - "clip": [ - "14", - 1 - ] - }, - "class_type": "LoraLoader", - "_meta": { - "title": "Load LoRA" - } - }, - "381": { - "inputs": {}, - "class_type": "BRIA_RMBG_ModelLoader_Zho", - "_meta": { - "title": "🧹BRIA_RMBG Model Loader" - } - }, - "382": { - "inputs": { - "rmbgmodel": [ - "381", - 0 - ], - "image": [ - "340", - 0 - ] - }, - "class_type": "BRIA_RMBG_Zho", - "_meta": { - "title": "🧹BRIA RMBG" - } - }, - "383": { - "inputs": { - "text": "{\n \"name\": \"ghibli_portrait\",\n \"display_name\": \"Ghibli Portrait\",\n \"description\": \"Person portrait in Ghibli Studio style(Anime)\",\n \"author\": \"Datou\",\n \"homepage\": \"https://openart.ai/workflows/datou/ghibli-portrait-studio/pGOmpWZycgG57085CONU\",\n \"license\": \"\",\n \"documentation\": \"https://visionatrix.github.io/VixFlowsDocs/Flows/GhibliPortrait.html\",\n \"tags\": [\"anime\", \"portrait\"]\n}" - }, - "class_type": "Text Multiline (Code Compatible)", - "_meta": { - "title": "WF_META" - } - } -} diff --git a/flows/juggernaut_lite/flow.json b/flows/juggernaut_lite/flow.json deleted file mode 100644 index 823c6a4..0000000 --- a/flows/juggernaut_lite/flow.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "input_params": [ - { - "name": "prompt", - "display_name": "Prompt", - "type": "text", - "optional": false, - "comfy_node_id": { - "243": { - "dest_field_name": ["inputs", "text"] - } - } - }, - { - "name": "negative_prompt", - "display_name": "Negative Prompt", - "type": "text", - "optional": true, - "advanced": true, - "comfy_node_id": { - "242": { - "dest_field_name": ["inputs", "text"] - } - } - }, - { - "name": "aspect_ratio", - "display_name": "Aspect Ratio", - "type": "list", - "optional": true, - "advanced": true, - "default": "2x3 (832x1216)", - "options": { - "1x1 (1024x1024)": [1024, 1024], - "16x9 (1280x720)": [1280, 720], - "9x16 (720x1280)": [720, 1280], - "4x3 (1152x864)": [1152, 864], - "3x4 (864x1152)": [864, 1152], - "3x2 (1216x832)": [1216, 832], - "2x3 (832x1216)": [832, 1216] - }, - "comfy_node_id": { - "244": { - "dest_field_name": ["inputs", ["width", "height"]] - } - } - } - ] -} diff --git a/flows/juggernaut_lite/flow_comfy.json b/flows/juggernaut_lite/flow_comfy.json deleted file mode 100644 index b7b08a0..0000000 --- a/flows/juggernaut_lite/flow_comfy.json +++ /dev/null @@ -1,278 +0,0 @@ -{ - "2": { - "inputs": { - "ckpt_name": "juggernautXL_v8Rundiffusion.safetensors" - }, - "class_type": "CheckpointLoaderSimple", - "_meta": { - "title": "Load Checkpoint" - } - }, - "3": { - "inputs": { - "lora_name": "sdxl_lightning_8step_lora.safetensors", - "strength_model": 0.5, - "model": [ - "254", - 0 - ] - }, - "class_type": "LoraLoaderModelOnly", - "_meta": { - "title": "LoraLoaderModelOnly" - } - }, - "7": { - "inputs": { - "lora_name": "sdxl_lightning_8step_lora.safetensors", - "strength_model": 0.5, - "strength_clip": 1, - "model": [ - "3", - 0 - ], - "clip": [ - "254", - 1 - ] - }, - "class_type": "LoraLoader", - "_meta": { - "title": "Load LoRA" - } - }, - "13": { - "inputs": { - "vae_name": "sdxl_vae.safetensors" - }, - "class_type": "VAELoader", - "_meta": { - "title": "Load VAE" - } - }, - "27": { - "inputs": { - "seed": 408511007742928, - "steps": 8, - "cfg": 1, - "sampler_name": "dpmpp_sde", - "scheduler": "sgm_uniform", - "denoise": 1, - "model": [ - "7", - 0 - ], - "positive": [ - "243", - 0 - ], - "negative": [ - "242", - 0 - ], - "latent_image": [ - "244", - 0 - ] - }, - "class_type": "KSampler", - "_meta": { - "title": "KSampler" - } - }, - "116": { - "inputs": { - "samples": [ - "27", - 0 - ], - "vae": [ - "13", - 0 - ] - }, - "class_type": "VAEDecode", - "_meta": { - "title": "VAE Decode" - } - }, - "242": { - "inputs": { - "text": "asian, child, penis, embedding:ng_deepnegative_v1_75t, embedding:negative_hand-neg, (worst quality, low quality:2), lowres, bad anatomy, normal quality, monochrome, grayscale, ((signature, text, watermark))", - "clip": [ - "7", - 1 - ] - }, - "class_type": "CLIPTextEncode", - "_meta": { - "title": "CLIP Text Encode (Prompt)" - } - }, - "243": { - "inputs": { - "text": "", - "clip": [ - "7", - 1 - ] - }, - "class_type": "CLIPTextEncode", - "_meta": { - "title": "CLIP Text Encode (Prompt)" - } - }, - "244": { - "inputs": { - "width": 832, - "height": 1216, - "batch_size": 1 - }, - "class_type": "EmptyLatentImage", - "_meta": { - "title": "Empty Latent Image" - } - }, - "254": { - "inputs": { - "lora_name": "add-detail-xl.safetensors", - "strength_model": 0.5, - "strength_clip": 1, - "model": [ - "2", - 0 - ], - "clip": [ - "2", - 1 - ] - }, - "class_type": "LoraLoader", - "_meta": { - "title": "Load LoRA" - } - }, - "259": { - "inputs": { - "model_name": "4x-UltraSharp.pth" - }, - "class_type": "UpscaleModelLoader", - "_meta": { - "title": "Load Upscale Model" - } - }, - "260": { - "inputs": { - "upscale_model": [ - "259", - 0 - ], - "image": [ - "116", - 0 - ] - }, - "class_type": "ImageUpscaleWithModel", - "_meta": { - "title": "Upscale Image (using Model)" - } - }, - "261": { - "inputs": { - "upscale_method": "bicubic", - "scale_by": 0.25, - "image": [ - "260", - 0 - ] - }, - "class_type": "ImageScaleBy", - "_meta": { - "title": "Upscale Image By" - } - }, - "262": { - "inputs": { - "pixels": [ - "261", - 0 - ], - "vae": [ - "13", - 0 - ] - }, - "class_type": "VAEEncode", - "_meta": { - "title": "VAE Encode" - } - }, - "263": { - "inputs": { - "seed": 646745642644354, - "steps": 10, - "cfg": 5, - "sampler_name": "dpmpp_2m", - "scheduler": "exponential", - "denoise": 0.3, - "model": [ - "254", - 0 - ], - "positive": [ - "243", - 0 - ], - "negative": [ - "242", - 0 - ], - "latent_image": [ - "262", - 0 - ] - }, - "class_type": "KSampler", - "_meta": { - "title": "KSampler" - } - }, - "264": { - "inputs": { - "samples": [ - "263", - 0 - ], - "vae": [ - "13", - 0 - ] - }, - "class_type": "VAEDecode", - "_meta": { - "title": "VAE Decode" - } - }, - "266": { - "inputs": { - "filename_prefix": "ComfyUI", - "images": [ - "264", - 0 - ] - }, - "class_type": "SaveImage", - "_meta": { - "title": "Save Image" - } - }, - "267": { - "inputs": { - "text": "{\n \"name\": \"juggernaut_lite\",\n \"display_name\": \"Juggernaut Lite\",\n \"description\": \"Juggernaut + LoRAs with post processing\",\n \"author\": \"Valomar\",\n \"homepage\": \"https://comfyworkflows.com/profile/86edf4d7-d110-498d-b4e0-4cacadee750e\",\n \"license\": \"\",\n \"documentation\": \"https://visionatrix.github.io/VixFlowsDocs/Flows/Juggernaut_Lite.html\",\n \"tags\": [\"general\"]\n}" - }, - "class_type": "Text Multiline (Code Compatible)", - "_meta": { - "title": "WF_META" - } - } -} diff --git a/flows/juggernaut_xl/flow.json b/flows/juggernaut_xl/flow.json deleted file mode 100644 index c3e8233..0000000 --- a/flows/juggernaut_xl/flow.json +++ /dev/null @@ -1,84 +0,0 @@ -{ - "input_params": [ - { - "name": "prompt", - "display_name": "Prompt", - "type": "text", - "optional": false, - "comfy_node_id": { - "243": { - "dest_field_name": ["inputs", "text"] - } - } - }, - { - "name": "negative_prompt", - "display_name": "Negative Prompt", - "type": "text", - "optional": true, - "advanced": true, - "comfy_node_id": { - "242": { - "dest_field_name": ["inputs", "text"] - } - } - }, - { - "name": "aspect_ratio", - "display_name": "Aspect Ratio", - "type": "list", - "optional": true, - "advanced": true, - "default": "2x3 (832x1216)", - "options": { - "1x1 (1024x1024)": [1024, 1024], - "16x9 (1280x720)": [1280, 720], - "9x16 (720x1280)": [720, 1280], - "4x3 (1152x864)": [1152, 864], - "3x4 (864x1152)": [864, 1152], - "3x2 (1216x832)": [1216, 832], - "2x3 (832x1216)": [832, 1216] - }, - "comfy_node_id": { - "244": { - "dest_field_name": ["inputs", ["width", "height"]] - } - } - }, - { - "name": "fast_run", - "display_name": "Fast run", - "type": "bool", - "default": false, - "optional": true, - "advanced": true, - "comfy_node_id": { - "267": { - "dest_field_name": ["inputs", "images"], - "value": ["275", 0] - } - } - }, - { - "name": "prompt_strength", - "display_name": "Prompt strength", - "type": "range", - "optional": true, - "advanced": true, - "default": 4.0, - "min": 4.0, - "max": 7.0, - "step": 0.1, - "comfy_node_id" : { - "27" : { - "dest_field_name": ["inputs", "cfg"], - "internal_type": "float" - }, - "268" : { - "dest_field_name": ["inputs", "cfg"], - "internal_type": "float" - } - } - } - ] -} diff --git a/flows/juggernaut_xl/flow_comfy.json b/flows/juggernaut_xl/flow_comfy.json deleted file mode 100644 index df11c6e..0000000 --- a/flows/juggernaut_xl/flow_comfy.json +++ /dev/null @@ -1,215 +0,0 @@ -{ - "2": { - "inputs": { - "ckpt_name": "Juggernaut-X-RunDiffusion-NSFW.safetensors" - }, - "class_type": "CheckpointLoaderSimple", - "_meta": { - "title": "Load Checkpoint" - } - }, - "13": { - "inputs": { - "vae_name": "sdxl_vae.safetensors" - }, - "class_type": "VAELoader", - "_meta": { - "title": "Load VAE" - } - }, - "27": { - "inputs": { - "seed": 376336750880278, - "steps": 50, - "cfg": 4, - "sampler_name": "euler", - "scheduler": "karras", - "denoise": 1, - "model": [ - "254", - 0 - ], - "positive": [ - "243", - 0 - ], - "negative": [ - "242", - 0 - ], - "latent_image": [ - "244", - 0 - ] - }, - "class_type": "KSampler", - "_meta": { - "title": "KSampler" - } - }, - "116": { - "inputs": { - "samples": [ - "27", - 0 - ], - "vae": [ - "13", - 0 - ] - }, - "class_type": "VAEDecode", - "_meta": { - "title": "VAE Decode" - } - }, - "242": { - "inputs": { - "text": "embedding:ng_deepnegative_v1_75t, embedding:negative_hand-neg, (worst quality, low quality:2), lowres, bad anatomy, normal quality, monochrome, grayscale, ((signature, text, watermark))", - "clip": [ - "254", - 1 - ] - }, - "class_type": "CLIPTextEncode", - "_meta": { - "title": "CLIP Text Encode (Prompt)" - } - }, - "243": { - "inputs": { - "text": "", - "clip": [ - "254", - 1 - ] - }, - "class_type": "CLIPTextEncode", - "_meta": { - "title": "CLIP Text Encode (Prompt)" - } - }, - "244": { - "inputs": { - "width": 832, - "height": 1216, - "batch_size": 1 - }, - "class_type": "EmptyLatentImage", - "_meta": { - "title": "Empty Latent Image" - } - }, - "254": { - "inputs": { - "lora_name": "add-detail-xl.safetensors", - "strength_model": 0.5, - "strength_clip": 1, - "model": [ - "2", - 0 - ], - "clip": [ - "2", - 1 - ] - }, - "class_type": "LoraLoader", - "_meta": { - "title": "Load LoRA" - } - }, - "267": { - "inputs": { - "filename_prefix": "ComfyUI", - "images": [ - "116", - 0 - ] - }, - "class_type": "SaveImage", - "_meta": { - "title": "Save Image" - } - }, - "268": { - "inputs": { - "add_noise": true, - "noise_seed": 618748884544708, - "cfg": 4, - "model": [ - "254", - 0 - ], - "positive": [ - "243", - 0 - ], - "negative": [ - "242", - 0 - ], - "sampler": [ - "273", - 0 - ], - "sigmas": [ - "270", - 0 - ], - "latent_image": [ - "244", - 0 - ] - }, - "class_type": "SamplerCustom", - "_meta": { - "title": "SamplerCustom" - } - }, - "270": { - "inputs": { - "model_type": "SDXL", - "steps": 20, - "denoise": 1 - }, - "class_type": "AlignYourStepsScheduler", - "_meta": { - "title": "AlignYourStepsScheduler" - } - }, - "273": { - "inputs": { - "sampler_name": "dpmpp_2m" - }, - "class_type": "KSamplerSelect", - "_meta": { - "title": "KSamplerSelect" - } - }, - "275": { - "inputs": { - "samples": [ - "268", - 0 - ], - "vae": [ - "13", - 0 - ] - }, - "class_type": "VAEDecode", - "_meta": { - "title": "VAE Decode" - } - }, - "276": { - "inputs": { - "text": "{\n \"name\": \"juggernaut_xl\",\n \"display_name\": \"Juggernaut XL\",\n \"description\": \"Juggernaut XL Community Version (NSFW)\",\n \"author\": \"bigcat88\",\n \"homepage\": \"https://github.com/bigcat88\",\n \"license\": \"\",\n \"documentation\": \"https://visionatrix.github.io/VixFlowsDocs/Flows/Juggernaut_XL.html\",\n \"tags\": [\"general\"]\n}" - }, - "class_type": "Text Multiline (Code Compatible)", - "_meta": { - "title": "WF_META" - } - } -} diff --git a/flows/memoji_portrait/flow.json b/flows/memoji_portrait/flow.json deleted file mode 100644 index f8e43aa..0000000 --- a/flows/memoji_portrait/flow.json +++ /dev/null @@ -1,75 +0,0 @@ -{ - "input_params": [ - { - "name": "image", - "display_name": "Person's face", - "type": "image", - "optional": false, - "comfy_node_id": { - "340": { - "dest_field_name": [ - "inputs", - "image" - ] - } - } - }, - { - "name": "prompt", - "display_name": "Prompt", - "type": "text", - "optional": false, - "advanced": false, - "default": "girl, portrait, close up", - "comfy_node_id": { - "290": { - "dest_field_name": [ - "inputs", - "text" - ] - } - } - }, - { - "name": "pose", - "display_name": "Person's face pose", - "type": "image", - "optional": true, - "advanced": true, - "comfy_node_id": { - "346": { - "dest_field_name": [ - "inputs", - "image" - ], - "node_connect": { - "node_id": "336", - "dest_field_name": [ - "inputs", - "image_kps" - ] - } - } - } - }, - { - "name": "extra_size", - "display_name": "Perform 1.5x scaling", - "type": "bool", - "default": false, - "optional": true, - "advanced": true, - "comfy_node_id": { - "358": { - "node_connect": { - "node_id": "357", - "dest_field_name": [ - "inputs", - "script" - ] - } - } - } - } - ] -} diff --git a/flows/memoji_portrait/flow_comfy.json b/flows/memoji_portrait/flow_comfy.json deleted file mode 100644 index 8cde751..0000000 --- a/flows/memoji_portrait/flow_comfy.json +++ /dev/null @@ -1,248 +0,0 @@ -{ - "14": { - "inputs": { - "ckpt_name": "DreamShaperXL_Lightning.safetensors" - }, - "class_type": "CheckpointLoaderSimple", - "_meta": { - "title": "Load Checkpoint Base" - } - }, - "290": { - "inputs": { - "text": "girl, portrait, close up", - "clip": [ - "379", - 1 - ] - }, - "class_type": "CLIPTextEncode", - "_meta": { - "title": "CLIP Text Encode (Positive Prompt)" - } - }, - "291": { - "inputs": { - "text": "Signature, deformed, smooth, plastic, blurry, grainy, closed eyes, ((hands)), ((hand)), (freckle, spot:1.4)\n", - "clip": [ - "379", - 1 - ] - }, - "class_type": "CLIPTextEncode", - "_meta": { - "title": "CLIP Text Encode (Negative Prompt)" - } - }, - "336": { - "inputs": { - "weight": 0.6, - "start_at": 0, - "end_at": 1, - "instantid": [ - "337", - 0 - ], - "insightface": [ - "338", - 0 - ], - "control_net": [ - "339", - 0 - ], - "image": [ - "340", - 0 - ], - "model": [ - "379", - 0 - ], - "positive": [ - "290", - 0 - ], - "negative": [ - "291", - 0 - ] - }, - "class_type": "ApplyInstantID", - "_meta": { - "title": "Apply InstantID" - } - }, - "337": { - "inputs": { - "instantid_file": "instantid-ip-adapter.bin" - }, - "class_type": "InstantIDModelLoader", - "_meta": { - "title": "Load InstantID Model" - } - }, - "338": { - "inputs": { - "provider": "CPU" - }, - "class_type": "InstantIDFaceAnalysis", - "_meta": { - "title": "InstantID Face Analysis" - } - }, - "339": { - "inputs": { - "control_net_name": "instantid-controlnet.safetensors" - }, - "class_type": "ControlNetLoader", - "_meta": { - "title": "Load ControlNet Model" - } - }, - "340": { - "inputs": { - "image": "jul5.png", - "upload": "image" - }, - "class_type": "LoadImage", - "_meta": { - "title": "face" - } - }, - "345": { - "inputs": { - "width": 1016, - "height": 1016, - "batch_size": 1 - }, - "class_type": "EmptyLatentImage", - "_meta": { - "title": "Empty Latent Image" - } - }, - "346": { - "inputs": { - "image": "jul5 (1).png", - "upload": "image" - }, - "class_type": "LoadImage", - "_meta": { - "title": "pose" - } - }, - "357": { - "inputs": { - "seed": 110504518086022, - "steps": 4, - "cfg": 3, - "sampler_name": "dpmpp_sde", - "scheduler": "karras", - "denoise": 1, - "preview_method": "none", - "vae_decode": "true", - "model": [ - "381", - 0 - ], - "positive": [ - "336", - 1 - ], - "negative": [ - "336", - 2 - ], - "latent_image": [ - "345", - 0 - ], - "optional_vae": [ - "14", - 2 - ] - }, - "class_type": "KSampler (Efficient)", - "_meta": { - "title": "KSampler (Efficient)" - } - }, - "358": { - "inputs": { - "upscale_type": "latent", - "hires_ckpt_name": "(use same)", - "latent_upscaler": "ttl_nn.SDXL", - "pixel_upscaler": "4x_NMKD-Siax_200k.pth", - "upscale_by": 1.5, - "use_same_seed": true, - "seed": -1, - "hires_steps": 4, - "denoise": 0.5, - "iterations": 1, - "use_controlnet": false, - "control_net_name": "depth-zoe-xl-v1.0-controlnet.safetensors", - "strength": 0.8, - "preprocessor": "DepthAnythingPreprocessor", - "preprocessor_imgs": true - }, - "class_type": "HighRes-Fix Script", - "_meta": { - "title": "HighRes-Fix Script" - } - }, - "359": { - "inputs": { - "filename_prefix": "Memoji/img_", - "images": [ - "357", - 5 - ] - }, - "class_type": "SaveImage", - "_meta": { - "title": "@Datou https://twitter.com/Datou" - } - }, - "379": { - "inputs": { - "lora_name": "memoji_1024-000005.safetensors", - "strength_model": 1, - "strength_clip": 0.8, - "model": [ - "14", - 0 - ], - "clip": [ - "14", - 1 - ] - }, - "class_type": "LoraLoader", - "_meta": { - "title": "Load LoRA" - } - }, - "381": { - "inputs": { - "hard_mode": true, - "boost": true, - "model": [ - "336", - 0 - ] - }, - "class_type": "Automatic CFG", - "_meta": { - "title": "Automatic CFG" - } - }, - "382": { - "inputs": { - "text": "{\n \"name\": \"memoji_portrait\",\n \"display_name\": \"Memoji Portrait\",\n \"description\": \"Portrait photos as a Memoji\",\n \"author\": \"Datou\",\n \"homepage\": \"https://openart.ai/workflows/datou/memoji/Lcprla9BQL29IFVjC93l\",\n \"license\": \"\",\n \"documentation\": \"https://visionatrix.github.io/VixFlowsDocs/Flows/MemojiPortrait.html\",\n \"tags\": [\"cartoon\", \"portrait\"]\n}" - }, - "class_type": "Text Multiline (Code Compatible)", - "_meta": { - "title": "WF_META" - } - } -} diff --git a/flows/mobius_xl/flow.json b/flows/mobius_xl/flow.json deleted file mode 100644 index e5ca736..0000000 --- a/flows/mobius_xl/flow.json +++ /dev/null @@ -1,80 +0,0 @@ -{ - "input_params": [ - { - "name": "prompt", - "display_name": "Prompt", - "type": "text", - "optional": false, - "comfy_node_id": { - "243": { - "dest_field_name": [ - "inputs", - "text" - ] - } - } - }, - { - "name": "negative_prompt", - "display_name": "Negative Prompt", - "type": "text", - "optional": true, - "advanced": true, - "comfy_node_id": { - "242": { - "dest_field_name": [ - "inputs", - "text" - ] - } - } - }, - { - "name": "fast_run", - "display_name": "Fast run", - "type": "bool", - "default": false, - "optional": true, - "advanced": true, - "comfy_node_id": { - "267": { - "dest_field_name": [ - "inputs", - "images" - ], - "value": [ - "275", - 0 - ] - } - } - }, - { - "name": "prompt_strength", - "display_name": "Prompt strength", - "type": "range", - "optional": true, - "advanced": true, - "default": 5.0, - "min": 3.5, - "max": 7.0, - "step": 0.1, - "comfy_node_id": { - "27": { - "dest_field_name": [ - "inputs", - "cfg" - ], - "internal_type": "float" - }, - "268": { - "dest_field_name": [ - "inputs", - "cfg" - ], - "internal_type": "float" - } - } - } - ] -} diff --git a/flows/mobius_xl/flow_comfy.json b/flows/mobius_xl/flow_comfy.json deleted file mode 100644 index 27292cf..0000000 --- a/flows/mobius_xl/flow_comfy.json +++ /dev/null @@ -1,209 +0,0 @@ -{ - "2": { - "inputs": { - "ckpt_name": "mobius-fp16.safetensors" - }, - "class_type": "CheckpointLoaderSimple", - "_meta": { - "title": "Load Checkpoint" - } - }, - "27": { - "inputs": { - "seed": 1, - "steps": 50, - "cfg": 7, - "sampler_name": "dpmpp_3m_sde", - "scheduler": "karras", - "denoise": 1, - "model": [ - "2", - 0 - ], - "positive": [ - "243", - 0 - ], - "negative": [ - "242", - 0 - ], - "latent_image": [ - "244", - 0 - ] - }, - "class_type": "KSampler", - "_meta": { - "title": "KSampler" - } - }, - "116": { - "inputs": { - "samples": [ - "27", - 0 - ], - "vae": [ - "278", - 0 - ] - }, - "class_type": "VAEDecode", - "_meta": { - "title": "VAE Decode" - } - }, - "242": { - "inputs": { - "text": "", - "clip": [ - "290", - 0 - ] - }, - "class_type": "CLIPTextEncode", - "_meta": { - "title": "CLIP Text Encode (Prompt)" - } - }, - "243": { - "inputs": { - "text": "", - "clip": [ - "290", - 0 - ] - }, - "class_type": "CLIPTextEncode", - "_meta": { - "title": "CLIP Text Encode (Prompt)" - } - }, - "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" - } - }, - "268": { - "inputs": { - "add_noise": true, - "noise_seed": 1, - "cfg": 4, - "model": [ - "2", - 0 - ], - "positive": [ - "243", - 0 - ], - "negative": [ - "242", - 0 - ], - "sampler": [ - "273", - 0 - ], - "sigmas": [ - "270", - 0 - ], - "latent_image": [ - "244", - 0 - ] - }, - "class_type": "SamplerCustom", - "_meta": { - "title": "SamplerCustom" - } - }, - "270": { - "inputs": { - "model_type": "SDXL", - "steps": 20, - "denoise": 1 - }, - "class_type": "AlignYourStepsScheduler", - "_meta": { - "title": "AlignYourStepsScheduler" - } - }, - "273": { - "inputs": { - "sampler_name": "dpmpp_2m_sde" - }, - "class_type": "KSamplerSelect", - "_meta": { - "title": "KSamplerSelect" - } - }, - "275": { - "inputs": { - "samples": [ - "268", - 0 - ], - "vae": [ - "278", - 0 - ] - }, - "class_type": "VAEDecode", - "_meta": { - "title": "VAE Decode" - } - }, - "278": { - "inputs": { - "vae_name": "sdxl_vae.safetensors" - }, - "class_type": "VAELoader", - "_meta": { - "title": "Load VAE" - } - }, - "290": { - "inputs": { - "stop_at_clip_layer": -3, - "clip": [ - "2", - 1 - ] - }, - "class_type": "CLIPSetLastLayer", - "_meta": { - "title": "CLIP Set Last Layer" - } - }, - "291": { - "inputs": { - "text": "{\n \"name\": \"mobius_xl\",\n \"display_name\": \"Mobius XL\",\n \"description\": \"Mobius XL model\",\n \"author\": \"bigcat88\",\n \"homepage\": \"https://github.com/bigcat88\",\n \"license\": \"\",\n \"documentation\": \"https://visionatrix.github.io/VixFlowsDocs/Flows/Mobius_XL.html\",\n \"tags\": [\"general\"]\n}" - }, - "class_type": "Text Multiline (Code Compatible)", - "_meta": { - "title": "WF_META" - } - } -} diff --git a/flows/photo_stickers/flow.json b/flows/photo_stickers/flow.json deleted file mode 100644 index 0923be3..0000000 --- a/flows/photo_stickers/flow.json +++ /dev/null @@ -1,102 +0,0 @@ -{ - "input_params": [ - { - "name": "image", - "display_name": "Person's face", - "type": "image", - "optional": false, - "comfy_node_id": { - "22": { - "dest_field_name": ["inputs", "image"] - } - } - }, - { - "name": "gender", - "display_name": "Base gender", - "type": "list", - "optional": false, - "advanced": false, - "options": { - "Man": "man", - "Girl": "girl", - "Woman": "woman", - "Boy": "boy" - }, - "comfy_node_id": { - "88": { - "src_field_name": ["inputs", "text"], - "dest_field_name": ["inputs", "text"], - "modify_param": [ - { - "sub": ["\\{man\\}"] - } - ] - }, - "91": { - "src_field_name": ["inputs", "text"], - "dest_field_name": ["inputs", "text"], - "modify_param": [ - { - "sub": ["\\{man\\}"] - } - ] - }, - "284": { - "src_field_name": ["inputs", "text"], - "dest_field_name": ["inputs", "text"], - "modify_param": [ - { - "sub": ["\\{man\\}"] - } - ] - }, - "287": { - "src_field_name": ["inputs", "text"], - "dest_field_name": ["inputs", "text"], - "modify_param": [ - { - "sub": ["\\{man\\}"] - } - ] - }, - "298": { - "src_field_name": ["inputs", "text"], - "dest_field_name": ["inputs", "text"], - "modify_param": [ - { - "sub": ["\\{man\\}"] - } - ] - }, - "301": { - "src_field_name": ["inputs", "text"], - "dest_field_name": ["inputs", "text"], - "modify_param": [ - { - "sub": ["\\{man\\}"] - } - ] - }, - "326": { - "src_field_name": ["inputs", "text"], - "dest_field_name": ["inputs", "text"], - "modify_param": [ - { - "sub": ["\\{man\\}"] - } - ] - }, - "329": { - "src_field_name": ["inputs", "text"], - "dest_field_name": ["inputs", "text"], - "modify_param": [ - { - "sub": ["\\{man\\}"] - } - ] - } - } - } - ] -} diff --git a/flows/photo_stickers/flow_comfy.json b/flows/photo_stickers/flow_comfy.json deleted file mode 100644 index f9df151..0000000 --- a/flows/photo_stickers/flow_comfy.json +++ /dev/null @@ -1,926 +0,0 @@ -{ - "10": { - "inputs": { - "filename_prefix": "ComfyUI", - "images": [ - "338", - 0 - ] - }, - "class_type": "SaveImage", - "_meta": { - "title": "Save Image" - } - }, - "22": { - "inputs": { - "image": "input.png", - "upload": "image" - }, - "class_type": "LoadImage", - "_meta": { - "title": "Load Image" - } - }, - "35": { - "inputs": { - "instantid_file": "instantid-ip-adapter.bin" - }, - "class_type": "InstantIDModelLoader", - "_meta": { - "title": "Load InstantID Model" - } - }, - "36": { - "inputs": { - "provider": "CPU" - }, - "class_type": "InstantIDFaceAnalysis", - "_meta": { - "title": "InstantID Face Analysis" - } - }, - "40": { - "inputs": { - "control_net_name": "instantid-controlnet.safetensors" - }, - "class_type": "ControlNetLoader", - "_meta": { - "title": "Load ControlNet Model" - } - }, - "41": { - "inputs": { - "weight": 1, - "start_at": 0, - "end_at": 1, - "instantid": [ - "35", - 0 - ], - "insightface": [ - "36", - 0 - ], - "control_net": [ - "40", - 0 - ], - "image": [ - "330", - 0 - ], - "model": [ - "59", - 0 - ], - "positive": [ - "91", - 0 - ], - "negative": [ - "335", - 0 - ], - "image_kps": [ - "353", - 0 - ] - }, - "class_type": "ApplyInstantID", - "_meta": { - "title": "Apply InstantID" - } - }, - "59": { - "inputs": { - "lora_name": "StickersRedmond.safetensors", - "strength_model": 1, - "strength_clip": 1, - "model": [ - "60", - 0 - ], - "clip": [ - "60", - 1 - ] - }, - "class_type": "LoraLoader", - "_meta": { - "title": "Load LoRA" - } - }, - "60": { - "inputs": { - "ckpt_name": "DreamShaperXL_Lightning.safetensors" - }, - "class_type": "CheckpointLoaderSimple", - "_meta": { - "title": "Load Checkpoint" - } - }, - "63": { - "inputs": { - "width": 1016, - "height": 1016, - "batch_size": 1 - }, - "class_type": "EmptyLatentImage", - "_meta": { - "title": "Empty Latent Image" - } - }, - "69": { - "inputs": { - "width": 1024, - "height": 1024, - "batch_size": 1 - }, - "class_type": "EmptyLatentImage", - "_meta": { - "title": "Empty Latent Image" - } - }, - "79": { - "inputs": { - "filename_prefix": "ComfyUI", - "images": [ - "276", - 0 - ] - }, - "class_type": "SaveImage", - "_meta": { - "title": "Save Image" - } - }, - "80": { - "inputs": { - "filename_prefix": "ComfyUI", - "images": [ - "290", - 0 - ] - }, - "class_type": "SaveImage", - "_meta": { - "title": "Save Image" - } - }, - "82": { - "inputs": { - "filename_prefix": "ComfyUI", - "images": [ - "318", - 0 - ] - }, - "class_type": "SaveImage", - "_meta": { - "title": "Save Image" - } - }, - "88": { - "inputs": { - "text": "half body, looking at viewer, [1 {man}] laughing", - "clip": [ - "60", - 1 - ] - }, - "class_type": "CLIPTextEncode", - "_meta": { - "title": "CLIP Text Encode (Prompt)" - } - }, - "91": { - "inputs": { - "text": "half body, looking at viewer, [1 {man}] laughing, Sticker, svg, vector art, sharp, kawaii style, Anime style ", - "clip": [ - "59", - 1 - ] - }, - "class_type": "CLIPTextEncode", - "_meta": { - "title": "CLIP Text Encode (Prompt)" - } - }, - "275": { - "inputs": {}, - "class_type": "BRIA_RMBG_ModelLoader_Zho", - "_meta": { - "title": "🧹BRIA_RMBG Model Loader" - } - }, - "276": { - "inputs": { - "rmbgmodel": [ - "275", - 0 - ], - "image": [ - "343", - 0 - ] - }, - "class_type": "BRIA_RMBG_Zho", - "_meta": { - "title": "🧹BRIA RMBG" - } - }, - "280": { - "inputs": { - "weight": 1, - "start_at": 0, - "end_at": 1, - "instantid": [ - "35", - 0 - ], - "insightface": [ - "36", - 0 - ], - "control_net": [ - "40", - 0 - ], - "image": [ - "22", - 0 - ], - "model": [ - "59", - 0 - ], - "positive": [ - "287", - 0 - ], - "negative": [ - "335", - 0 - ], - "image_kps": [ - "352", - 0 - ] - }, - "class_type": "ApplyInstantID", - "_meta": { - "title": "Apply InstantID" - } - }, - "284": { - "inputs": { - "text": "half body, looking at viewer, [1 {man}] angry", - "clip": [ - "60", - 1 - ] - }, - "class_type": "CLIPTextEncode", - "_meta": { - "title": "CLIP Text Encode (Prompt)" - } - }, - "287": { - "inputs": { - "text": "half body, looking at viewer, [1 {man}] angry, Sticker, svg, vector art, sharp, kawaii style, Anime style ", - "clip": [ - "59", - 1 - ] - }, - "class_type": "CLIPTextEncode", - "_meta": { - "title": "CLIP Text Encode (Prompt)" - } - }, - "289": { - "inputs": {}, - "class_type": "BRIA_RMBG_ModelLoader_Zho", - "_meta": { - "title": "🧹BRIA_RMBG Model Loader" - } - }, - "290": { - "inputs": { - "rmbgmodel": [ - "289", - 0 - ], - "image": [ - "344", - 0 - ] - }, - "class_type": "BRIA_RMBG_Zho", - "_meta": { - "title": "🧹BRIA RMBG" - } - }, - "294": { - "inputs": { - "weight": 1, - "start_at": 0, - "end_at": 1, - "instantid": [ - "35", - 0 - ], - "insightface": [ - "36", - 0 - ], - "control_net": [ - "40", - 0 - ], - "image": [ - "22", - 0 - ], - "model": [ - "59", - 0 - ], - "positive": [ - "301", - 0 - ], - "negative": [ - "335", - 0 - ], - "image_kps": [ - "350", - 0 - ] - }, - "class_type": "ApplyInstantID", - "_meta": { - "title": "Apply InstantID" - } - }, - "298": { - "inputs": { - "text": "half body, looking at viewer, [1 {man}] shocked", - "clip": [ - "60", - 1 - ] - }, - "class_type": "CLIPTextEncode", - "_meta": { - "title": "CLIP Text Encode (Prompt)" - } - }, - "301": { - "inputs": { - "text": "half body, looking at viewer, [1 {man}] shocked, Sticker, svg, vector art, sharp, kawaii style, Anime style ", - "clip": [ - "59", - 1 - ] - }, - "class_type": "CLIPTextEncode", - "_meta": { - "title": "CLIP Text Encode (Prompt)" - } - }, - "317": { - "inputs": {}, - "class_type": "BRIA_RMBG_ModelLoader_Zho", - "_meta": { - "title": "🧹BRIA_RMBG Model Loader" - } - }, - "318": { - "inputs": { - "rmbgmodel": [ - "317", - 0 - ], - "image": [ - "346", - 0 - ] - }, - "class_type": "BRIA_RMBG_Zho", - "_meta": { - "title": "🧹BRIA RMBG" - } - }, - "322": { - "inputs": { - "weight": 1, - "start_at": 0, - "end_at": 1, - "instantid": [ - "35", - 0 - ], - "insightface": [ - "36", - 0 - ], - "control_net": [ - "40", - 0 - ], - "image": [ - "22", - 0 - ], - "model": [ - "59", - 0 - ], - "positive": [ - "329", - 0 - ], - "negative": [ - "335", - 0 - ], - "image_kps": [ - "349", - 0 - ] - }, - "class_type": "ApplyInstantID", - "_meta": { - "title": "Apply InstantID" - } - }, - "326": { - "inputs": { - "text": "half body, looking at viewer, [1 {man}] sad", - "clip": [ - "60", - 1 - ] - }, - "class_type": "CLIPTextEncode", - "_meta": { - "title": "CLIP Text Encode (Prompt)" - } - }, - "329": { - "inputs": { - "text": "half body, looking at viewer, [1 {man}] sad, Sticker, svg, vector art, sharp, kawaii style, Anime style ", - "clip": [ - "59", - 1 - ] - }, - "class_type": "CLIPTextEncode", - "_meta": { - "title": "CLIP Text Encode (Prompt)" - } - }, - "330": { - "inputs": { - "upscale_method": "lanczos", - "megapixels": 1, - "image": [ - "22", - 0 - ] - }, - "class_type": "ImageScaleToTotalPixels", - "_meta": { - "title": "ImageScaleToTotalPixels" - } - }, - "334": { - "inputs": { - "text": "shiny, photo, photography, soft, nsfw, nude, ugly, broken, watermark, oversaturated", - "clip": [ - "60", - 1 - ] - }, - "class_type": "CLIPTextEncode", - "_meta": { - "title": "CLIP Text Encode (Prompt)" - } - }, - "335": { - "inputs": { - "text": "shiny, photo, photography, soft, nsfw, nude, ugly, broken, watermark, oversaturated", - "clip": [ - "59", - 1 - ] - }, - "class_type": "CLIPTextEncode", - "_meta": { - "title": "CLIP Text Encode (Prompt)" - } - }, - "338": { - "inputs": { - "rmbgmodel": [ - "339", - 0 - ], - "image": [ - "341", - 0 - ] - }, - "class_type": "BRIA_RMBG_Zho", - "_meta": { - "title": "🧹BRIA RMBG" - } - }, - "339": { - "inputs": {}, - "class_type": "BRIA_RMBG_ModelLoader_Zho", - "_meta": { - "title": "🧹BRIA_RMBG Model Loader" - } - }, - "340": { - "inputs": { - "seed": 1, - "steps": 8, - "cfg": 2, - "sampler_name": "dpmpp_2m_sde", - "scheduler": "karras", - "denoise": 1, - "model": [ - "41", - 0 - ], - "positive": [ - "41", - 1 - ], - "negative": [ - "41", - 2 - ], - "latent_image": [ - "63", - 0 - ] - }, - "class_type": "KSampler", - "_meta": { - "title": "KSampler" - } - }, - "341": { - "inputs": { - "samples": [ - "340", - 0 - ], - "vae": [ - "60", - 2 - ] - }, - "class_type": "VAEDecode", - "_meta": { - "title": "VAE Decode" - } - }, - "342": { - "inputs": { - "seed": 1, - "steps": 8, - "cfg": 2, - "sampler_name": "dpmpp_2m_sde", - "scheduler": "karras", - "denoise": 1, - "model": [ - "280", - 0 - ], - "positive": [ - "280", - 1 - ], - "negative": [ - "280", - 2 - ], - "latent_image": [ - "63", - 0 - ] - }, - "class_type": "KSampler", - "_meta": { - "title": "KSampler" - } - }, - "343": { - "inputs": { - "samples": [ - "342", - 0 - ], - "vae": [ - "60", - 2 - ] - }, - "class_type": "VAEDecode", - "_meta": { - "title": "VAE Decode" - } - }, - "344": { - "inputs": { - "samples": [ - "345", - 0 - ], - "vae": [ - "60", - 2 - ] - }, - "class_type": "VAEDecode", - "_meta": { - "title": "VAE Decode" - } - }, - "345": { - "inputs": { - "seed": 1, - "steps": 8, - "cfg": 2, - "sampler_name": "dpmpp_2m_sde", - "scheduler": "karras", - "denoise": 1, - "model": [ - "294", - 0 - ], - "positive": [ - "294", - 1 - ], - "negative": [ - "294", - 2 - ], - "latent_image": [ - "63", - 0 - ] - }, - "class_type": "KSampler", - "_meta": { - "title": "KSampler" - } - }, - "346": { - "inputs": { - "samples": [ - "347", - 0 - ], - "vae": [ - "60", - 2 - ] - }, - "class_type": "VAEDecode", - "_meta": { - "title": "VAE Decode" - } - }, - "347": { - "inputs": { - "seed": 1, - "steps": 8, - "cfg": 2, - "sampler_name": "dpmpp_2m_sde", - "scheduler": "karras", - "denoise": 1, - "model": [ - "322", - 0 - ], - "positive": [ - "322", - 1 - ], - "negative": [ - "322", - 2 - ], - "latent_image": [ - "63", - 0 - ] - }, - "class_type": "KSampler", - "_meta": { - "title": "KSampler" - } - }, - "348": { - "inputs": { - "seed": 1, - "steps": 8, - "cfg": 2.3000000000000003, - "sampler_name": "dpmpp_2m_sde", - "scheduler": "karras", - "denoise": 1, - "model": [ - "60", - 0 - ], - "positive": [ - "326", - 0 - ], - "negative": [ - "334", - 0 - ], - "latent_image": [ - "69", - 0 - ] - }, - "class_type": "KSampler", - "_meta": { - "title": "KSampler" - } - }, - "349": { - "inputs": { - "samples": [ - "348", - 0 - ], - "vae": [ - "60", - 2 - ] - }, - "class_type": "VAEDecode", - "_meta": { - "title": "VAE Decode" - } - }, - "350": { - "inputs": { - "samples": [ - "351", - 0 - ], - "vae": [ - "60", - 2 - ] - }, - "class_type": "VAEDecode", - "_meta": { - "title": "VAE Decode" - } - }, - "351": { - "inputs": { - "seed": 1, - "steps": 8, - "cfg": 2.3000000000000003, - "sampler_name": "dpmpp_2m_sde", - "scheduler": "karras", - "denoise": 1, - "model": [ - "60", - 0 - ], - "positive": [ - "298", - 0 - ], - "negative": [ - "334", - 0 - ], - "latent_image": [ - "69", - 0 - ] - }, - "class_type": "KSampler", - "_meta": { - "title": "KSampler" - } - }, - "352": { - "inputs": { - "samples": [ - "354", - 0 - ], - "vae": [ - "60", - 2 - ] - }, - "class_type": "VAEDecode", - "_meta": { - "title": "VAE Decode" - } - }, - "353": { - "inputs": { - "samples": [ - "355", - 0 - ], - "vae": [ - "60", - 2 - ] - }, - "class_type": "VAEDecode", - "_meta": { - "title": "VAE Decode" - } - }, - "354": { - "inputs": { - "seed": 1, - "steps": 8, - "cfg": 2.3000000000000003, - "sampler_name": "dpmpp_2m_sde", - "scheduler": "karras", - "denoise": 1, - "model": [ - "60", - 0 - ], - "positive": [ - "284", - 0 - ], - "negative": [ - "334", - 0 - ], - "latent_image": [ - "69", - 0 - ] - }, - "class_type": "KSampler", - "_meta": { - "title": "KSampler" - } - }, - "355": { - "inputs": { - "seed": 1, - "steps": 8, - "cfg": 2.3000000000000003, - "sampler_name": "dpmpp_2m_sde", - "scheduler": "karras", - "denoise": 1, - "model": [ - "60", - 0 - ], - "positive": [ - "88", - 0 - ], - "negative": [ - "334", - 0 - ], - "latent_image": [ - "69", - 0 - ] - }, - "class_type": "KSampler", - "_meta": { - "title": "KSampler" - } - }, - "356": { - "inputs": { - "text": "{\n \"name\": \"photo_stickers\",\n \"display_name\": \"Photo Stickers\",\n \"description\": \"Stickers from person photo\",\n \"author\": \"Datou\",\n \"homepage\": \"https://openart.ai/workflows/datou/photo-2-anime-sdxl/0tBl5W8dBBe6FEhi0MxY\",\n \"license\": \"\",\n \"documentation\": \"https://visionatrix.github.io/VixFlowsDocs/Flows/PhotoStickers.html\",\n \"tags\": [\"cartoon\", \"portrait\"]\n}" - }, - "class_type": "Text Multiline (Code Compatible)", - "_meta": { - "title": "WF_META" - } - } -} diff --git a/flows/photomaker_1/flow.json b/flows/photomaker_1/flow.json deleted file mode 100644 index 769b8cb..0000000 --- a/flows/photomaker_1/flow.json +++ /dev/null @@ -1,144 +0,0 @@ -{ - "input_params": [ - { - "name": "prompt", - "display_name": "Prompt", - "type": "text", - "optional": false, - "comfy_node_id": { - "6": { - "dest_field_name": ["inputs", "text"] - }, - "73": { - "modify_param": [ - { - "sub": ["$", " photomaker"] - } - ], - "dest_field_name": ["inputs", "text"] - } - } - }, - { - "name": "negative_prompt", - "display_name": "Negative Prompt", - "type": "text", - "optional": true, - "advanced": true, - "comfy_node_id": { - "7": { - "dest_field_name": ["inputs", "text"] - } - } - }, - { - "name": "style", - "display_name": "Photo Style", - "type": "list", - "options": { - "Cinematic": [ - "cinematic still {prompt} . emotional, harmonious, vignette, highly detailed, high budget, bokeh, cinemascope, moody, epic, gorgeous, film grain, grainy", - "{negative_prompt}, anime, cartoon, graphic, text, painting, crayon, graphite, abstract, glitch, deformed, mutated, ugly, disfigured" - ], - "Disney Character": [ - "Pixar animation character of {prompt} . pixar-style, studio anime, Disney, high-quality", - "{negative_prompt}, lowres, bad anatomy, bad hands, text, bad eyes, bad arms, bad legs, error, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality, normal quality, jpeg artifacts, signature, watermark, blurry, grayscale, noisy, sloppy, messy, grainy, highly detailed, ultra textured, photo" - ], - "Digital Art": [ - "concept art {prompt} . digital artwork, illustrative, painterly, matte painting, highly detailed", - "{negative_prompt}, photo, photorealistic, realism, ugly" - ], - "Photographic": [ - "cinematic photo {prompt} . 35mm photograph, film, bokeh, professional, 4k, highly detailed", - "{negative_prompt}, drawing, painting, crayon, sketch, graphite, impressionist, noisy, blurry, soft, deformed, ugly" - ], - "Fantasy art": [ - "ethereal fantasy concept art of {prompt} . magnificent, celestial, ethereal, painterly, epic, majestic, magical, fantasy art, cover art, dreamy", - "{negative_prompt}, photographic, realistic, realism, 35mm film, dslr, cropped, frame, text, deformed, glitch, noise, noisy, off-center, deformed, cross-eyed, closed eyes, bad anatomy, ugly, disfigured, sloppy, duplicate, mutated, black and white" - ], - "Neonpunk": [ - "neonpunk style {prompt} . cyberpunk, vaporwave, neon, vibes, vibrant, stunningly beautiful, crisp, detailed, sleek, ultramodern, magenta highlights, dark purple shadows, high contrast, cinematic, ultra detailed, intricate, professional", - "{negative_prompt}, painting, drawing, illustration, glitch, deformed, mutated, cross-eyed, ugly, disfigured" - ], - "Enhance": [ - "breathtaking {prompt} . award-winning, professional, highly detailed", - "{negative_prompt}, ugly, deformed, noisy, blurry, distorted, grainy" - ], - "Comic book": [ - "comic {prompt} . graphic illustration, comic art, graphic novel art, vibrant, highly detailed", - "{negative_prompt}, photograph, deformed, glitch, noisy, realistic, stock photo" - ], - "Lowpoly": [ - "low-poly style {prompt} . low-poly game art, polygon mesh, jagged, blocky, wireframe edges, centered composition", - "{negative_prompt}, noisy, sloppy, messy, grainy, highly detailed, ultra textured, photo" - ], - "Line art": [ - "line art drawing {prompt} . professional, sleek, modern, minimalist, graphic, line art, vector graphics", - "{negative_prompt}, anime, photorealistic, 35mm film, deformed, glitch, blurry, noisy, off-center, deformed, cross-eyed, closed eyes, bad anatomy, ugly, disfigured, mutated, realism, realistic, impressionism, expressionism, oil, acrylic" - ] - }, - "optional": false, - "comfy_node_id": { - "6": { - "src_field_name": ["inputs", "text"], - "dest_field_name": ["inputs", "text"], - "modify_param": [ - { - "sub-options": ["{prompt}"] - } - ] - }, - "73": { - "src_field_name": ["inputs", "text"], - "dest_field_name": ["inputs", "text"], - "modify_param": [ - { - "sub-options": ["{prompt}"] - } - ] - }, - "7": { - "src_field_name": ["inputs", "text"], - "dest_field_name": ["inputs", "text"], - "modify_param": [ - { - "sub-options": ["{negative_prompt}"] - } - ] - } - } - }, - { - "name": "image", - "display_name": "Person's photo", - "type": "image", - "optional": false, - "comfy_node_id": { - "77": { - "dest_field_name": ["inputs", "image"] - } - } - }, - { - "name": "accuracy", - "display_name": "Freedom of outcome", - "type": "range", - "optional": true, - "advanced": true, - "default": 0.3, - "min": 0.1, - "max": 0.5, - "step": 0.1, - "comfy_node_id" : { - "60" : { - "dest_field_name": ["inputs", "end"], - "internal_type": "float" - }, - "62" : { - "dest_field_name": ["inputs", "start"], - "internal_type": "float" - } - } - } - ] -} diff --git a/flows/photomaker_1/flow_comfy.json b/flows/photomaker_1/flow_comfy.json deleted file mode 100644 index e47b2e8..0000000 --- a/flows/photomaker_1/flow_comfy.json +++ /dev/null @@ -1,308 +0,0 @@ -{ - "4": { - "inputs": { - "ckpt_name": "albedobaseXL_v13.safetensors" - }, - "class_type": "CheckpointLoaderSimple", - "_meta": { - "title": "Load Checkpoint" - } - }, - "5": { - "inputs": { - "width": 1024, - "height": 1024, - "batch_size": 1 - }, - "class_type": "EmptyLatentImage", - "_meta": { - "title": "Empty Latent Image" - } - }, - "6": { - "inputs": { - "text": "", - "clip": [ - "4", - 1 - ] - }, - "class_type": "CLIPTextEncode", - "_meta": { - "title": "CLIP Text Encode (Prompt)" - } - }, - "7": { - "inputs": { - "text": "", - "clip": [ - "4", - 1 - ] - }, - "class_type": "CLIPTextEncode", - "_meta": { - "title": "CLIP Text Encode (Prompt)" - } - }, - "53": { - "inputs": { - "lora_name": "photomaker-v1.bin", - "strength_model": 1, - "model": [ - "4", - 0 - ] - }, - "class_type": "LoraLoaderModelOnly", - "_meta": { - "title": "LoraLoaderModelOnly" - } - }, - "59": { - "inputs": { - "conditioning_1": [ - "60", - 0 - ], - "conditioning_2": [ - "62", - 0 - ] - }, - "class_type": "ConditioningCombine", - "_meta": { - "title": "Conditioning (Combine)" - } - }, - "60": { - "inputs": { - "start": 0, - "end": 0.4, - "conditioning": [ - "6", - 0 - ] - }, - "class_type": "ConditioningSetTimestepRange", - "_meta": { - "title": "ConditioningSetTimestepRange" - } - }, - "62": { - "inputs": { - "start": 0.4, - "end": 1, - "conditioning": [ - "73", - 0 - ] - }, - "class_type": "ConditioningSetTimestepRange", - "_meta": { - "title": "ConditioningSetTimestepRange" - } - }, - "63": { - "inputs": { - "seed": 40, - "steps": 20, - "cfg": 5, - "sampler_name": "euler", - "scheduler": "normal", - "denoise": 1, - "model": [ - "53", - 0 - ], - "positive": [ - "59", - 0 - ], - "negative": [ - "7", - 0 - ], - "latent_image": [ - "5", - 0 - ] - }, - "class_type": "KSampler", - "_meta": { - "title": "KSampler" - } - }, - "65": { - "inputs": { - "samples": [ - "63", - 0 - ], - "vae": [ - "4", - 2 - ] - }, - "class_type": "VAEDecode", - "_meta": { - "title": "VAE Decode" - } - }, - "69": { - "inputs": { - "filename_prefix": "ComfyUI", - "images": [ - "65", - 0 - ] - }, - "class_type": "SaveImage", - "_meta": { - "title": "Save Image" - } - }, - "72": { - "inputs": { - "photomaker_model_name": "photomaker-v1.bin" - }, - "class_type": "PhotoMakerLoader", - "_meta": { - "title": "PhotoMakerLoader" - } - }, - "73": { - "inputs": { - "text": "", - "photomaker": [ - "72", - 0 - ], - "image": [ - "97", - 0 - ], - "clip": [ - "4", - 1 - ] - }, - "class_type": "PhotoMakerEncode", - "_meta": { - "title": "PhotoMakerEncode" - } - }, - "74": { - "inputs": { - "seed": 40, - "steps": 20, - "cfg": 5, - "sampler_name": "euler", - "scheduler": "normal", - "denoise": 1, - "model": [ - "53", - 0 - ], - "positive": [ - "73", - 0 - ], - "negative": [ - "7", - 0 - ], - "latent_image": [ - "5", - 0 - ] - }, - "class_type": "KSampler", - "_meta": { - "title": "KSampler" - } - }, - "75": { - "inputs": { - "samples": [ - "74", - 0 - ], - "vae": [ - "4", - 2 - ] - }, - "class_type": "VAEDecode", - "_meta": { - "title": "VAE Decode" - } - }, - "76": { - "inputs": { - "filename_prefix": "ComfyUI", - "images": [ - "75", - 0 - ] - }, - "class_type": "SaveImage", - "_meta": { - "title": "Save Image" - } - }, - "77": { - "inputs": { - "image": "input.png", - "upload": "image" - }, - "class_type": "LoadImage", - "_meta": { - "title": "Load Image" - } - }, - "78": { - "inputs": {}, - "class_type": "BRIA_RMBG_ModelLoader_Zho", - "_meta": { - "title": "🧹BRIA_RMBG Model Loader" - } - }, - "79": { - "inputs": { - "rmbgmodel": [ - "78", - 0 - ], - "image": [ - "77", - 0 - ] - }, - "class_type": "BRIA_RMBG_Zho", - "_meta": { - "title": "🧹BRIA RMBG" - } - }, - "97": { - "inputs": { - "image": [ - "79", - 0 - ] - }, - "class_type": "SplitImageWithAlpha", - "_meta": { - "title": "Split Image with Alpha" - } - }, - "98": { - "inputs": { - "text": "{\n \"name\": \"photomaker_1\",\n \"display_name\": \"Photo from 1 image\",\n \"description\": \"Customizing Realistic Human Photos\",\n \"author\": \"shiimizu\",\n \"homepage\": \"https://github.com/shiimizu/ComfyUI-PhotoMaker-Plus\",\n \"license\": \"\",\n \"documentation\": \"https://visionatrix.github.io/VixFlowsDocs/Flows/Photomaker_1.html\",\n \"tags\": [\"general\", \"portrait\", \"cartoon\"]\n}" - }, - "class_type": "Text Multiline (Code Compatible)", - "_meta": { - "title": "WF_META" - } - } -} diff --git a/flows/playground_2_5_aesthetic/flow.json b/flows/playground_2_5_aesthetic/flow.json deleted file mode 100644 index 6eff645..0000000 --- a/flows/playground_2_5_aesthetic/flow.json +++ /dev/null @@ -1,84 +0,0 @@ -{ - "input_params": [ - { - "name": "prompt", - "display_name": "Prompt", - "type": "text", - "optional": false, - "comfy_node_id": { - "229": { - "dest_field_name": ["inputs", "text"] - } - } - }, - { - "name": "negative_prompt", - "display_name": "Negative Prompt", - "type": "text", - "optional": true, - "advanced": true, - "comfy_node_id": { - "230": { - "dest_field_name": ["inputs", "text"] - } - } - }, - { - "name": "aspect_ratio", - "display_name": "Aspect Ratio", - "type": "list", - "optional": true, - "advanced": true, - "default": "3x2 (1216x832)", - "options": { - "1x1 (1024x1024)": [1024, 1024], - "16x9 (1280x720)": [1280, 720], - "9x16 (720x1280)": [720, 1280], - "4x3 (1152x864)": [1152, 864], - "3x4 (864x1152)": [864, 1152], - "3x2 (1216x832)": [1216, 832], - "2x3 (832x1216)": [832, 1216] - }, - "comfy_node_id": { - "246": { - "dest_field_name": ["inputs", ["width", "height"]] - } - } - }, - { - "name": "fast_run", - "display_name": "Fast run", - "type": "bool", - "default": false, - "optional": true, - "advanced": true, - "comfy_node_id": { - "240": { - "dest_field_name": ["inputs", "samples"], - "value": ["249", 0] - } - } - }, - { - "name": "prompt_strength", - "display_name": "Prompt strength", - "type": "range", - "optional": true, - "advanced": true, - "default": 3.0, - "min": 3.0, - "max": 5.0, - "step": 0.1, - "comfy_node_id" : { - "238" : { - "dest_field_name": ["inputs", "cfg"], - "internal_type": "float" - }, - "249" : { - "dest_field_name": ["inputs", "cfg"], - "internal_type": "float" - } - } - } - ] -} diff --git a/flows/playground_2_5_aesthetic/flow_comfy.json b/flows/playground_2_5_aesthetic/flow_comfy.json deleted file mode 100644 index baeb4f6..0000000 --- a/flows/playground_2_5_aesthetic/flow_comfy.json +++ /dev/null @@ -1,488 +0,0 @@ -{ - "43": { - "inputs": { - "text": "detailed face", - "clip": [ - "235", - 1 - ] - }, - "class_type": "CLIPTextEncode", - "_meta": { - "title": "CLIP Text Encode (Prompt)" - } - }, - "58": { - "inputs": { - "sharpen_radius": 1, - "sigma": 0.3, - "alpha": 0.1, - "image": [ - "126", - 0 - ] - }, - "class_type": "ImageSharpen", - "_meta": { - "title": "ImageSharpen" - } - }, - "96": { - "inputs": { - "bbox_threshold": 0.5, - "bbox_dilation": 0, - "crop_factor": 3, - "drop_size": 50, - "sub_threshold": 0.5, - "sub_dilation": 0, - "sub_bbox_expansion": 0, - "sam_mask_hint_threshold": 0.7000000000000001, - "post_dilation": 0, - "bbox_detector": [ - "221", - 0 - ], - "image": [ - "240", - 0 - ], - "sam_model_opt": [ - "222", - 0 - ] - }, - "class_type": "ImpactSimpleDetectorSEGS", - "_meta": { - "title": "Simple Detector (SEGS)" - } - }, - "103": { - "inputs": { - "target": "x1", - "order": false, - "take_start": 0, - "take_count": 1, - "segs": [ - "96", - 0 - ] - }, - "class_type": "ImpactSEGSOrderedFilter", - "_meta": { - "title": "SEGS Filter (ordered)" - } - }, - "106": { - "inputs": { - "guide_size": 512, - "guide_size_for": true, - "max_size": 1024, - "seed": 767016419755284, - "steps": 20, - "cfg": 3.5, - "sampler_name": "dpmpp_2m", - "scheduler": "karras", - "denoise": 0.35000000000000003, - "feather": 5, - "noise_mask": true, - "force_inpaint": true, - "wildcard": "", - "cycle": 1, - "inpaint_model": false, - "noise_mask_feather": 0, - "image": [ - "240", - 0 - ], - "segs": [ - "103", - 0 - ], - "model": [ - "235", - 0 - ], - "clip": [ - "235", - 1 - ], - "vae": [ - "235", - 2 - ], - "positive": [ - "43", - 0 - ], - "negative": [ - "236", - 0 - ] - }, - "class_type": "DetailerForEach", - "_meta": { - "title": "Detailer (SEGS)" - } - }, - "118": { - "inputs": { - "target": "x1", - "order": false, - "take_start": 1, - "take_count": 1, - "segs": [ - "96", - 0 - ] - }, - "class_type": "ImpactSEGSOrderedFilter", - "_meta": { - "title": "SEGS Filter (ordered)" - } - }, - "119": { - "inputs": { - "guide_size": 512, - "guide_size_for": true, - "max_size": 1024, - "seed": 228245828688511, - "steps": 20, - "cfg": 3.5, - "sampler_name": "dpmpp_2m", - "scheduler": "karras", - "denoise": 0.35000000000000003, - "feather": 5, - "noise_mask": true, - "force_inpaint": true, - "wildcard": "", - "cycle": 1, - "inpaint_model": false, - "noise_mask_feather": 0, - "image": [ - "106", - 0 - ], - "segs": [ - "118", - 0 - ], - "model": [ - "235", - 0 - ], - "clip": [ - "235", - 1 - ], - "vae": [ - "235", - 2 - ], - "positive": [ - "43", - 0 - ], - "negative": [ - "236", - 0 - ] - }, - "class_type": "DetailerForEach", - "_meta": { - "title": "Detailer (SEGS)" - } - }, - "125": { - "inputs": { - "target": "x1", - "order": false, - "take_start": 2, - "take_count": 1, - "segs": [ - "96", - 0 - ] - }, - "class_type": "ImpactSEGSOrderedFilter", - "_meta": { - "title": "SEGS Filter (ordered)" - } - }, - "126": { - "inputs": { - "guide_size": 512, - "guide_size_for": true, - "max_size": 1024, - "seed": 277343974126122, - "steps": 20, - "cfg": 3.5, - "sampler_name": "dpmpp_2m", - "scheduler": "karras", - "denoise": 0.35000000000000003, - "feather": 5, - "noise_mask": true, - "force_inpaint": true, - "wildcard": "", - "cycle": 1, - "inpaint_model": false, - "noise_mask_feather": 0, - "image": [ - "119", - 0 - ], - "segs": [ - "125", - 0 - ], - "model": [ - "235", - 0 - ], - "clip": [ - "235", - 1 - ], - "vae": [ - "235", - 2 - ], - "positive": [ - "43", - 0 - ], - "negative": [ - "236", - 0 - ] - }, - "class_type": "DetailerForEach", - "_meta": { - "title": "Detailer (SEGS)" - } - }, - "138": { - "inputs": { - "filename_prefix": "ComfyUI", - "images": [ - "58", - 0 - ] - }, - "class_type": "SaveImage", - "_meta": { - "title": "Save Image" - } - }, - "221": { - "inputs": { - "model_name": "bbox/face_yolov8m.pt" - }, - "class_type": "UltralyticsDetectorProvider", - "_meta": { - "title": "UltralyticsDetectorProvider" - } - }, - "222": { - "inputs": { - "model_name": "sam_vit_b_01ec64.pth", - "device_mode": "AUTO" - }, - "class_type": "SAMLoader", - "_meta": { - "title": "SAMLoader (Impact)" - } - }, - "226": { - "inputs": { - "ckpt_name": "playground-v2.5-1024px-aesthetic.fp16.safetensors" - }, - "class_type": "CheckpointLoaderSimple", - "_meta": { - "title": "Load Checkpoint" - } - }, - "229": { - "inputs": { - "text": "", - "clip": [ - "226", - 1 - ] - }, - "class_type": "CLIPTextEncode", - "_meta": { - "title": "CLIP Text Encode (Prompt)" - } - }, - "230": { - "inputs": { - "text": "hands, fingers", - "clip": [ - "226", - 1 - ] - }, - "class_type": "CLIPTextEncode", - "_meta": { - "title": "CLIP Text Encode (Prompt)" - } - }, - "232": { - "inputs": { - "sampling": "edm_playground_v2.5", - "sigma_max": 120, - "sigma_min": 0.002, - "model": [ - "226", - 0 - ] - }, - "class_type": "ModelSamplingContinuousEDM", - "_meta": { - "title": "ModelSamplingContinuousEDM" - } - }, - "235": { - "inputs": { - "ckpt_name": "epicrealism_naturalSinRC1VAE.safetensors" - }, - "class_type": "CheckpointLoaderSimple", - "_meta": { - "title": "Load Checkpoint" - } - }, - "236": { - "inputs": { - "text": "ugly", - "clip": [ - "235", - 1 - ] - }, - "class_type": "CLIPTextEncode", - "_meta": { - "title": "CLIP Text Encode (Prompt)" - } - }, - "238": { - "inputs": { - "seed": 5, - "steps": 50, - "cfg": 3, - "sampler_name": "euler", - "scheduler": "normal", - "denoise": 1, - "model": [ - "232", - 0 - ], - "positive": [ - "229", - 0 - ], - "negative": [ - "230", - 0 - ], - "latent_image": [ - "246", - 0 - ] - }, - "class_type": "KSampler", - "_meta": { - "title": "KSampler" - } - }, - "240": { - "inputs": { - "samples": [ - "238", - 0 - ], - "vae": [ - "226", - 2 - ] - }, - "class_type": "VAEDecode", - "_meta": { - "title": "VAE Decode" - } - }, - "246": { - "inputs": { - "width": 1024, - "height": 1024, - "batch_size": 1 - }, - "class_type": "EmptyLatentImage", - "_meta": { - "title": "Empty Latent Image" - } - }, - "247": { - "inputs": { - "model_type": "SDXL", - "steps": 20, - "denoise": 1 - }, - "class_type": "AlignYourStepsScheduler", - "_meta": { - "title": "AlignYourStepsScheduler" - } - }, - "248": { - "inputs": { - "sampler_name": "dpmpp_2m" - }, - "class_type": "KSamplerSelect", - "_meta": { - "title": "KSamplerSelect" - } - }, - "249": { - "inputs": { - "add_noise": true, - "noise_seed": 5, - "cfg": 3, - "model": [ - "232", - 0 - ], - "positive": [ - "229", - 0 - ], - "negative": [ - "230", - 0 - ], - "sampler": [ - "248", - 0 - ], - "sigmas": [ - "247", - 0 - ], - "latent_image": [ - "246", - 0 - ] - }, - "class_type": "SamplerCustom", - "_meta": { - "title": "SamplerCustom" - } - }, - "250": { - "inputs": { - "text": "{\n \"name\": \"playground_2_5_aesthetic\",\n \"display_name\": \"Aesthetic images\",\n \"description\": \"Generate images with built-in Face Detailer\",\n \"author\": \"Dennis Schöneberg\",\n \"homepage\": \"https://www.linkedin.com/in/dennis-sch%C3%B6neberg-3420a2221\",\n \"license\": \"\",\n \"documentation\": \"https://visionatrix.github.io/VixFlowsDocs/Flows/Playground_2_5_aesthetic.html\",\n \"tags\": [\"general\"]\n}" - }, - "class_type": "Text Multiline (Code Compatible)", - "_meta": { - "title": "WF_META" - } - } -} diff --git a/flows/sd3_medium/flow.json b/flows/sd3_medium/flow.json deleted file mode 100644 index 655abaa..0000000 --- a/flows/sd3_medium/flow.json +++ /dev/null @@ -1,127 +0,0 @@ -{ - "input_params": [ - { - "name": "prompt", - "display_name": "Prompt", - "type": "text", - "optional": false, - "comfy_node_id": { - "6": { - "dest_field_name": [ - "inputs", - "text" - ] - } - } - }, - { - "name": "negative_prompt", - "display_name": "Negative Prompt", - "type": "text", - "default": "bad quality, poor quality, doll, disfigured, jpg, toy, bad anatomy, missing limbs, missing fingers, 3d, cgi", - "optional": false, - "advanced": true, - "comfy_node_id": { - "71": { - "dest_field_name": [ - "inputs", - "text" - ] - } - } - }, - { - "name": "aspect_ratio", - "display_name": "Aspect Ratio", - "type": "list", - "optional": true, - "advanced": true, - "default": "1x1 (1024x1024)", - "options": { - "1x1 (1024x1024)": [ - 1024, - 1024 - ], - "2x3 (832x1216)": [ - 832, - 1216 - ], - "3x4 (896x1152)": [ - 896, - 1152 - ], - "5:8 (768x1216)": [ - 768, - 1216 - ], - "9:16 (768x1344)": [ - 768, - 1344 - ], - "9:19 (704x1472)": [ - 704, - 1472 - ], - "9:21 (640x1536)": [ - 640, - 1536 - ], - "3:2 (1216x832)": [ - 1216, - 832 - ], - "4:3 (1152x896)": [ - 1152, - 896 - ], - "8:5 (1216x768)": [ - 1216, - 768 - ], - "16:9 (1344x768)": [ - 1344, - 768 - ], - "19:9 (1472x704)": [ - 1472, - 704 - ], - "21:9 (1536x640)": [ - 1536, - 640 - ] - }, - "comfy_node_id": { - "135": { - "dest_field_name": [ - "inputs", - [ - "width", - "height" - ] - ] - } - } - }, - { - "name": "prompt_strength", - "display_name": "Prompt strength", - "type": "range", - "optional": true, - "advanced": true, - "default": 4.1, - "min": 4.0, - "max": 7.0, - "step": 0.1, - "comfy_node_id": { - "271": { - "dest_field_name": [ - "inputs", - "cfg" - ], - "internal_type": "float" - } - } - } - ] -} diff --git a/flows/sd3_medium/flow_comfy.json b/flows/sd3_medium/flow_comfy.json deleted file mode 100644 index cf36ebb..0000000 --- a/flows/sd3_medium/flow_comfy.json +++ /dev/null @@ -1,116 +0,0 @@ -{ - "6": { - "inputs": { - "text": "", - "clip": [ - "252", - 1 - ] - }, - "class_type": "CLIPTextEncode", - "_meta": { - "title": "CLIP Text Encode (Prompt)" - } - }, - "71": { - "inputs": { - "text": "bad quality, poor quality, doll, disfigured, jpg, toy, bad anatomy, missing limbs, missing fingers, 3d, cgi", - "clip": [ - "252", - 1 - ] - }, - "class_type": "CLIPTextEncode", - "_meta": { - "title": "CLIP Text Encode (Negative Prompt)" - } - }, - "135": { - "inputs": { - "width": 1024, - "height": 1024, - "batch_size": 1 - }, - "class_type": "EmptySD3LatentImage", - "_meta": { - "title": "EmptySD3LatentImage" - } - }, - "231": { - "inputs": { - "samples": [ - "271", - 0 - ], - "vae": [ - "252", - 2 - ] - }, - "class_type": "VAEDecode", - "_meta": { - "title": "VAE Decode" - } - }, - "252": { - "inputs": { - "ckpt_name": "sd3_medium_incl_clips_t5xxlfp16.safetensors" - }, - "class_type": "CheckpointLoaderSimple", - "_meta": { - "title": "Load Checkpoint" - } - }, - "271": { - "inputs": { - "seed": 71844603528225, - "steps": 28, - "cfg": 4.1, - "sampler_name": "dpmpp_2m", - "scheduler": "sgm_uniform", - "denoise": 1, - "model": [ - "252", - 0 - ], - "positive": [ - "6", - 0 - ], - "negative": [ - "71", - 0 - ], - "latent_image": [ - "135", - 0 - ] - }, - "class_type": "KSampler", - "_meta": { - "title": "KSampler" - } - }, - "273": { - "inputs": { - "filename_prefix": "comfy_", - "images": [ - "231", - 0 - ] - }, - "class_type": "SaveImage", - "_meta": { - "title": "@Datou" - } - }, - "278": { - "inputs": { - "text": "{\n \"name\": \"sd3_medium\",\n \"display_name\": \"StableDiffusion3 Medium\",\n \"description\": \"Simple one model flow for testing purposes\",\n \"author\": \"Datou\",\n \"homepage\": \"https://openart.ai/workflows/datou/sd3-basic-workflow/7Udt2JZ3Mwqf1if9EqWt\",\n \"license\": \"\",\n \"documentation\": \"https://visionatrix.github.io/VixFlowsDocs/Flows/SD3_Medium.html\",\n \"tags\": [\"general\"]\n}" - }, - "class_type": "Text Multiline (Code Compatible)", - "_meta": { - "title": "WF_META" - } - } -} diff --git a/flows/sdxl_lighting/flow.json b/flows/sdxl_lighting/flow.json deleted file mode 100644 index 249d2ff..0000000 --- a/flows/sdxl_lighting/flow.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "input_params": [ - { - "name": "prompt", - "display_name": "Prompt", - "type": "text", - "optional": false, - "comfy_node_id": { - "6": { - "dest_field_name": ["inputs", "text"] - }, - "13": { - "dest_field_name": ["inputs", "text"] - } - } - }, - { - "name": "negative_prompt", - "display_name": "Negative Prompt", - "type": "text", - "optional": true, - "advanced": true, - "comfy_node_id": { - "7": { - "dest_field_name": ["inputs", "text"] - }, - "14": { - "dest_field_name": ["inputs", "text"] - } - } - }, - { - "name": "steps_number", - "display_name": "Number of steps", - "type": "list", - "default": "8 steps", - "optional": true, - "advanced": true, - "options": { - "4 steps": ["12", 0], - "8 steps": ["8", 0] - }, - "comfy_node_id": { - "9": { - "dest_field_name": ["inputs", "images"], - "value": ["8", 0] - } - } - } - ] -} diff --git a/flows/sdxl_lighting/flow_comfy.json b/flows/sdxl_lighting/flow_comfy.json deleted file mode 100644 index a28eb6d..0000000 --- a/flows/sdxl_lighting/flow_comfy.json +++ /dev/null @@ -1,197 +0,0 @@ -{ - "3": { - "inputs": { - "seed": 776388286186862, - "steps": 8, - "cfg": 1, - "sampler_name": "euler", - "scheduler": "sgm_uniform", - "denoise": 1, - "model": [ - "4", - 0 - ], - "positive": [ - "6", - 0 - ], - "negative": [ - "7", - 0 - ], - "latent_image": [ - "5", - 0 - ] - }, - "class_type": "KSampler", - "_meta": { - "title": "KSampler" - } - }, - "4": { - "inputs": { - "ckpt_name": "sdxl_lightning_8step.safetensors" - }, - "class_type": "CheckpointLoaderSimple", - "_meta": { - "title": "Load Checkpoint" - } - }, - "5": { - "inputs": { - "width": 1024, - "height": 1024, - "batch_size": 1 - }, - "class_type": "EmptyLatentImage", - "_meta": { - "title": "Empty Latent Image" - } - }, - "6": { - "inputs": { - "text": "", - "clip": [ - "4", - 1 - ] - }, - "class_type": "CLIPTextEncode", - "_meta": { - "title": "CLIP Text Encode (Prompt)" - } - }, - "7": { - "inputs": { - "text": "ugly", - "clip": [ - "4", - 1 - ] - }, - "class_type": "CLIPTextEncode", - "_meta": { - "title": "CLIP Text Encode (Negative Prompt)" - } - }, - "8": { - "inputs": { - "samples": [ - "3", - 0 - ], - "vae": [ - "4", - 2 - ] - }, - "class_type": "VAEDecode", - "_meta": { - "title": "VAE Decode" - } - }, - "9": { - "inputs": { - "filename_prefix": "ComfyUI", - "images": [ - "8", - 0 - ] - }, - "class_type": "SaveImage", - "_meta": { - "title": "Save Image" - } - }, - "10": { - "inputs": { - "seed": 776388286186862, - "steps": 4, - "cfg": 1, - "sampler_name": "euler", - "scheduler": "sgm_uniform", - "denoise": 1, - "model": [ - "11", - 0 - ], - "positive": [ - "13", - 0 - ], - "negative": [ - "14", - 0 - ], - "latent_image": [ - "5", - 0 - ] - }, - "class_type": "KSampler", - "_meta": { - "title": "KSampler" - } - }, - "11": { - "inputs": { - "ckpt_name": "sdxl_lightning_4step.safetensors" - }, - "class_type": "CheckpointLoaderSimple", - "_meta": { - "title": "Load Checkpoint" - } - }, - "12": { - "inputs": { - "samples": [ - "10", - 0 - ], - "vae": [ - "11", - 2 - ] - }, - "class_type": "VAEDecode", - "_meta": { - "title": "VAE Decode" - } - }, - "13": { - "inputs": { - "text": "", - "clip": [ - "11", - 1 - ] - }, - "class_type": "CLIPTextEncode", - "_meta": { - "title": "CLIP Text Encode (Prompt)" - } - }, - "14": { - "inputs": { - "text": "ugly", - "clip": [ - "11", - 1 - ] - }, - "class_type": "CLIPTextEncode", - "_meta": { - "title": "CLIP Text Encode (Negative Prompt)" - } - }, - "15": { - "inputs": { - "text": "{\n \"name\": \"sdxl_lighting\",\n \"display_name\": \"SDXL Lighting\",\n \"description\": \"Fast image generation\",\n \"author\": \"bigcat88\",\n \"homepage\": \"https://github.com/bigcat88\",\n \"license\": \"\",\n \"documentation\": \"https://visionatrix.github.io/VixFlowsDocs/Flows/SDXL_Lighting.html\",\n \"tags\": [\"general\"]\n}" - }, - "class_type": "Text Multiline (Code Compatible)", - "_meta": { - "title": "WF_META" - } - } -} diff --git a/flows/stable_cascade/flow.json b/flows/stable_cascade/flow.json deleted file mode 100644 index e85de36..0000000 --- a/flows/stable_cascade/flow.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "input_params": [ - { - "name": "prompt", - "display_name": "Prompt", - "type": "text", - "optional": false, - "comfy_node_id": { - "20": { - "dest_field_name": ["inputs", "text"] - } - } - }, - { - "name": "negative_prompt", - "display_name": "Negative Prompt", - "type": "text", - "optional": true, - "advanced": true, - "comfy_node_id": { - "21": { - "dest_field_name": ["inputs", "text"] - } - } - }, - { - "name": "pass_count", - "display_name": "Pass count", - "type": "list", - "default": "Two Pass", - "optional": true, - "advanced": true, - "options": { - "One Pass": ["22", 0], - "Two Pass": ["79", 0], - "Three Pass": ["97", 0] - }, - "comfy_node_id": { - "86": { - "dest_field_name": ["inputs", "images"], - "value": ["79", 0] - } - } - } - ] -} diff --git a/flows/stable_cascade/flow_comfy.json b/flows/stable_cascade/flow_comfy.json deleted file mode 100644 index 13294cc..0000000 --- a/flows/stable_cascade/flow_comfy.json +++ /dev/null @@ -1,458 +0,0 @@ -{ - "19": { - "inputs": { - "seed": 42, - "steps": 20, - "cfg": 4, - "sampler_name": "euler_ancestral", - "scheduler": "simple", - "denoise": 1, - "model": [ - "26", - 0 - ], - "positive": [ - "20", - 0 - ], - "negative": [ - "21", - 0 - ], - "latent_image": [ - "36", - 0 - ] - }, - "class_type": "KSampler", - "_meta": { - "title": "KSampler" - } - }, - "20": { - "inputs": { - "text": "", - "clip": [ - "26", - 1 - ] - }, - "class_type": "CLIPTextEncode", - "_meta": { - "title": "CLIP Text Encode (Prompt)" - } - }, - "21": { - "inputs": { - "text": "", - "clip": [ - "26", - 1 - ] - }, - "class_type": "CLIPTextEncode", - "_meta": { - "title": "CLIP Text Encode (Prompt)" - } - }, - "22": { - "inputs": { - "samples": [ - "23", - 0 - ], - "vae": [ - "27", - 2 - ] - }, - "class_type": "VAEDecode", - "_meta": { - "title": "VAE Decode" - } - }, - "23": { - "inputs": { - "seed": 42, - "steps": 10, - "cfg": 1.1, - "sampler_name": "euler_ancestral", - "scheduler": "simple", - "denoise": 1, - "model": [ - "27", - 0 - ], - "positive": [ - "24", - 0 - ], - "negative": [ - "25", - 0 - ], - "latent_image": [ - "36", - 1 - ] - }, - "class_type": "KSampler", - "_meta": { - "title": "KSampler" - } - }, - "24": { - "inputs": { - "conditioning": [ - "25", - 0 - ], - "stage_c": [ - "19", - 0 - ] - }, - "class_type": "StableCascade_StageB_Conditioning", - "_meta": { - "title": "StableCascade_StageB_Conditioning" - } - }, - "25": { - "inputs": { - "conditioning": [ - "20", - 0 - ] - }, - "class_type": "ConditioningZeroOut", - "_meta": { - "title": "ConditioningZeroOut" - } - }, - "26": { - "inputs": { - "ckpt_name": "stable_cascade_stage_c.safetensors" - }, - "class_type": "CheckpointLoaderSimple", - "_meta": { - "title": "Load Checkpoint" - } - }, - "27": { - "inputs": { - "ckpt_name": "stable_cascade_stage_b.safetensors" - }, - "class_type": "CheckpointLoaderSimple", - "_meta": { - "title": "Load Checkpoint" - } - }, - "36": { - "inputs": { - "width": 1024, - "height": 576, - "compression": 32, - "batch_size": 1 - }, - "class_type": "StableCascade_EmptyLatentImage", - "_meta": { - "title": "StableCascade_EmptyLatentImage" - } - }, - "78": { - "inputs": { - "seed": 42, - "steps": 20, - "cfg": 4, - "sampler_name": "euler_ancestral", - "scheduler": "simple", - "denoise": 0.5, - "model": [ - "26", - 0 - ], - "positive": [ - "20", - 0 - ], - "negative": [ - "21", - 0 - ], - "latent_image": [ - "85", - 0 - ] - }, - "class_type": "KSampler", - "_meta": { - "title": "KSampler" - } - }, - "79": { - "inputs": { - "samples": [ - "80", - 0 - ], - "vae": [ - "27", - 2 - ] - }, - "class_type": "VAEDecode", - "_meta": { - "title": "VAE Decode" - } - }, - "80": { - "inputs": { - "seed": 42, - "steps": 10, - "cfg": 1.1, - "sampler_name": "euler_ancestral", - "scheduler": "simple", - "denoise": 1, - "model": [ - "27", - 0 - ], - "positive": [ - "81", - 0 - ], - "negative": [ - "82", - 0 - ], - "latent_image": [ - "85", - 1 - ] - }, - "class_type": "KSampler", - "_meta": { - "title": "KSampler" - } - }, - "81": { - "inputs": { - "conditioning": [ - "82", - 0 - ], - "stage_c": [ - "78", - 0 - ] - }, - "class_type": "StableCascade_StageB_Conditioning", - "_meta": { - "title": "StableCascade_StageB_Conditioning" - } - }, - "82": { - "inputs": { - "conditioning": [ - "20", - 0 - ] - }, - "class_type": "ConditioningZeroOut", - "_meta": { - "title": "ConditioningZeroOut" - } - }, - "85": { - "inputs": { - "compression": 32, - "image": [ - "90", - 0 - ], - "vae": [ - "26", - 2 - ] - }, - "class_type": "StableCascade_StageC_VAEEncode", - "_meta": { - "title": "StableCascade_StageC_VAEEncode" - } - }, - "86": { - "inputs": { - "filename_prefix": "ComfyUI", - "images": [ - "22", - 0 - ] - }, - "class_type": "SaveImage", - "_meta": { - "title": "Save Image" - } - }, - "89": { - "inputs": { - "upscale_method": "nearest-exact", - "width": 2048, - "height": 1152, - "crop": "disabled", - "image": [ - "79", - 0 - ] - }, - "class_type": "ImageScale", - "_meta": { - "title": "Upscale Image" - } - }, - "90": { - "inputs": { - "upscale_method": "nearest-exact", - "width": 1536, - "height": 864, - "crop": "disabled", - "image": [ - "22", - 0 - ] - }, - "class_type": "ImageScale", - "_meta": { - "title": "Upscale Image" - } - }, - "91": { - "inputs": { - "compression": 32, - "image": [ - "89", - 0 - ], - "vae": [ - "26", - 2 - ] - }, - "class_type": "StableCascade_StageC_VAEEncode", - "_meta": { - "title": "StableCascade_StageC_VAEEncode" - } - }, - "93": { - "inputs": { - "seed": 548729031942500, - "steps": 20, - "cfg": 4, - "sampler_name": "euler_ancestral", - "scheduler": "simple", - "denoise": 0.5, - "model": [ - "26", - 0 - ], - "positive": [ - "20", - 0 - ], - "negative": [ - "21", - 0 - ], - "latent_image": [ - "91", - 0 - ] - }, - "class_type": "KSampler", - "_meta": { - "title": "KSampler" - } - }, - "94": { - "inputs": { - "conditioning": [ - "20", - 0 - ] - }, - "class_type": "ConditioningZeroOut", - "_meta": { - "title": "ConditioningZeroOut" - } - }, - "95": { - "inputs": { - "conditioning": [ - "94", - 0 - ], - "stage_c": [ - "93", - 0 - ] - }, - "class_type": "StableCascade_StageB_Conditioning", - "_meta": { - "title": "StableCascade_StageB_Conditioning" - } - }, - "96": { - "inputs": { - "seed": 1118438233481225, - "steps": 10, - "cfg": 1.1, - "sampler_name": "euler_ancestral", - "scheduler": "simple", - "denoise": 1, - "model": [ - "27", - 0 - ], - "positive": [ - "95", - 0 - ], - "negative": [ - "94", - 0 - ], - "latent_image": [ - "91", - 1 - ] - }, - "class_type": "KSampler", - "_meta": { - "title": "KSampler" - } - }, - "97": { - "inputs": { - "samples": [ - "96", - 0 - ], - "vae": [ - "27", - 2 - ] - }, - "class_type": "VAEDecode", - "_meta": { - "title": "VAE Decode" - } - }, - "98": { - "inputs": { - "text": "{\n \"name\": \"stable_cascade\",\n \"display_name\": \"Stable Cascade\",\n \"description\": \"Generation with multiple passes\",\n \"author\": \"HowDo?\",\n \"homepage\": \"https://comfyworkflows.com/profile/41d507c5-bdcf-424b-9b75-a3cc2ea9049d\",\n \"license\": \"\",\n \"documentation\": \"https://visionatrix.github.io/VixFlowsDocs/Flows/Stable_Cascade.html\",\n \"tags\": [\"general\"]\n}" - }, - "class_type": "Text Multiline (Code Compatible)", - "_meta": { - "title": "WF_META" - } - } -} diff --git a/flows/supir_upscaler/flow.json b/flows/supir_upscaler/flow.json deleted file mode 100644 index 223feb6..0000000 --- a/flows/supir_upscaler/flow.json +++ /dev/null @@ -1,115 +0,0 @@ -{ - "input_params": [ - { - "name": "image", - "display_name": "Image to upscale", - "type": "image", - "optional": false, - "comfy_node_id": { - "2": { - "dest_field_name": ["inputs", "image"] - } - } - }, - { - "name": "scale_factor", - "display_name": "Output image size factor", - "type": "range_scale", - "source_input_name": "image", - "optional": false, - "advanced": true, - "default": 2.0, - "min": 1.1, - "max": 3.0, - "step": 0.1, - "comfy_node_id": { - "104": { - "dest_field_name": ["inputs", "scale_by"], - "internal_type": "float" - } - } - }, - { - "name": "supir_diff_type", - "display_name": "Diffusion Type(set to \"fp32\" on macOS)", - "type": "list", - "default": "auto", - "optional": true, - "advanced": true, - "options": { - "fp16": "fp16", - "bf16": "bf16", - "fp32": "fp32", - "auto": "auto" - }, - "comfy_node_id": { - "21": { - "dest_field_name": ["inputs", "diffusion_dtype"] - } - } - }, - { - "name": "sharper", - "display_name": "Sharper", - "type": "bool", - "default": true, - "optional": false, - "advanced": true, - "comfy_node_id": { - "7": { - "dest_field_name": ["inputs", "sampler"], - "value": "TiledRestoreDPMPP2MSampler" - } - } - }, - { - "name": "low_memory", - "display_name": "Low memory mode", - "type": "bool", - "default": false, - "optional": true, - "advanced": true, - "comfy_node_id": { - "21": { - "dest_field_name": ["inputs", "fp8_unet"], - "value": true - }, - "7": { - "dest_field_name": ["inputs", ["sampler_tile_size", "sampler_tile_stride"]], - "value": [512, 256] - }, - "5": { - "dest_field_name": ["inputs", ["decoder_tile_size", "encoder_tile_size"]], - "value": [512, 512] - }, - "10": { - "dest_field_name": ["inputs", "decoder_tile_size"], - "value": 512 - }, - "11": { - "dest_field_name": ["inputs", "encoder_tile_size"], - "value": 512 - } - } - }, - { - "name": "disable_tiling", - "display_name": "Disable tiling(use for small images)", - "type": "bool", - "default": false, - "optional": true, - "advanced": true, - "comfy_node_id": { - "7": { - "src_field_name": ["inputs", "sampler"], - "dest_field_name": ["inputs", "sampler"], - "modify_param": [ - { - "sub": ["^Tiled", ""] - } - ] - } - } - } - ] -} diff --git a/flows/supir_upscaler/flow_comfy.json b/flows/supir_upscaler/flow_comfy.json deleted file mode 100644 index 1963b4a..0000000 --- a/flows/supir_upscaler/flow_comfy.json +++ /dev/null @@ -1,308 +0,0 @@ -{ - "2": { - "inputs": { - "image": "input.png", - "upload": "image" - }, - "class_type": "LoadImage", - "_meta": { - "title": "Load Image" - } - }, - "5": { - "inputs": { - "use_tiled_vae": true, - "encoder_tile_size": 1024, - "decoder_tile_size": 1024, - "encoder_dtype": "auto", - "SUPIR_VAE": [ - "21", - 1 - ], - "image": [ - "107", - 0 - ] - }, - "class_type": "SUPIR_first_stage", - "_meta": { - "title": "SUPIR First Stage (Denoiser)" - } - }, - "7": { - "inputs": { - "seed": 1, - "steps": 45, - "cfg_scale_start": 4, - "cfg_scale_end": 4, - "EDM_s_churn": 5, - "s_noise": 1.0030000000000001, - "DPMPP_eta": 1, - "control_scale_start": 1, - "control_scale_end": 1, - "restore_cfg": 1, - "keep_model_loaded": false, - "sampler": "TiledRestoreEDMSampler", - "sampler_tile_size": 1024, - "sampler_tile_stride": 512, - "SUPIR_model": [ - "21", - 0 - ], - "latents": [ - "11", - 0 - ], - "positive": [ - "9", - 0 - ], - "negative": [ - "9", - 1 - ] - }, - "class_type": "SUPIR_sample", - "_meta": { - "title": "SUPIR Sampler" - } - }, - "9": { - "inputs": { - "positive_prompt": [ - "88", - 0 - ], - "negative_prompt": "bad quality, blurry, messy, low detail, low resolution", - "SUPIR_model": [ - "21", - 0 - ], - "latents": [ - "5", - 2 - ] - }, - "class_type": "SUPIR_conditioner", - "_meta": { - "title": "SUPIR Conditioner" - } - }, - "10": { - "inputs": { - "use_tiled_vae": true, - "decoder_tile_size": 1024, - "SUPIR_VAE": [ - "21", - 1 - ], - "latents": [ - "7", - 0 - ] - }, - "class_type": "SUPIR_decode", - "_meta": { - "title": "SUPIR Decode" - } - }, - "11": { - "inputs": { - "use_tiled_vae": true, - "encoder_tile_size": 1024, - "encoder_dtype": "auto", - "SUPIR_VAE": [ - "5", - 0 - ], - "image": [ - "5", - 1 - ] - }, - "class_type": "SUPIR_encode", - "_meta": { - "title": "SUPIR Encode" - } - }, - "21": { - "inputs": { - "supir_model": "SUPIR-v0Q.ckpt", - "fp8_unet": false, - "diffusion_dtype": "auto", - "high_vram": false, - "model": [ - "22", - 0 - ], - "clip": [ - "22", - 1 - ], - "vae": [ - "22", - 2 - ] - }, - "class_type": "SUPIR_model_loader_v2", - "_meta": { - "title": "SUPIR Model Loader (v2)" - } - }, - "22": { - "inputs": { - "ckpt_name": "leosamsHelloworldXL_helloworldXL60.safetensors" - }, - "class_type": "CheckpointLoaderSimple", - "_meta": { - "title": "Load Checkpoint" - } - }, - "24": { - "inputs": { - "model": "wd-swinv2-tagger-v3", - "threshold": 0.35000000000000003, - "character_threshold": 0.85, - "replace_underscore": false, - "trailing_comma": false, - "exclude_tags": "bad quality, blurry, messy", - "image": [ - "107", - 0 - ] - }, - "class_type": "WD14Tagger|pysssss", - "_meta": { - "title": "WD14 Tagger 🐍" - } - }, - "88": { - "inputs": { - "action": "append", - "tidy_tags": "yes", - "text_a": [ - "24", - 0 - ], - "text_b": "high quality, detailed", - "text_c": "" - }, - "class_type": "StringFunction|pysssss", - "_meta": { - "title": "String Function 🐍" - } - }, - "104": { - "inputs": { - "upscale_method": "lanczos", - "scale_by": 2, - "image": [ - "2", - 0 - ] - }, - "class_type": "ImageScaleBy", - "_meta": { - "title": "Upscale Image By" - } - }, - "106": { - "inputs": { - "filename_prefix": "output", - "images": [ - "10", - 0 - ] - }, - "class_type": "SaveImage", - "_meta": { - "title": "Save Image" - } - }, - "107": { - "inputs": { - "width": [ - "109", - 0 - ], - "height": [ - "110", - 0 - ], - "interpolation": "lanczos", - "method": "keep proportion", - "condition": "always", - "multiple_of": 32, - "image": [ - "104", - 0 - ] - }, - "class_type": "ImageResize+", - "_meta": { - "title": "🔧 Image Resize" - } - }, - "108": { - "inputs": { - "image": [ - "104", - 0 - ] - }, - "class_type": "GetImageSize+", - "_meta": { - "title": "🔧 Get Image Size" - } - }, - "109": { - "inputs": { - "python_expression": "((a + 31) // 32) * 32", - "print_to_console": "False", - "a": [ - "108", - 0 - ], - "b": 0, - "c": 0 - }, - "class_type": "Evaluate Integers", - "_meta": { - "title": "Evaluate Integers" - } - }, - "110": { - "inputs": { - "python_expression": "((a + 31) // 32) * 32", - "print_to_console": "False", - "a": [ - "108", - 1 - ], - "b": 0, - "c": 0 - }, - "class_type": "Evaluate Integers", - "_meta": { - "title": "Evaluate Integers" - } - }, - "111": { - "inputs": { - "text": "{\n \"name\": \"supir_upscaler\",\n \"display_name\": \"SUPIR Upscaler\",\n \"description\": \"High-End Image Upscaler\",\n \"author\": \"akihungac\",\n \"homepage\": \"https://openart.ai/workflows/profile/akihungac\",\n \"license\": \"\",\n \"documentation\": \"https://visionatrix.github.io/VixFlowsDocs/Flows/SupirUpscaler.html\",\n \"tags\": [\"upscaler\"]\n}" - }, - "class_type": "Text Multiline (Code Compatible)", - "_meta": { - "title": "WF_META" - } - }, - "112": { - "inputs": { - "text": "{\n \"sub_flows\": [\n {\n \"display_name\": \"SUPIR(1.5x)\",\n \"type\": \"image\",\n \"input_params\": [\n {\n \"name\": \"scale_factor\",\n \"default\": 1.5\n }\n ]\n },\n {\n \"display_name\": \"SUPIR(2x)\",\n \"type\": \"image\",\n \"input_params\": [\n {\n \"name\": \"scale_factor\",\n \"default\": 2.0\n }\n ]\n }\n ]\n}" - }, - "class_type": "Text Multiline (Code Compatible)", - "_meta": { - "title": "WF_SUBFLOWS" - } - } -} diff --git a/flows/vintage_portrait/flow.json b/flows/vintage_portrait/flow.json deleted file mode 100644 index a0fa19e..0000000 --- a/flows/vintage_portrait/flow.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "input_params": [ - { - "name": "image", - "display_name": "Person's face", - "type": "image", - "optional": false, - "comfy_node_id": { - "37": { - "dest_field_name": ["inputs", "image"] - } - } - }, - { - "name": "prompt", - "display_name": "Prompt", - "type": "text", - "optional": false, - "advanced": false, - "default": "happy man", - "comfy_node_id": { - "29": { - "dest_field_name": ["inputs", "positive"] - } - } - }, - { - "name": "pose", - "display_name": "Person's face pose", - "type": "image", - "optional": true, - "advanced": true, - "comfy_node_id": { - "44": { - "dest_field_name": ["inputs", "image"], - "node_connect": { - "node_id": "33", - "dest_field_name": ["inputs", "image_kps"] - } - } - } - } - ] -} From 0dc7dfa6aa7a406435b056c93be5306dbce7f27a Mon Sep 17 00:00:00 2001 From: Alexander Piskun Date: Sat, 22 Jun 2024 23:58:58 +0300 Subject: [PATCH 04/27] dev process Signed-off-by: Alexander Piskun --- flows/comicu_portrait.json | 464 ++++++++++++++++++ flows/comicu_portrait/flow_comfy.json | 171 ------- .../flow_comfy.json => vintage_portrait.json} | 45 +- 3 files changed, 500 insertions(+), 180 deletions(-) create mode 100644 flows/comicu_portrait.json delete mode 100644 flows/comicu_portrait/flow_comfy.json rename flows/{vintage_portrait/flow_comfy.json => vintage_portrait.json} (75%) diff --git a/flows/comicu_portrait.json b/flows/comicu_portrait.json new file mode 100644 index 0000000..01ff871 --- /dev/null +++ b/flows/comicu_portrait.json @@ -0,0 +1,464 @@ +{ + "336": { + "inputs": { + "weight": 0.6, + "start_at": 0, + "end_at": 0.85, + "instantid": [ + "337", + 0 + ], + "insightface": [ + "338", + 0 + ], + "control_net": [ + "339", + 0 + ], + "image": [ + "383", + 0 + ], + "model": [ + "384", + 0 + ], + "positive": [ + "384", + 1 + ], + "negative": [ + "384", + 2 + ] + }, + "class_type": "ApplyInstantID", + "_meta": { + "title": "Apply InstantID" + } + }, + "337": { + "inputs": { + "instantid_file": "instantid-ip-adapter.bin" + }, + "class_type": "InstantIDModelLoader", + "_meta": { + "title": "Load InstantID Model" + } + }, + "338": { + "inputs": { + "provider": "CPU" + }, + "class_type": "InstantIDFaceAnalysis", + "_meta": { + "title": "InstantID Face Analysis" + } + }, + "339": { + "inputs": { + "control_net_name": "instantid-controlnet.safetensors" + }, + "class_type": "ControlNetLoader", + "_meta": { + "title": "Load ControlNet Model" + } + }, + "340": { + "inputs": { + "image": "", + "upload": "image" + }, + "class_type": "LoadImage", + "_meta": { + "title": "input;Person's face;order=1" + } + }, + "357": { + "inputs": { + "seed": 221455975441137, + "steps": 28, + "cfg": [ + "413", + 0 + ], + "sampler_name": "dpmpp_2m", + "scheduler": "karras", + "denoise": 1, + "preview_method": "none", + "vae_decode": "true", + "model": [ + "418", + 0 + ], + "positive": [ + "336", + 1 + ], + "negative": [ + "336", + 2 + ], + "latent_image": [ + "384", + 3 + ], + "optional_vae": [ + "384", + 4 + ] + }, + "class_type": "KSampler (Efficient)", + "_meta": { + "title": "KSampler (Efficient)" + } + }, + "359": { + "inputs": { + "filename_prefix": "Animagine XL 3.1/img_", + "images": [ + "417", + 0 + ] + }, + "class_type": "SaveImage", + "_meta": { + "title": "Save Image" + } + }, + "383": { + "inputs": { + "upscale_method": "lanczos", + "megapixels": 1, + "image": [ + "340", + 0 + ] + }, + "class_type": "ImageScaleToTotalPixels", + "_meta": { + "title": "ImageScaleToTotalPixels" + } + }, + "384": { + "inputs": { + "ckpt_name": "CinematicRedmond.safetensors", + "vae_name": "Baked VAE", + "clip_skip": -1, + "lora_name": "The_Simplest.safetensors", + "lora_model_strength": 1, + "lora_clip_strength": 1, + "positive": [ + "409", + 0 + ], + "negative": "nsfw, lowres, (bad), text, error, fewer, extra, missing, worst quality, jpeg artifacts, low quality, watermark, unfinished, displeasing, oldest, early, chromatic aberration, signature, extra digits, artistic error, username, scan, [abstract]", + "token_normalization": "none", + "weight_interpretation": "comfy", + "empty_latent_width": 896, + "empty_latent_height": 1152, + "batch_size": 1 + }, + "class_type": "Efficient Loader", + "_meta": { + "title": "Efficient Loader" + } + }, + "407": { + "inputs": { + "text": [ + "408", + 0 + ], + "find": "{gender}", + "replace": [ + "412", + 0 + ] + }, + "class_type": "Text Find and Replace", + "_meta": { + "title": "Text Find and Replace" + } + }, + "408": { + "inputs": { + "text": "[1{gender}] {prompt}, looking at viewer, half body, (masterpiece), (best quality), (ultra-detailed), very aesthetic, illustration, perfect composition" + }, + "class_type": "Text Multiline (Code Compatible)", + "_meta": { + "title": "Text Multiline (Code Compatible)" + } + }, + "409": { + "inputs": { + "text": [ + "407", + 0 + ], + "find": "{prompt}", + "replace": [ + "411", + 0 + ] + }, + "class_type": "Text Find and Replace", + "_meta": { + "title": "Text Find and Replace" + } + }, + "410": { + "inputs": { + "name": "comicu_portrait", + "display_name": "Comicu Portrait", + "description": "Person portrait in Anime style", + "author": "Datou", + "homepage": "https://openart.ai/workflows/datou/comicu/8fIWdL2KU2myMdfigoWk", + "documentation": "https://visionatrix.github.io/VixFlowsDocs/Flows/ComicuPortrait.html", + "license": "", + "tags": "[\"anime\", \"portrait\"]" + }, + "class_type": "VixUiWorkflowMetadata", + "_meta": { + "title": "VixUI-WorkflowMetadata" + } + }, + "411": { + "inputs": { + "text": "", + "display_name": "Prompt", + "optional": true, + "advanced": true, + "order": 10 + }, + "class_type": "VixUiPrompt", + "_meta": { + "title": "VixUI-Prompt" + } + }, + "412": { + "inputs": { + "default_value": "girl", + "possible_values": "[\"girl\", \"boy\", \"man\", \"woman\"]", + "display_name": "Base gender", + "optional": false, + "advanced": false, + "order": 2 + }, + "class_type": "VixUiList", + "_meta": { + "title": "VixUI-List" + } + }, + "413": { + "inputs": { + "value": 7, + "display_name": "Prompt strength", + "optional": true, + "advanced": true, + "min": 5, + "max": 7, + "step": 0.1, + "order": 99 + }, + "class_type": "VixUiRangeFloat", + "_meta": { + "title": "VixUI-RangeFloat" + } + }, + "414": { + "inputs": { + "seed": 221455975441137, + "steps": 28, + "cfg": [ + "413", + 0 + ], + "sampler_name": "euler_ancestral", + "scheduler": "normal", + "denoise": 1, + "preview_method": "none", + "vae_decode": "true", + "model": [ + "419", + 0 + ], + "positive": [ + "416", + 1 + ], + "negative": [ + "416", + 2 + ], + "latent_image": [ + "415", + 3 + ], + "optional_vae": [ + "415", + 4 + ] + }, + "class_type": "KSampler (Efficient)", + "_meta": { + "title": "KSampler (Efficient)" + } + }, + "415": { + "inputs": { + "ckpt_name": "CinematicRedmond.safetensors", + "vae_name": "Baked VAE", + "clip_skip": -1, + "lora_name": "None", + "lora_model_strength": 1, + "lora_clip_strength": 1, + "positive": [ + "420", + 0 + ], + "negative": "nsfw, lowres, (bad), text, error, fewer, extra, missing, worst quality, jpeg artifacts, low quality, watermark, unfinished, displeasing, oldest, early, chromatic aberration, signature, extra digits, artistic error, username, scan, [abstract]", + "token_normalization": "none", + "weight_interpretation": "comfy", + "empty_latent_width": 896, + "empty_latent_height": 1152, + "batch_size": 1 + }, + "class_type": "Efficient Loader", + "_meta": { + "title": "Efficient Loader" + } + }, + "416": { + "inputs": { + "weight": 0.7000000000000001, + "start_at": 0, + "end_at": 0.85, + "instantid": [ + "337", + 0 + ], + "insightface": [ + "338", + 0 + ], + "control_net": [ + "339", + 0 + ], + "image": [ + "383", + 0 + ], + "model": [ + "415", + 0 + ], + "positive": [ + "415", + 1 + ], + "negative": [ + "415", + 2 + ] + }, + "class_type": "ApplyInstantID", + "_meta": { + "title": "Apply InstantID" + } + }, + "417": { + "inputs": { + "state": true, + "display_name": "Simple style", + "optional": true, + "advanced": true, + "order": 3, + "input_off_state": [ + "414", + 5 + ], + "input_on_state": [ + "357", + 5 + ] + }, + "class_type": "VixUiCheckbox", + "_meta": { + "title": "VixUI-Checkbox" + } + }, + "418": { + "inputs": { + "hard_mode": true, + "boost": true, + "model": [ + "336", + 0 + ] + }, + "class_type": "Automatic CFG", + "_meta": { + "title": "Automatic CFG" + } + }, + "419": { + "inputs": { + "hard_mode": true, + "boost": true, + "model": [ + "416", + 0 + ] + }, + "class_type": "Automatic CFG", + "_meta": { + "title": "Automatic CFG" + } + }, + "420": { + "inputs": { + "text": [ + "421", + 0 + ], + "find": "{prompt}", + "replace": [ + "411", + 0 + ] + }, + "class_type": "Text Find and Replace", + "_meta": { + "title": "Text Find and Replace" + } + }, + "421": { + "inputs": { + "text": [ + "422", + 0 + ], + "find": "{gender}", + "replace": [ + "412", + 0 + ] + }, + "class_type": "Text Find and Replace", + "_meta": { + "title": "Text Find and Replace" + } + }, + "422": { + "inputs": { + "text": "[1{gender}] {prompt}, line-sketch, ((looking at viewer, clear background, white background)), best quality" + }, + "class_type": "Text Multiline (Code Compatible)", + "_meta": { + "title": "Text Multiline (Code Compatible)" + } + } +} diff --git a/flows/comicu_portrait/flow_comfy.json b/flows/comicu_portrait/flow_comfy.json deleted file mode 100644 index c2168fc..0000000 --- a/flows/comicu_portrait/flow_comfy.json +++ /dev/null @@ -1,171 +0,0 @@ -{ - "336": { - "inputs": { - "weight": 0.6, - "start_at": 0, - "end_at": 0.85, - "instantid": [ - "337", - 0 - ], - "insightface": [ - "338", - 0 - ], - "control_net": [ - "339", - 0 - ], - "image": [ - "383", - 0 - ], - "model": [ - "384", - 0 - ], - "positive": [ - "384", - 1 - ], - "negative": [ - "384", - 2 - ] - }, - "class_type": "ApplyInstantID", - "_meta": { - "title": "Apply InstantID" - } - }, - "337": { - "inputs": { - "instantid_file": "instantid-ip-adapter.bin" - }, - "class_type": "InstantIDModelLoader", - "_meta": { - "title": "Load InstantID Model" - } - }, - "338": { - "inputs": { - "provider": "CPU" - }, - "class_type": "InstantIDFaceAnalysis", - "_meta": { - "title": "InstantID Face Analysis" - } - }, - "339": { - "inputs": { - "control_net_name": "instantid-controlnet.safetensors" - }, - "class_type": "ControlNetLoader", - "_meta": { - "title": "Load ControlNet Model" - } - }, - "340": { - "inputs": { - "image": "jaafar-jackson.jpg", - "upload": "image" - }, - "class_type": "LoadImage", - "_meta": { - "title": "Load Image" - } - }, - "357": { - "inputs": { - "seed": 221455975441137, - "steps": 28, - "cfg": 4, - "sampler_name": "dpmpp_2m", - "scheduler": "karras", - "denoise": 1, - "preview_method": "none", - "vae_decode": "true", - "model": [ - "336", - 0 - ], - "positive": [ - "336", - 1 - ], - "negative": [ - "336", - 2 - ], - "latent_image": [ - "384", - 3 - ], - "optional_vae": [ - "384", - 4 - ] - }, - "class_type": "KSampler (Efficient)", - "_meta": { - "title": "KSampler (Efficient)" - } - }, - "359": { - "inputs": { - "filename_prefix": "Animagine XL 3.1/img_", - "images": [ - "357", - 5 - ] - }, - "class_type": "SaveImage", - "_meta": { - "title": "Save Image" - } - }, - "383": { - "inputs": { - "upscale_method": "lanczos", - "megapixels": 1, - "image": [ - "340", - 0 - ] - }, - "class_type": "ImageScaleToTotalPixels", - "_meta": { - "title": "ImageScaleToTotalPixels" - } - }, - "384": { - "inputs": { - "ckpt_name": "animagine-xl-3.1.safetensors", - "vae_name": "Baked VAE", - "clip_skip": -1, - "lora_name": "The_Simplest.safetensors", - "lora_model_strength": 1, - "lora_clip_strength": 1, - "positive": "[1{gender}] {prompt}, looking at viewer, half body, (masterpiece), (best quality), (ultra-detailed), very aesthetic, illustration, perfect composition", - "negative": "nsfw, lowres, (bad), text, error, fewer, extra, missing, worst quality, jpeg artifacts, low quality, watermark, unfinished, displeasing, oldest, early, chromatic aberration, signature, extra digits, artistic error, username, scan, [abstract]", - "token_normalization": "none", - "weight_interpretation": "comfy", - "empty_latent_width": 896, - "empty_latent_height": 1152, - "batch_size": 1 - }, - "class_type": "Efficient Loader", - "_meta": { - "title": "Efficient Loader" - } - }, - "385": { - "inputs": { - "text": "{\n \"name\": \"comicu_portrait\",\n \"display_name\": \"Comicu Portrait\",\n \"description\": \"Person portrait in Anime style\",\n \"author\": \"Datou\",\n \"homepage\": \"https://openart.ai/workflows/datou/comicu/8fIWdL2KU2myMdfigoWk\",\n \"license\": \"\",\n \"documentation\": \"https://visionatrix.github.io/VixFlowsDocs/Flows/ComicuPortrait.html\",\n \"tags\": [\"anime\", \"portrait\"]\n}" - }, - "class_type": "Text Multiline (Code Compatible)", - "_meta": { - "title": "WF_META" - } - } -} diff --git a/flows/vintage_portrait/flow_comfy.json b/flows/vintage_portrait.json similarity index 75% rename from flows/vintage_portrait/flow_comfy.json rename to flows/vintage_portrait.json index 8dd1647..a3215fd 100644 --- a/flows/vintage_portrait/flow_comfy.json +++ b/flows/vintage_portrait.json @@ -7,7 +7,10 @@ "lora_name": "None", "lora_model_strength": 1, "lora_clip_strength": 1, - "positive": "portrait of a girl, cinematic, masterpiece", + "positive": [ + "47", + 0 + ], "negative": "see panties, 3d, EasyNegativeV2, worst quality, low quality, watermark, signature, bad anatomy, bad hands, deformed limbs, blurry, cropped, cross-eyed, extra arms, speech bubble, extra legs, extra limbs, bad proportions, poorly drawn hands, text, flat background, photo,\n", "token_normalization": "none", "weight_interpretation": "comfy", @@ -101,6 +104,10 @@ "negative": [ "29", 2 + ], + "image_kps": [ + "44", + 0 ] }, "class_type": "ApplyInstantID", @@ -137,31 +144,51 @@ }, "37": { "inputs": { - "image": "input.png", + "image": "", "upload": "image" }, "class_type": "LoadImage", "_meta": { - "title": "Load Image" + "title": "input;Person's face;order=1" } }, "44": { "inputs": { - "image": "pose.png", + "image": "", "upload": "image" }, "class_type": "LoadImage", "_meta": { - "title": "Load Image" + "title": "input;Person's face pose; optional;advanced;order=2" + } + }, + "46": { + "inputs": { + "name": "vintage_portrait", + "display_name": "Vintage Portrait", + "description": "Portrait photos in Vintage styles", + "author": "bigcat88", + "homepage": "https://github.com/bigcat88", + "documentation": "https://visionatrix.github.io/VixFlowsDocs/Flows/VintagePortrait.html", + "license": "", + "tags": "[\"portrait\"]" + }, + "class_type": "VixUiWorkflowMetadata", + "_meta": { + "title": "VixUI-WorkflowMetadata" } }, - "45": { + "47": { "inputs": { - "text": "{\n \"name\": \"vintage_portrait\",\n \"display_name\": \"Vintage Portrait\",\n \"description\": \"Portrait photos in Vintage styles\",\n \"author\": \"bigcat88\",\n \"homepage\": \"https://github.com/bigcat88\",\n \"license\": \"\",\n \"documentation\": \"https://visionatrix.github.io/VixFlowsDocs/Flows/VintagePortrait.html\",\n \"tags\": [\"portrait\"]\n}" + "text": "portrait of a girl, cinematic, masterpiece", + "display_name": "Prompt", + "optional": false, + "advanced": false, + "order": 2 }, - "class_type": "Text Multiline (Code Compatible)", + "class_type": "VixUiPrompt", "_meta": { - "title": "WF_META" + "title": "VixUI-Prompt" } } } From 3483891c84d9e2b5e3ce93c2b5c185e8933007a9 Mon Sep 17 00:00:00 2001 From: Alexander Piskun Date: Sun, 23 Jun 2024 11:29:19 +0300 Subject: [PATCH 05/27] added NetaArt_XL model Signed-off-by: Alexander Piskun --- models_catalog.json | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/models_catalog.json b/models_catalog.json index 9dff6cb..bb873d3 100644 --- a/models_catalog.json +++ b/models_catalog.json @@ -102,9 +102,9 @@ } ], "save_path": "loras/The_Simplest.safetensors", - "url": "https://civitai.com/api/download/models/376536?type=Model&format=SafeTensor", + "url": "https://huggingface.co/andrey18106/vix_models/resolve/main/lora/loras/The_Simplest.safetensors", "homepage": "https://civitai.com/models/336225/the-simplest", - "hash": "EC43D26E93173195BF6873BE6AD829EC3C4DE3F2A1F5D7F3A31E83B5BDD6C6EA" + "hash": "ec43d26e93173195bf6873be6ad829ec3c4de3f2a1f5d7f3a31e83b5bdd6c6ea" }, "animagine-xl-3.1": { "regexes": [ @@ -430,5 +430,17 @@ } ], "gated": true + }, + "NetaArt_XL_1.0" : { + "save_path": "checkpoints/neta_art_xl_v10.safetensors", + "url": "https://huggingface.co/neta-art/neta-art-xl-1.0/resolve/main/neta_art_xl_v10.safetensors", + "homepage": "https://huggingface.co/neta-art/neta-art-xl-1.0", + "hash": "5a268fde845f9bce52111cd05b8241cabe1580af4c96ee5f68fb61f422693cb1", + "regexes": [ + { + "input_value": "^(?=.*(?i:neta))(?=.*(?i:art))(?=.*(?i:xl))(?=.*(?i:v10)).*", + "input_name": "^(?!.*(?i:lora)).*" + } + ] } } From e6885b128adda34e60b80d68bd9effe90e205647 Mon Sep 17 00:00:00 2001 From: Alexander Piskun <13381981+bigcat88@users.noreply.github.com> Date: Sun, 23 Jun 2024 11:29:50 +0300 Subject: [PATCH 06/27] ported Datou's flows to new workflow format Signed-off-by: Alexander Piskun --- flows/comicu_portrait.json | 381 ++++++++++++------------------------- flows/sketch_portrait.json | 367 +++++++++++++++++++++++++++++++++++ 2 files changed, 492 insertions(+), 256 deletions(-) create mode 100644 flows/sketch_portrait.json diff --git a/flows/comicu_portrait.json b/flows/comicu_portrait.json index 01ff871..1c4f380 100644 --- a/flows/comicu_portrait.json +++ b/flows/comicu_portrait.json @@ -31,6 +31,10 @@ "negative": [ "384", 2 + ], + "image_kps": [ + "394", + 0 ] }, "class_type": "ApplyInstantID", @@ -65,66 +69,17 @@ "title": "Load ControlNet Model" } }, - "340": { - "inputs": { - "image": "", - "upload": "image" - }, - "class_type": "LoadImage", - "_meta": { - "title": "input;Person's face;order=1" - } - }, - "357": { - "inputs": { - "seed": 221455975441137, - "steps": 28, - "cfg": [ - "413", - 0 - ], - "sampler_name": "dpmpp_2m", - "scheduler": "karras", - "denoise": 1, - "preview_method": "none", - "vae_decode": "true", - "model": [ - "418", - 0 - ], - "positive": [ - "336", - 1 - ], - "negative": [ - "336", - 2 - ], - "latent_image": [ - "384", - 3 - ], - "optional_vae": [ - "384", - 4 - ] - }, - "class_type": "KSampler (Efficient)", - "_meta": { - "title": "KSampler (Efficient)" - } - }, "359": { "inputs": { "filename_prefix": "Animagine XL 3.1/img_", "images": [ - "417", + "390", 0 ] }, "class_type": "SaveImage", "_meta": { - "title": "Save Image" + "title": "@Datou https://twitter.com/Datou" } }, "383": { @@ -132,7 +87,7 @@ "upscale_method": "lanczos", "megapixels": 1, "image": [ - "340", + "393", 0 ] }, @@ -143,14 +98,14 @@ }, "384": { "inputs": { - "ckpt_name": "CinematicRedmond.safetensors", + "ckpt_name": "animagine-xl-3.1.safetensors", "vae_name": "Baked VAE", "clip_skip": -1, "lora_name": "The_Simplest.safetensors", "lora_model_strength": 1, "lora_clip_strength": 1, "positive": [ - "409", + "399", 0 ], "negative": "nsfw, lowres, (bad), text, error, fewer, extra, missing, worst quality, jpeg artifacts, low quality, watermark, unfinished, displeasing, oldest, early, chromatic aberration, signature, extra digits, artistic error, username, scan, [abstract]", @@ -165,100 +120,118 @@ "title": "Efficient Loader" } }, - "407": { + "386": { "inputs": { - "text": [ - "408", - 0 - ], - "find": "{gender}", - "replace": [ - "412", + "hard_mode": true, + "boost": true, + "model": [ + "336", 0 ] }, - "class_type": "Text Find and Replace", + "class_type": "Automatic CFG", "_meta": { - "title": "Text Find and Replace" + "title": "Automatic CFG" } }, - "408": { + "387": { "inputs": { - "text": "[1{gender}] {prompt}, looking at viewer, half body, (masterpiece), (best quality), (ultra-detailed), very aesthetic, illustration, perfect composition" + "model_type": "SDXL", + "steps": 10, + "denoise": 1 }, - "class_type": "Text Multiline (Code Compatible)", + "class_type": "AlignYourStepsScheduler", "_meta": { - "title": "Text Multiline (Code Compatible)" + "title": "AlignYourStepsScheduler" } }, - "409": { + "388": { "inputs": { - "text": [ - "407", + "add_noise": true, + "noise_seed": 419700299856744, + "cfg": [ + "392", 0 ], - "find": "{prompt}", - "replace": [ - "411", + "model": [ + "386", + 0 + ], + "positive": [ + "336", + 1 + ], + "negative": [ + "336", + 2 + ], + "sampler": [ + "389", + 0 + ], + "sigmas": [ + "387", 0 + ], + "latent_image": [ + "384", + 3 ] }, - "class_type": "Text Find and Replace", + "class_type": "SamplerCustom", "_meta": { - "title": "Text Find and Replace" + "title": "SamplerCustom" } }, - "410": { + "389": { "inputs": { - "name": "comicu_portrait", - "display_name": "Comicu Portrait", - "description": "Person portrait in Anime style", - "author": "Datou", - "homepage": "https://openart.ai/workflows/datou/comicu/8fIWdL2KU2myMdfigoWk", - "documentation": "https://visionatrix.github.io/VixFlowsDocs/Flows/ComicuPortrait.html", - "license": "", - "tags": "[\"anime\", \"portrait\"]" + "sampler_name": "dpmpp_2m" }, - "class_type": "VixUiWorkflowMetadata", + "class_type": "KSamplerSelect", "_meta": { - "title": "VixUI-WorkflowMetadata" + "title": "KSamplerSelect" } }, - "411": { + "390": { "inputs": { - "text": "", - "display_name": "Prompt", - "optional": true, - "advanced": true, - "order": 10 + "samples": [ + "388", + 0 + ], + "vae": [ + "384", + 4 + ] }, - "class_type": "VixUiPrompt", + "class_type": "VAEDecode", "_meta": { - "title": "VixUI-Prompt" + "title": "VAE Decode" } }, - "412": { + "391": { "inputs": { - "default_value": "girl", - "possible_values": "[\"girl\", \"boy\", \"man\", \"woman\"]", - "display_name": "Base gender", - "optional": false, - "advanced": false, - "order": 2 + "name": "comicu_portrait", + "display_name": "ComicU Portrait", + "description": "Person portrait in Anime style", + "author": "Datou", + "homepage": "https://openart.ai/workflows/datou/comicu/8fIWdL2KU2myMdfigoWk", + "documentation": "https://visionatrix.github.io/VixFlowsDocs/Flows/ComicuPortrait.html", + "license": "", + "tags": "[\"anime\", \"portrait\"]" }, - "class_type": "VixUiList", + "class_type": "VixUiWorkflowMetadata", "_meta": { - "title": "VixUI-List" + "title": "VixUI-WorkflowMetadata" } }, - "413": { + "392": { "inputs": { "value": 7, - "display_name": "Prompt strength", + "display_name": "Freedom of outcome", "optional": true, "advanced": true, - "min": 5, - "max": 7, + "min": 6, + "max": 8, "step": 0.1, "order": 99 }, @@ -267,183 +240,75 @@ "title": "VixUI-RangeFloat" } }, - "414": { + "393": { "inputs": { - "seed": 221455975441137, - "steps": 28, - "cfg": [ - "413", - 0 - ], - "sampler_name": "euler_ancestral", - "scheduler": "normal", - "denoise": 1, - "preview_method": "none", - "vae_decode": "true", - "model": [ - "419", - 0 - ], - "positive": [ - "416", - 1 - ], - "negative": [ - "416", - 2 - ], - "latent_image": [ - "415", - 3 - ], - "optional_vae": [ - "415", - 4 - ] + "image": "", + "upload": "image" }, - "class_type": "KSampler (Efficient)", + "class_type": "LoadImage", "_meta": { - "title": "KSampler (Efficient)" + "title": "input;Person's face;order=1" } }, - "415": { + "394": { "inputs": { - "ckpt_name": "CinematicRedmond.safetensors", - "vae_name": "Baked VAE", - "clip_skip": -1, - "lora_name": "None", - "lora_model_strength": 1, - "lora_clip_strength": 1, - "positive": [ - "420", - 0 - ], - "negative": "nsfw, lowres, (bad), text, error, fewer, extra, missing, worst quality, jpeg artifacts, low quality, watermark, unfinished, displeasing, oldest, early, chromatic aberration, signature, extra digits, artistic error, username, scan, [abstract]", - "token_normalization": "none", - "weight_interpretation": "comfy", - "empty_latent_width": 896, - "empty_latent_height": 1152, - "batch_size": 1 + "image": "", + "upload": "image" }, - "class_type": "Efficient Loader", + "class_type": "LoadImage", "_meta": { - "title": "Efficient Loader" + "title": "input;Person's face pose; optional;advanced;order=2" } }, - "416": { + "396": { "inputs": { - "weight": 0.7000000000000001, - "start_at": 0, - "end_at": 0.85, - "instantid": [ - "337", - 0 - ], - "insightface": [ - "338", - 0 - ], - "control_net": [ - "339", - 0 - ], - "image": [ - "383", - 0 - ], - "model": [ - "415", - 0 - ], - "positive": [ - "415", - 1 - ], - "negative": [ - "415", - 2 - ] + "default_value": "girl", + "possible_values": "[\"girl\", \"boy\", \"man\", \"woman\"]", + "display_name": "Base gender", + "optional": false, + "advanced": false, + "order": 2 }, - "class_type": "ApplyInstantID", + "class_type": "VixUiList", "_meta": { - "title": "Apply InstantID" + "title": "VixUI-List" } }, - "417": { + "397": { "inputs": { - "state": true, - "display_name": "Simple style", - "optional": true, - "advanced": true, - "order": 3, - "input_off_state": [ - "414", - 5 + "text": [ + "398", + 0 ], - "input_on_state": [ - "357", - 5 - ] - }, - "class_type": "VixUiCheckbox", - "_meta": { - "title": "VixUI-Checkbox" - } - }, - "418": { - "inputs": { - "hard_mode": true, - "boost": true, - "model": [ - "336", + "find": "{gender}", + "replace": [ + "396", 0 ] }, - "class_type": "Automatic CFG", + "class_type": "Text Find and Replace", "_meta": { - "title": "Automatic CFG" + "title": "Text Find and Replace" } }, - "419": { + "398": { "inputs": { - "hard_mode": true, - "boost": true, - "model": [ - "416", - 0 - ] + "text": "[1{gender}] {prompt}, looking at viewer, half body, (masterpiece), (best quality), (ultra-detailed), very aesthetic, illustration, perfect composition" }, - "class_type": "Automatic CFG", + "class_type": "Text Multiline (Code Compatible)", "_meta": { - "title": "Automatic CFG" + "title": "Text Multiline (Code Compatible)" } }, - "420": { + "399": { "inputs": { "text": [ - "421", + "397", 0 ], "find": "{prompt}", "replace": [ - "411", - 0 - ] - }, - "class_type": "Text Find and Replace", - "_meta": { - "title": "Text Find and Replace" - } - }, - "421": { - "inputs": { - "text": [ - "422", - 0 - ], - "find": "{gender}", - "replace": [ - "412", + "400", 0 ] }, @@ -452,13 +317,17 @@ "title": "Text Find and Replace" } }, - "422": { + "400": { "inputs": { - "text": "[1{gender}] {prompt}, line-sketch, ((looking at viewer, clear background, white background)), best quality" + "text": "", + "display_name": "Prompt", + "optional": true, + "advanced": true, + "order": 10 }, - "class_type": "Text Multiline (Code Compatible)", + "class_type": "VixUiPrompt", "_meta": { - "title": "Text Multiline (Code Compatible)" + "title": "VixUI-Prompt" } } -} +} \ No newline at end of file diff --git a/flows/sketch_portrait.json b/flows/sketch_portrait.json new file mode 100644 index 0000000..6ff2151 --- /dev/null +++ b/flows/sketch_portrait.json @@ -0,0 +1,367 @@ +{ + "14": { + "inputs": { + "ckpt_name": "neta_art_xl_v10.safetensors" + }, + "class_type": "CheckpointLoaderSimple", + "_meta": { + "title": "Load Checkpoint Base" + } + }, + "290": { + "inputs": { + "text": [ + "401", + 0 + ], + "clip": [ + "14", + 1 + ] + }, + "class_type": "CLIPTextEncode", + "_meta": { + "title": "CLIP Text Encode (Positive Prompt)" + } + }, + "291": { + "inputs": { + "text": "nsfw, lowres, bad anatomy, bad hands, text, error, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality, normal quality, jpeg artifacts, signature, watermark, username, blurry, artist name, rating: sensitive, low contrast, signature, flexible deformity, abstract, low contrast, colors", + "clip": [ + "14", + 1 + ] + }, + "class_type": "CLIPTextEncode", + "_meta": { + "title": "CLIP Text Encode (Negative Prompt)" + } + }, + "336": { + "inputs": { + "weight": 0.7000000000000001, + "start_at": 0, + "end_at": 0.85, + "instantid": [ + "337", + 0 + ], + "insightface": [ + "338", + 0 + ], + "control_net": [ + "339", + 0 + ], + "image": [ + "383", + 0 + ], + "model": [ + "14", + 0 + ], + "positive": [ + "290", + 0 + ], + "negative": [ + "291", + 0 + ], + "image_kps": [ + "396", + 0 + ] + }, + "class_type": "ApplyInstantID", + "_meta": { + "title": "Apply InstantID" + } + }, + "337": { + "inputs": { + "instantid_file": "instantid-ip-adapter.bin" + }, + "class_type": "InstantIDModelLoader", + "_meta": { + "title": "Load InstantID Model" + } + }, + "338": { + "inputs": { + "provider": "CPU" + }, + "class_type": "InstantIDFaceAnalysis", + "_meta": { + "title": "InstantID Face Analysis" + } + }, + "339": { + "inputs": { + "control_net_name": "instantid-controlnet.safetensors" + }, + "class_type": "ControlNetLoader", + "_meta": { + "title": "Load ControlNet Model" + } + }, + "345": { + "inputs": { + "width": 896, + "height": 1152, + "batch_size": 1 + }, + "class_type": "EmptyLatentImage", + "_meta": { + "title": "Empty Latent Image" + } + }, + "359": { + "inputs": { + "filename_prefix": "Comic Portrait/img_", + "images": [ + "385", + 0 + ] + }, + "class_type": "SaveImage", + "_meta": { + "title": "@Datou https://twitter.com/Datou" + } + }, + "383": { + "inputs": { + "upscale_method": "lanczos", + "megapixels": 1, + "image": [ + "394", + 0 + ] + }, + "class_type": "ImageScaleToTotalPixels", + "_meta": { + "title": "ImageScaleToTotalPixels" + } + }, + "385": { + "inputs": { + "samples": [ + "390", + 0 + ], + "vae": [ + "386", + 0 + ] + }, + "class_type": "VAEDecode", + "_meta": { + "title": "VAE Decode" + } + }, + "386": { + "inputs": { + "vae_name": "sdxl_vae.safetensors" + }, + "class_type": "VAELoader", + "_meta": { + "title": "Load VAE" + } + }, + "387": { + "inputs": { + "hard_mode": true, + "boost": true, + "model": [ + "336", + 0 + ] + }, + "class_type": "Automatic CFG", + "_meta": { + "title": "Automatic CFG" + } + }, + "389": { + "inputs": { + "model_type": "SDXL", + "steps": 10, + "denoise": 1 + }, + "class_type": "AlignYourStepsScheduler", + "_meta": { + "title": "AlignYourStepsScheduler" + } + }, + "390": { + "inputs": { + "add_noise": true, + "noise_seed": 288636115122282, + "cfg": [ + "393", + 0 + ], + "model": [ + "387", + 0 + ], + "positive": [ + "336", + 1 + ], + "negative": [ + "336", + 2 + ], + "sampler": [ + "391", + 0 + ], + "sigmas": [ + "389", + 0 + ], + "latent_image": [ + "345", + 0 + ] + }, + "class_type": "SamplerCustom", + "_meta": { + "title": "SamplerCustom" + } + }, + "391": { + "inputs": { + "sampler_name": "dpmpp_2m" + }, + "class_type": "KSamplerSelect", + "_meta": { + "title": "KSamplerSelect" + } + }, + "392": { + "inputs": { + "name": "sketch_portrait", + "display_name": "Sketch Portrait", + "description": "Person portrait in Sketch style", + "author": "Datou", + "homepage": "https://openart.ai/workflows/datou/comic-portrait/nkAs1NYgf91uMeV14PP0", + "documentation": "https://visionatrix.github.io/VixFlowsDocs/Flows/SketchPortrait.html", + "license": "", + "tags": "[\"anime\", \"sketch\", \"portrait\"]" + }, + "class_type": "VixUiWorkflowMetadata", + "_meta": { + "title": "VixUI-WorkflowMetadata" + } + }, + "393": { + "inputs": { + "value": 5, + "display_name": "Freedom of outcome", + "optional": true, + "advanced": true, + "min": 4, + "max": 6, + "step": 0.1, + "order": 99 + }, + "class_type": "VixUiRangeFloat", + "_meta": { + "title": "VixUI-RangeFloat" + } + }, + "394": { + "inputs": { + "image": "", + "upload": "image" + }, + "class_type": "LoadImage", + "_meta": { + "title": "input;Person's face;order=1" + } + }, + "396": { + "inputs": { + "image": "", + "upload": "image" + }, + "class_type": "LoadImage", + "_meta": { + "title": "input;Person's face pose; optional;advanced;order=2" + } + }, + "397": { + "inputs": { + "default_value": "girl", + "possible_values": "[\"girl\", \"boy\", \"man\", \"woman\"]", + "display_name": "Base gender", + "optional": false, + "advanced": false, + "order": 2 + }, + "class_type": "VixUiList", + "_meta": { + "title": "VixUI-List" + } + }, + "398": { + "inputs": { + "text": "[1{gender}] {prompt}, line-sketch, ((looking at viewer, clear background, white background)), best quality" + }, + "class_type": "Text Multiline (Code Compatible)", + "_meta": { + "title": "Text Multiline (Code Compatible)" + } + }, + "399": { + "inputs": { + "text": [ + "398", + 0 + ], + "find": "{gender}", + "replace": [ + "397", + 0 + ] + }, + "class_type": "Text Find and Replace", + "_meta": { + "title": "Text Find and Replace" + } + }, + "400": { + "inputs": { + "text": "", + "display_name": "Prompt", + "optional": true, + "advanced": true, + "order": 10 + }, + "class_type": "VixUiPrompt", + "_meta": { + "title": "VixUI-Prompt" + } + }, + "401": { + "inputs": { + "text": [ + "399", + 0 + ], + "find": "{prompt}", + "replace": [ + "400", + 0 + ] + }, + "class_type": "Text Find and Replace", + "_meta": { + "title": "Text Find and Replace" + } + } +} \ No newline at end of file From 77b81cc560f49f327e305f44168174da6636664e Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Sun, 23 Jun 2024 08:30:05 +0000 Subject: [PATCH 07/27] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- flows/comicu_portrait.json | 2 +- flows/sketch_portrait.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/flows/comicu_portrait.json b/flows/comicu_portrait.json index 1c4f380..f817fd8 100644 --- a/flows/comicu_portrait.json +++ b/flows/comicu_portrait.json @@ -330,4 +330,4 @@ "title": "VixUI-Prompt" } } -} \ No newline at end of file +} diff --git a/flows/sketch_portrait.json b/flows/sketch_portrait.json index 6ff2151..f94fe2d 100644 --- a/flows/sketch_portrait.json +++ b/flows/sketch_portrait.json @@ -364,4 +364,4 @@ "title": "Text Find and Replace" } } -} \ No newline at end of file +} From 9378dfebccff1c7f7cefc540430fd1527861f144 Mon Sep 17 00:00:00 2001 From: Alexander Piskun Date: Sun, 23 Jun 2024 17:54:33 +0300 Subject: [PATCH 08/27] added `custom_id` to Nodes, `version` to Flows Signed-off-by: Alexander Piskun --- flows/colorful_xl.json | 19 +- flows/comicu_portrait.json | 12 +- flows/sketch_portrait.json | 12 +- flows/supir_upscaler.json | 439 ++++++++++++++++++++++++++++++++++++ flows/vintage_portrait.json | 8 +- 5 files changed, 472 insertions(+), 18 deletions(-) create mode 100644 flows/supir_upscaler.json diff --git a/flows/colorful_xl.json b/flows/colorful_xl.json index 5b55432..5abf219 100644 --- a/flows/colorful_xl.json +++ b/flows/colorful_xl.json @@ -218,6 +218,7 @@ "optional": true, "advanced": true, "order": 1, + "custom_id": "", "input_off_state": [ "275", 0 @@ -227,9 +228,9 @@ 0 ] }, - "class_type": "VixUiCheckbox", + "class_type": "VixUiCheckboxLogic", "_meta": { - "title": "VixUI-Checkbox" + "title": "VixUI-CheckboxLogic" } }, "308": { @@ -241,7 +242,8 @@ "min": 4.5, "max": 7, "step": 0.1, - "order": 10 + "order": 10, + "custom_id": "" }, "class_type": "VixUiRangeFloat", "_meta": { @@ -254,7 +256,8 @@ "display_name": "Prompt", "optional": false, "advanced": false, - "order": 1 + "order": 1, + "custom_id": "" }, "class_type": "VixUiPrompt", "_meta": { @@ -267,7 +270,8 @@ "display_name": "Negative Prompt", "optional": true, "advanced": true, - "order": 25 + "order": 25, + "custom_id": "" }, "class_type": "VixUiPrompt", "_meta": { @@ -283,11 +287,12 @@ "homepage": "https://github.com/bigcat88", "documentation": "https://visionatrix.github.io/VixFlowsDocs/Flows/Colorful_XL.html", "license": "", - "tags": "[\"general\"]" + "tags": "[\"general\"]", + "version": "1.0.0" }, "class_type": "VixUiWorkflowMetadata", "_meta": { "title": "VixUI-WorkflowMetadata" } } -} +} \ No newline at end of file diff --git a/flows/comicu_portrait.json b/flows/comicu_portrait.json index f817fd8..0240672 100644 --- a/flows/comicu_portrait.json +++ b/flows/comicu_portrait.json @@ -217,7 +217,8 @@ "homepage": "https://openart.ai/workflows/datou/comicu/8fIWdL2KU2myMdfigoWk", "documentation": "https://visionatrix.github.io/VixFlowsDocs/Flows/ComicuPortrait.html", "license": "", - "tags": "[\"anime\", \"portrait\"]" + "tags": "[\"anime\", \"portrait\"]", + "version": "1.0.0" }, "class_type": "VixUiWorkflowMetadata", "_meta": { @@ -233,7 +234,8 @@ "min": 6, "max": 8, "step": 0.1, - "order": 99 + "order": 99, + "custom_id": "" }, "class_type": "VixUiRangeFloat", "_meta": { @@ -267,7 +269,8 @@ "display_name": "Base gender", "optional": false, "advanced": false, - "order": 2 + "order": 2, + "custom_id": "" }, "class_type": "VixUiList", "_meta": { @@ -323,7 +326,8 @@ "display_name": "Prompt", "optional": true, "advanced": true, - "order": 10 + "order": 10, + "custom_id": "" }, "class_type": "VixUiPrompt", "_meta": { diff --git a/flows/sketch_portrait.json b/flows/sketch_portrait.json index f94fe2d..2367f0f 100644 --- a/flows/sketch_portrait.json +++ b/flows/sketch_portrait.json @@ -251,7 +251,8 @@ "homepage": "https://openart.ai/workflows/datou/comic-portrait/nkAs1NYgf91uMeV14PP0", "documentation": "https://visionatrix.github.io/VixFlowsDocs/Flows/SketchPortrait.html", "license": "", - "tags": "[\"anime\", \"sketch\", \"portrait\"]" + "tags": "[\"anime\", \"sketch\", \"portrait\"]", + "version": "1.0.0" }, "class_type": "VixUiWorkflowMetadata", "_meta": { @@ -267,7 +268,8 @@ "min": 4, "max": 6, "step": 0.1, - "order": 99 + "order": 99, + "custom_id": "" }, "class_type": "VixUiRangeFloat", "_meta": { @@ -301,7 +303,8 @@ "display_name": "Base gender", "optional": false, "advanced": false, - "order": 2 + "order": 2, + "custom_id": "" }, "class_type": "VixUiList", "_meta": { @@ -340,7 +343,8 @@ "display_name": "Prompt", "optional": true, "advanced": true, - "order": 10 + "order": 10, + "custom_id": "" }, "class_type": "VixUiPrompt", "_meta": { diff --git a/flows/supir_upscaler.json b/flows/supir_upscaler.json new file mode 100644 index 0000000..37040cc --- /dev/null +++ b/flows/supir_upscaler.json @@ -0,0 +1,439 @@ +{ + "5": { + "inputs": { + "use_tiled_vae": true, + "encoder_tile_size": [ + "136", + 0 + ], + "decoder_tile_size": [ + "136", + 0 + ], + "encoder_dtype": "auto", + "SUPIR_VAE": [ + "21", + 1 + ], + "image": [ + "107", + 0 + ] + }, + "class_type": "SUPIR_first_stage", + "_meta": { + "title": "SUPIR First Stage (Denoiser)" + } + }, + "7": { + "inputs": { + "seed": 269969961859830, + "steps": 45, + "cfg_scale_start": 4, + "cfg_scale_end": 4, + "EDM_s_churn": 5, + "s_noise": 1.0030000000000001, + "DPMPP_eta": 1, + "control_scale_start": 1, + "control_scale_end": 1, + "restore_cfg": 1, + "keep_model_loaded": false, + "sampler": [ + "125", + 0 + ], + "sampler_tile_size": [ + "136", + 0 + ], + "sampler_tile_stride": [ + "139", + 0 + ], + "SUPIR_model": [ + "21", + 0 + ], + "latents": [ + "11", + 0 + ], + "positive": [ + "9", + 0 + ], + "negative": [ + "9", + 1 + ] + }, + "class_type": "SUPIR_sample", + "_meta": { + "title": "SUPIR Sampler" + } + }, + "9": { + "inputs": { + "positive_prompt": [ + "88", + 0 + ], + "negative_prompt": "bad quality, blurry, messy, low detail, low resolution", + "SUPIR_model": [ + "21", + 0 + ], + "latents": [ + "5", + 2 + ] + }, + "class_type": "SUPIR_conditioner", + "_meta": { + "title": "SUPIR Conditioner" + } + }, + "10": { + "inputs": { + "use_tiled_vae": true, + "decoder_tile_size": [ + "136", + 0 + ], + "SUPIR_VAE": [ + "21", + 1 + ], + "latents": [ + "7", + 0 + ] + }, + "class_type": "SUPIR_decode", + "_meta": { + "title": "SUPIR Decode" + } + }, + "11": { + "inputs": { + "use_tiled_vae": true, + "encoder_tile_size": [ + "136", + 0 + ], + "encoder_dtype": "auto", + "SUPIR_VAE": [ + "5", + 0 + ], + "image": [ + "5", + 1 + ] + }, + "class_type": "SUPIR_encode", + "_meta": { + "title": "SUPIR Encode" + } + }, + "21": { + "inputs": { + "supir_model": "SUPIR-v0Q.ckpt", + "fp8_unet": [ + "138", + 0 + ], + "diffusion_dtype": [ + "117", + 0 + ], + "high_vram": false, + "model": [ + "22", + 0 + ], + "clip": [ + "22", + 1 + ], + "vae": [ + "22", + 2 + ] + }, + "class_type": "SUPIR_model_loader_v2", + "_meta": { + "title": "SUPIR Model Loader (v2)" + } + }, + "22": { + "inputs": { + "ckpt_name": "leosamsHelloworldXL_helloworldXL60.safetensors" + }, + "class_type": "CheckpointLoaderSimple", + "_meta": { + "title": "Load Checkpoint" + } + }, + "24": { + "inputs": { + "model": "wd-swinv2-tagger-v3", + "threshold": 0.35000000000000003, + "character_threshold": 0.85, + "replace_underscore": false, + "trailing_comma": false, + "exclude_tags": "bad quality, blurry, messy", + "image": [ + "107", + 0 + ] + }, + "class_type": "WD14Tagger|pysssss", + "_meta": { + "title": "WD14 Tagger 🐍" + } + }, + "88": { + "inputs": { + "action": "append", + "tidy_tags": "yes", + "text_a": [ + "24", + 0 + ], + "text_b": "high quality, detailed", + "text_c": "" + }, + "class_type": "StringFunction|pysssss", + "_meta": { + "title": "String Function 🐍" + } + }, + "104": { + "inputs": { + "upscale_method": "lanczos", + "scale_by": [ + "120", + 0 + ], + "image": [ + "118", + 0 + ] + }, + "class_type": "ImageScaleBy", + "_meta": { + "title": "Upscale Image By" + } + }, + "106": { + "inputs": { + "filename_prefix": "output", + "images": [ + "10", + 0 + ] + }, + "class_type": "SaveImage", + "_meta": { + "title": "Save Image" + } + }, + "107": { + "inputs": { + "width": [ + "109", + 0 + ], + "height": [ + "110", + 0 + ], + "interpolation": "lanczos", + "method": "keep proportion", + "condition": "always", + "multiple_of": 32, + "image": [ + "104", + 0 + ] + }, + "class_type": "ImageResize+", + "_meta": { + "title": "🔧 Image Resize" + } + }, + "108": { + "inputs": { + "image": [ + "104", + 0 + ] + }, + "class_type": "GetImageSize+", + "_meta": { + "title": "🔧 Get Image Size" + } + }, + "109": { + "inputs": { + "python_expression": "((a + 31) // 32) * 32", + "print_to_console": "False", + "a": [ + "108", + 0 + ], + "b": 0, + "c": 0 + }, + "class_type": "Evaluate Integers", + "_meta": { + "title": "Evaluate Integers" + } + }, + "110": { + "inputs": { + "python_expression": "((a + 31) // 32) * 32", + "print_to_console": "False", + "a": [ + "108", + 1 + ], + "b": 0, + "c": 0 + }, + "class_type": "Evaluate Integers", + "_meta": { + "title": "Evaluate Integers" + } + }, + "112": { + "inputs": { + "text": "[\n {\n \"display_name\": \"SUPIR(1.5x)\",\n \"type\": \"image\",\n \"input_params\": [\n {\n \"name\": \"scale_factor\",\n \"default\": 1.5\n }\n ]\n },\n {\n \"display_name\": \"SUPIR(2x)\",\n \"type\": \"image\",\n \"input_params\": [\n {\n \"name\": \"scale_factor\",\n \"default\": 2.0\n }\n ]\n }\n]" + }, + "class_type": "Text Multiline (Code Compatible)", + "_meta": { + "title": "WF_SUBFLOWS" + } + }, + "113": { + "inputs": { + "name": "supir_upscaler", + "display_name": "SUPIR Upscaler", + "description": "High-End Image Upscaler", + "author": "akihungac", + "homepage": "https://openart.ai/workflows/profile/akihungac", + "documentation": "https://visionatrix.github.io/VixFlowsDocs/Flows/SupirUpscaler.html", + "license": "", + "tags": "[\"upscaler\"]", + "version": "1.0.0" + }, + "class_type": "VixUiWorkflowMetadata", + "_meta": { + "title": "VixUI-WorkflowMetadata" + } + }, + "117": { + "inputs": { + "default_value": "auto", + "possible_values": "[\"fp16\", \"bf16\", \"fp32\", \"auto\"]", + "display_name": "Diffusion Type(set to \"fp32\" on macOS)", + "optional": true, + "advanced": true, + "order": 99, + "custom_id": "" + }, + "class_type": "VixUiList", + "_meta": { + "title": "VixUI-List" + } + }, + "118": { + "inputs": { + "image": "", + "upload": "image" + }, + "class_type": "LoadImage", + "_meta": { + "title": "input;Image to upscale;order=1" + } + }, + "120": { + "inputs": { + "value": 2, + "display_name": "Output image size factor", + "optional": false, + "advanced": true, + "min": 1.1, + "max": 3, + "step": 0.1, + "order": 2, + "custom_id": "scale_factor" + }, + "class_type": "VixUiRangeScaleFloat", + "_meta": { + "title": "VixUI-RangeScaleFloat" + } + }, + "125": { + "inputs": { + "default_value": "Soft", + "possible_values": "{\n \"Soft\": \"TiledRestoreEDMSampler\",\n \"Sharp\": \"TiledRestoreDPMPP2MSampler\",\n \"Soft, disabled tiling(for small images)\": \"RestoreEDMSampler\",\n \"Sharp, disabled tiling(for small images)\": \"RestoreDPMPP2MSampler\"\n}", + "display_name": "Scaling option", + "optional": true, + "advanced": true, + "order": 99, + "custom_id": "" + }, + "class_type": "VixUiList", + "_meta": { + "title": "VixUI-List" + } + }, + "136": { + "inputs": { + "python_expression": "1024 - (a*512)", + "print_to_console": "False", + "a": [ + "138", + 1 + ], + "b": 0, + "c": 0 + }, + "class_type": "Evaluate Integers", + "_meta": { + "title": "Evaluate Integers" + } + }, + "138": { + "inputs": { + "state": false, + "display_name": "Low memory mode", + "optional": true, + "advanced": true, + "order": 99, + "custom_id": "" + }, + "class_type": "VixUiCheckbox", + "_meta": { + "title": "VixUI-Checkbox" + } + }, + "139": { + "inputs": { + "python_expression": "512 - (a*256)", + "print_to_console": "False", + "a": [ + "138", + 1 + ], + "b": 0, + "c": 0 + }, + "class_type": "Evaluate Integers", + "_meta": { + "title": "Evaluate Integers" + } + } +} \ No newline at end of file diff --git a/flows/vintage_portrait.json b/flows/vintage_portrait.json index a3215fd..801ac8c 100644 --- a/flows/vintage_portrait.json +++ b/flows/vintage_portrait.json @@ -171,7 +171,8 @@ "homepage": "https://github.com/bigcat88", "documentation": "https://visionatrix.github.io/VixFlowsDocs/Flows/VintagePortrait.html", "license": "", - "tags": "[\"portrait\"]" + "tags": "[\"portrait\"]", + "version": "1.0.0" }, "class_type": "VixUiWorkflowMetadata", "_meta": { @@ -184,11 +185,12 @@ "display_name": "Prompt", "optional": false, "advanced": false, - "order": 2 + "order": 2, + "custom_id": "" }, "class_type": "VixUiPrompt", "_meta": { "title": "VixUI-Prompt" } } -} +} \ No newline at end of file From 0ab69a02fa9bec7b1f3fc936ade4f01f857e7148 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Sun, 23 Jun 2024 14:55:22 +0000 Subject: [PATCH 09/27] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- flows/colorful_xl.json | 2 +- flows/supir_upscaler.json | 2 +- flows/vintage_portrait.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/flows/colorful_xl.json b/flows/colorful_xl.json index 5abf219..c273455 100644 --- a/flows/colorful_xl.json +++ b/flows/colorful_xl.json @@ -295,4 +295,4 @@ "title": "VixUI-WorkflowMetadata" } } -} \ No newline at end of file +} diff --git a/flows/supir_upscaler.json b/flows/supir_upscaler.json index 37040cc..73da9ea 100644 --- a/flows/supir_upscaler.json +++ b/flows/supir_upscaler.json @@ -436,4 +436,4 @@ "title": "Evaluate Integers" } } -} \ No newline at end of file +} diff --git a/flows/vintage_portrait.json b/flows/vintage_portrait.json index 801ac8c..588a159 100644 --- a/flows/vintage_portrait.json +++ b/flows/vintage_portrait.json @@ -193,4 +193,4 @@ "title": "VixUI-Prompt" } } -} \ No newline at end of file +} From 36d3dd9ea52119dc9f8620d2c9adf5c9aa599d49 Mon Sep 17 00:00:00 2001 From: Alexander Piskun <13381981+bigcat88@users.noreply.github.com> Date: Sun, 23 Jun 2024 23:45:33 +0300 Subject: [PATCH 10/27] ported StableCascade for 0.6.0 version Signed-off-by: Alexander Piskun --- flows/stable_cascade.json | 527 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 527 insertions(+) create mode 100644 flows/stable_cascade.json diff --git a/flows/stable_cascade.json b/flows/stable_cascade.json new file mode 100644 index 0000000..1bf5163 --- /dev/null +++ b/flows/stable_cascade.json @@ -0,0 +1,527 @@ +{ + "19": { + "inputs": { + "seed": 470771946371138, + "steps": 20, + "cfg": 4, + "sampler_name": "euler_ancestral", + "scheduler": "simple", + "denoise": 1, + "model": [ + "26", + 0 + ], + "positive": [ + "20", + 0 + ], + "negative": [ + "21", + 0 + ], + "latent_image": [ + "36", + 0 + ] + }, + "class_type": "KSampler", + "_meta": { + "title": "KSampler" + } + }, + "20": { + "inputs": { + "text": [ + "101", + 0 + ], + "clip": [ + "26", + 1 + ] + }, + "class_type": "CLIPTextEncode", + "_meta": { + "title": "CLIP Text Encode (Prompt)" + } + }, + "21": { + "inputs": { + "text": [ + "102", + 0 + ], + "clip": [ + "26", + 1 + ] + }, + "class_type": "CLIPTextEncode", + "_meta": { + "title": "CLIP Text Encode (Prompt)" + } + }, + "22": { + "inputs": { + "samples": [ + "23", + 0 + ], + "vae": [ + "27", + 2 + ] + }, + "class_type": "VAEDecode", + "_meta": { + "title": "VAE Decode" + } + }, + "23": { + "inputs": { + "seed": 979622377516399, + "steps": 10, + "cfg": 1.1, + "sampler_name": "euler_ancestral", + "scheduler": "simple", + "denoise": 1, + "model": [ + "27", + 0 + ], + "positive": [ + "24", + 0 + ], + "negative": [ + "25", + 0 + ], + "latent_image": [ + "36", + 1 + ] + }, + "class_type": "KSampler", + "_meta": { + "title": "KSampler" + } + }, + "24": { + "inputs": { + "conditioning": [ + "25", + 0 + ], + "stage_c": [ + "19", + 0 + ] + }, + "class_type": "StableCascade_StageB_Conditioning", + "_meta": { + "title": "StableCascade_StageB_Conditioning" + } + }, + "25": { + "inputs": { + "conditioning": [ + "20", + 0 + ] + }, + "class_type": "ConditioningZeroOut", + "_meta": { + "title": "ConditioningZeroOut" + } + }, + "26": { + "inputs": { + "ckpt_name": "stable_cascade_stage_c.safetensors" + }, + "class_type": "CheckpointLoaderSimple", + "_meta": { + "title": "Load Checkpoint" + } + }, + "27": { + "inputs": { + "ckpt_name": "stable_cascade_stage_b.safetensors" + }, + "class_type": "CheckpointLoaderSimple", + "_meta": { + "title": "Load Checkpoint" + } + }, + "36": { + "inputs": { + "width": 1024, + "height": 576, + "compression": 32, + "batch_size": 1 + }, + "class_type": "StableCascade_EmptyLatentImage", + "_meta": { + "title": "StableCascade_EmptyLatentImage" + } + }, + "78": { + "inputs": { + "seed": 980141359674880, + "steps": 20, + "cfg": 4, + "sampler_name": "euler_ancestral", + "scheduler": "simple", + "denoise": 0.5, + "model": [ + "26", + 0 + ], + "positive": [ + "20", + 0 + ], + "negative": [ + "21", + 0 + ], + "latent_image": [ + "85", + 0 + ] + }, + "class_type": "KSampler", + "_meta": { + "title": "KSampler" + } + }, + "79": { + "inputs": { + "samples": [ + "80", + 0 + ], + "vae": [ + "27", + 2 + ] + }, + "class_type": "VAEDecode", + "_meta": { + "title": "VAE Decode" + } + }, + "80": { + "inputs": { + "seed": 601112506991754, + "steps": 10, + "cfg": 1.1, + "sampler_name": "euler_ancestral", + "scheduler": "simple", + "denoise": 1, + "model": [ + "27", + 0 + ], + "positive": [ + "81", + 0 + ], + "negative": [ + "82", + 0 + ], + "latent_image": [ + "85", + 1 + ] + }, + "class_type": "KSampler", + "_meta": { + "title": "KSampler" + } + }, + "81": { + "inputs": { + "conditioning": [ + "82", + 0 + ], + "stage_c": [ + "78", + 0 + ] + }, + "class_type": "StableCascade_StageB_Conditioning", + "_meta": { + "title": "StableCascade_StageB_Conditioning" + } + }, + "82": { + "inputs": { + "conditioning": [ + "20", + 0 + ] + }, + "class_type": "ConditioningZeroOut", + "_meta": { + "title": "ConditioningZeroOut" + } + }, + "85": { + "inputs": { + "compression": 32, + "image": [ + "90", + 0 + ], + "vae": [ + "26", + 2 + ] + }, + "class_type": "StableCascade_StageC_VAEEncode", + "_meta": { + "title": "StableCascade_StageC_VAEEncode" + } + }, + "86": { + "inputs": { + "filename_prefix": "ComfyUI", + "images": [ + "100", + 0 + ] + }, + "class_type": "SaveImage", + "_meta": { + "title": "Save Image" + } + }, + "89": { + "inputs": { + "upscale_method": "nearest-exact", + "width": 2048, + "height": 1152, + "crop": "disabled", + "image": [ + "79", + 0 + ] + }, + "class_type": "ImageScale", + "_meta": { + "title": "Upscale Image" + } + }, + "90": { + "inputs": { + "upscale_method": "nearest-exact", + "width": 1536, + "height": 864, + "crop": "disabled", + "image": [ + "22", + 0 + ] + }, + "class_type": "ImageScale", + "_meta": { + "title": "Upscale Image" + } + }, + "91": { + "inputs": { + "compression": 32, + "image": [ + "89", + 0 + ], + "vae": [ + "26", + 2 + ] + }, + "class_type": "StableCascade_StageC_VAEEncode", + "_meta": { + "title": "StableCascade_StageC_VAEEncode" + } + }, + "93": { + "inputs": { + "seed": 536148193289049, + "steps": 20, + "cfg": 4, + "sampler_name": "euler_ancestral", + "scheduler": "simple", + "denoise": 0.5, + "model": [ + "26", + 0 + ], + "positive": [ + "20", + 0 + ], + "negative": [ + "21", + 0 + ], + "latent_image": [ + "91", + 0 + ] + }, + "class_type": "KSampler", + "_meta": { + "title": "KSampler" + } + }, + "94": { + "inputs": { + "conditioning": [ + "20", + 0 + ] + }, + "class_type": "ConditioningZeroOut", + "_meta": { + "title": "ConditioningZeroOut" + } + }, + "95": { + "inputs": { + "conditioning": [ + "94", + 0 + ], + "stage_c": [ + "93", + 0 + ] + }, + "class_type": "StableCascade_StageB_Conditioning", + "_meta": { + "title": "StableCascade_StageB_Conditioning" + } + }, + "96": { + "inputs": { + "seed": 935537763343328, + "steps": 10, + "cfg": 1.1, + "sampler_name": "euler_ancestral", + "scheduler": "simple", + "denoise": 1, + "model": [ + "27", + 0 + ], + "positive": [ + "95", + 0 + ], + "negative": [ + "94", + 0 + ], + "latent_image": [ + "91", + 1 + ] + }, + "class_type": "KSampler", + "_meta": { + "title": "KSampler" + } + }, + "97": { + "inputs": { + "samples": [ + "96", + 0 + ], + "vae": [ + "27", + 2 + ] + }, + "class_type": "VAEDecode", + "_meta": { + "title": "VAE Decode" + } + }, + "100": { + "inputs": { + "default_value": "Two pass", + "possible_values": "[\"One pass\", \"Two pass\", \"Three pass\"]", + "display_name": "Pass count", + "optional": true, + "advanced": true, + "order": 20, + "custom_id": "pass_count", + "input_first": [ + "22", + 0 + ], + "input_second": [ + "79", + 0 + ], + "input_third": [ + "97", + 0 + ] + }, + "class_type": "VixUiListLogic", + "_meta": { + "title": "VixUI-ListLogic" + } + }, + "101": { + "inputs": { + "text": "", + "display_name": "Prompt", + "optional": false, + "advanced": false, + "order": 1, + "custom_id": "prompt" + }, + "class_type": "VixUiPrompt", + "_meta": { + "title": "VixUI-Prompt" + } + }, + "102": { + "inputs": { + "text": "", + "display_name": "Negative Prompt", + "optional": true, + "advanced": true, + "order": 25, + "custom_id": "negative_prompt" + }, + "class_type": "VixUiPrompt", + "_meta": { + "title": "VixUI-Prompt" + } + }, + "103": { + "inputs": { + "name": "stable_cascade", + "display_name": "Stable Cascade", + "description": "Generation with multiple passes", + "author": "HowDo?", + "homepage": "https://comfyworkflows.com/profile/41d507c5-bdcf-424b-9b75-a3cc2ea9049d", + "documentation": "https://visionatrix.github.io/VixFlowsDocs/Flows/Stable_Cascade.html", + "license": "", + "tags": "[\"general\"]", + "version": "1.0.0" + }, + "class_type": "VixUiWorkflowMetadata", + "_meta": { + "title": "VixUI-WorkflowMetadata" + } + } +} From 7c5f7a3b05b44f4ce9775ebd871b7bb044e54f57 Mon Sep 17 00:00:00 2001 From: Alexander Piskun Date: Sun, 23 Jun 2024 23:45:55 +0300 Subject: [PATCH 11/27] added `custom_id` for common input nodes Signed-off-by: Alexander Piskun --- flows/colorful_xl.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/flows/colorful_xl.json b/flows/colorful_xl.json index c273455..dc92007 100644 --- a/flows/colorful_xl.json +++ b/flows/colorful_xl.json @@ -218,7 +218,7 @@ "optional": true, "advanced": true, "order": 1, - "custom_id": "", + "custom_id": "fast_run", "input_off_state": [ "275", 0 @@ -243,7 +243,7 @@ "max": 7, "step": 0.1, "order": 10, - "custom_id": "" + "custom_id": "prompt_strength" }, "class_type": "VixUiRangeFloat", "_meta": { @@ -257,7 +257,7 @@ "optional": false, "advanced": false, "order": 1, - "custom_id": "" + "custom_id": "prompt" }, "class_type": "VixUiPrompt", "_meta": { @@ -271,7 +271,7 @@ "optional": true, "advanced": true, "order": 25, - "custom_id": "" + "custom_id": "negative_prompt" }, "class_type": "VixUiPrompt", "_meta": { From 9e3ed5cd9e96e022a361c6b6b969957f208743a8 Mon Sep 17 00:00:00 2001 From: Alexander Piskun <13381981+bigcat88@users.noreply.github.com> Date: Mon, 24 Jun 2024 20:39:53 +0300 Subject: [PATCH 12/27] ported `sdxl_lighting` flow Signed-off-by: Alexander Piskun --- flows/sdxl_lighting.json | 268 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 268 insertions(+) create mode 100644 flows/sdxl_lighting.json diff --git a/flows/sdxl_lighting.json b/flows/sdxl_lighting.json new file mode 100644 index 0000000..cd43c20 --- /dev/null +++ b/flows/sdxl_lighting.json @@ -0,0 +1,268 @@ +{ + "3": { + "inputs": { + "seed": 776388286186862, + "steps": 8, + "cfg": 1, + "sampler_name": "euler", + "scheduler": "sgm_uniform", + "denoise": 1, + "model": [ + "4", + 0 + ], + "positive": [ + "6", + 0 + ], + "negative": [ + "7", + 0 + ], + "latent_image": [ + "5", + 0 + ] + }, + "class_type": "KSampler", + "_meta": { + "title": "KSampler" + } + }, + "4": { + "inputs": { + "ckpt_name": "sdxl_lightning_8step.safetensors" + }, + "class_type": "CheckpointLoaderSimple", + "_meta": { + "title": "Load Checkpoint" + } + }, + "5": { + "inputs": { + "width": 1024, + "height": 1024, + "batch_size": 1 + }, + "class_type": "EmptyLatentImage", + "_meta": { + "title": "Empty Latent Image" + } + }, + "6": { + "inputs": { + "text": [ + "16", + 0 + ], + "clip": [ + "4", + 1 + ] + }, + "class_type": "CLIPTextEncode", + "_meta": { + "title": "CLIP Text Encode (Prompt)" + } + }, + "7": { + "inputs": { + "text": [ + "18", + 0 + ], + "clip": [ + "4", + 1 + ] + }, + "class_type": "CLIPTextEncode", + "_meta": { + "title": "CLIP Text Encode (Negative Prompt)" + } + }, + "8": { + "inputs": { + "samples": [ + "3", + 0 + ], + "vae": [ + "4", + 2 + ] + }, + "class_type": "VAEDecode", + "_meta": { + "title": "VAE Decode" + } + }, + "9": { + "inputs": { + "filename_prefix": "ComfyUI", + "images": [ + "24", + 0 + ] + }, + "class_type": "SaveImage", + "_meta": { + "title": "Save Image" + } + }, + "10": { + "inputs": { + "seed": 776388286186862, + "steps": 4, + "cfg": 1, + "sampler_name": "euler", + "scheduler": "sgm_uniform", + "denoise": 1, + "model": [ + "11", + 0 + ], + "positive": [ + "13", + 0 + ], + "negative": [ + "14", + 0 + ], + "latent_image": [ + "5", + 0 + ] + }, + "class_type": "KSampler", + "_meta": { + "title": "KSampler" + } + }, + "11": { + "inputs": { + "ckpt_name": "sdxl_lightning_4step.safetensors" + }, + "class_type": "CheckpointLoaderSimple", + "_meta": { + "title": "Load Checkpoint" + } + }, + "12": { + "inputs": { + "samples": [ + "10", + 0 + ], + "vae": [ + "11", + 2 + ] + }, + "class_type": "VAEDecode", + "_meta": { + "title": "VAE Decode" + } + }, + "13": { + "inputs": { + "text": [ + "16", + 0 + ], + "clip": [ + "11", + 1 + ] + }, + "class_type": "CLIPTextEncode", + "_meta": { + "title": "CLIP Text Encode (Prompt)" + } + }, + "14": { + "inputs": { + "text": [ + "18", + 0 + ], + "clip": [ + "11", + 1 + ] + }, + "class_type": "CLIPTextEncode", + "_meta": { + "title": "CLIP Text Encode (Negative Prompt)" + } + }, + "16": { + "inputs": { + "text": "", + "display_name": "Prompt", + "optional": false, + "advanced": false, + "order": 1, + "custom_id": "prompt" + }, + "class_type": "VixUiPrompt", + "_meta": { + "title": "VixUI-Prompt" + } + }, + "18": { + "inputs": { + "text": "ugly", + "display_name": "Negative Prompt", + "optional": true, + "advanced": true, + "order": 25, + "custom_id": "negative_prompt" + }, + "class_type": "VixUiPrompt", + "_meta": { + "title": "VixUI-Prompt" + } + }, + "19": { + "inputs": { + "name": "sdxl_lighting", + "display_name": "SDXL Lighting", + "description": "Fast image generation", + "author": "bigcat88", + "homepage": "https://github.com/bigcat88", + "documentation": "https://visionatrix.github.io/VixFlowsDocs/Flows/SDXL_Lighting.html", + "license": "", + "tags": "[\"general\"]", + "version": "1.0.0" + }, + "class_type": "VixUiWorkflowMetadata", + "_meta": { + "title": "VixUI-WorkflowMetadata" + } + }, + "24": { + "inputs": { + "default_value": "8 steps", + "possible_values": "[\"4 steps\", \"8 steps\"]", + "display_name": "Number of steps", + "optional": true, + "advanced": true, + "order": 20, + "custom_id": "steps_number", + "input_first": [ + "12", + 0 + ], + "input_second": [ + "8", + 0 + ] + }, + "class_type": "VixUiListLogic", + "_meta": { + "title": "VixUI-ListLogic" + } + } +} \ No newline at end of file From 2e442d2b89ace386f4b84262a55f5491f3ed407f Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 24 Jun 2024 17:40:30 +0000 Subject: [PATCH 13/27] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- flows/sdxl_lighting.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flows/sdxl_lighting.json b/flows/sdxl_lighting.json index cd43c20..4ddd354 100644 --- a/flows/sdxl_lighting.json +++ b/flows/sdxl_lighting.json @@ -265,4 +265,4 @@ "title": "VixUI-ListLogic" } } -} \ No newline at end of file +} From 52ba0abe3080daaa8a62a3e5098fab071d5b6460 Mon Sep 17 00:00:00 2001 From: Alexander Piskun <13381981+bigcat88@users.noreply.github.com> Date: Mon, 24 Jun 2024 21:26:47 +0300 Subject: [PATCH 14/27] ported `ghibli_portrait` flow Signed-off-by: Alexander Piskun --- flows/ghibli_portrait.json | 348 +++++++++++++++++++++++++++++++++++++ 1 file changed, 348 insertions(+) create mode 100644 flows/ghibli_portrait.json diff --git a/flows/ghibli_portrait.json b/flows/ghibli_portrait.json new file mode 100644 index 0000000..08ccae0 --- /dev/null +++ b/flows/ghibli_portrait.json @@ -0,0 +1,348 @@ +{ + "14": { + "inputs": { + "ckpt_name": "Juggernaut_RunDiffusionPhoto2_Lightning_4Steps.safetensors" + }, + "class_type": "CheckpointLoaderSimple", + "_meta": { + "title": "Load Checkpoint Base" + } + }, + "290": { + "inputs": { + "text": [ + "394", + 0 + ], + "clip": [ + "379", + 1 + ] + }, + "class_type": "CLIPTextEncode", + "_meta": { + "title": "CLIP Text Encode (Positive Prompt)" + } + }, + "291": { + "inputs": { + "text": "Signature, deformed, smooth, plastic, blurry, grainy, ((hands)), ((hand)), photo\n", + "clip": [ + "379", + 1 + ] + }, + "class_type": "CLIPTextEncode", + "_meta": { + "title": "CLIP Text Encode (Negative Prompt)" + } + }, + "336": { + "inputs": { + "weight": 0.6, + "start_at": 0, + "end_at": 1, + "instantid": [ + "337", + 0 + ], + "insightface": [ + "338", + 0 + ], + "control_net": [ + "339", + 0 + ], + "image": [ + "382", + 0 + ], + "model": [ + "379", + 0 + ], + "positive": [ + "290", + 0 + ], + "negative": [ + "291", + 0 + ], + "image_kps": [ + "387", + 0 + ] + }, + "class_type": "ApplyInstantID", + "_meta": { + "title": "Apply InstantID" + } + }, + "337": { + "inputs": { + "instantid_file": "instantid-ip-adapter.bin" + }, + "class_type": "InstantIDModelLoader", + "_meta": { + "title": "Load InstantID Model" + } + }, + "338": { + "inputs": { + "provider": "CPU" + }, + "class_type": "InstantIDFaceAnalysis", + "_meta": { + "title": "InstantID Face Analysis" + } + }, + "339": { + "inputs": { + "control_net_name": "instantid-controlnet.safetensors" + }, + "class_type": "ControlNetLoader", + "_meta": { + "title": "Load ControlNet Model" + } + }, + "345": { + "inputs": { + "width": 832, + "height": 1216, + "batch_size": 1 + }, + "class_type": "EmptyLatentImage", + "_meta": { + "title": "Empty Latent Image" + } + }, + "357": { + "inputs": { + "seed": 2, + "steps": 4, + "cfg": 1.8, + "sampler_name": "dpmpp_sde", + "scheduler": "karras", + "denoise": 1, + "preview_method": "none", + "vae_decode": "true", + "model": [ + "336", + 0 + ], + "positive": [ + "336", + 1 + ], + "negative": [ + "336", + 2 + ], + "latent_image": [ + "345", + 0 + ], + "optional_vae": [ + "14", + 2 + ], + "script": [ + "358", + 0 + ] + }, + "class_type": "KSampler (Efficient)", + "_meta": { + "title": "KSampler (Efficient)" + } + }, + "358": { + "inputs": { + "upscale_type": "latent", + "hires_ckpt_name": "(use same)", + "latent_upscaler": "ttl_nn.SDXL", + "pixel_upscaler": "4x_NMKD-Siax_200k.pth", + "upscale_by": 1.5, + "use_same_seed": true, + "seed": -1, + "hires_steps": 4, + "denoise": 0.5, + "iterations": 1, + "use_controlnet": false, + "control_net_name": "depth-zoe-xl-v1.0-controlnet.safetensors", + "strength": 0.8, + "preprocessor": "DepthAnythingPreprocessor", + "preprocessor_imgs": true + }, + "class_type": "HighRes-Fix Script", + "_meta": { + "title": "HighRes-Fix Script" + } + }, + "359": { + "inputs": { + "filename_prefix": "Ghibli Portrait Studio/img_", + "images": [ + "357", + 5 + ] + }, + "class_type": "SaveImage", + "_meta": { + "title": "Save Image" + } + }, + "379": { + "inputs": { + "lora_name": "StudioGhibli.Redmond-StdGBRRedmAF-StudioGhibli.safetensors", + "strength_model": 1, + "strength_clip": 1, + "model": [ + "14", + 0 + ], + "clip": [ + "14", + 1 + ] + }, + "class_type": "LoraLoader", + "_meta": { + "title": "Load LoRA" + } + }, + "381": { + "inputs": {}, + "class_type": "BRIA_RMBG_ModelLoader_Zho", + "_meta": { + "title": "🧹BRIA_RMBG Model Loader" + } + }, + "382": { + "inputs": { + "rmbgmodel": [ + "381", + 0 + ], + "image": [ + "389", + 0 + ] + }, + "class_type": "BRIA_RMBG_Zho", + "_meta": { + "title": "🧹BRIA RMBG" + } + }, + "384": { + "inputs": { + "name": "ghibli_portrait", + "display_name": "Ghibli Portrait", + "description": "Person portrait in Ghibli Studio style(Anime)", + "author": "Datou", + "homepage": "https://openart.ai/workflows/datou/ghibli-portrait-studio/pGOmpWZycgG57085CONU", + "documentation": "https://visionatrix.github.io/VixFlowsDocs/Flows/GhibliPortrait.html", + "license": "", + "tags": "[\"anime\", \"portrait\"]", + "version": "1.0.0" + }, + "class_type": "VixUiWorkflowMetadata", + "_meta": { + "title": "VixUI-WorkflowMetadata" + } + }, + "387": { + "inputs": { + "image": "", + "upload": "image" + }, + "class_type": "LoadImage", + "_meta": { + "title": "input;Person's face pose; optional;advanced;order=2" + } + }, + "389": { + "inputs": { + "image": "", + "upload": "image" + }, + "class_type": "LoadImage", + "_meta": { + "title": "input;Person's face;order=1" + } + }, + "391": { + "inputs": { + "text": "", + "display_name": "Prompt", + "optional": true, + "advanced": true, + "order": 10, + "custom_id": "prompt" + }, + "class_type": "VixUiPrompt", + "_meta": { + "title": "VixUI-Prompt" + } + }, + "393": { + "inputs": { + "text": [ + "395", + 0 + ], + "find": "{gender}", + "replace": [ + "396", + 0 + ] + }, + "class_type": "Text Find and Replace", + "_meta": { + "title": "Text Find and Replace" + } + }, + "394": { + "inputs": { + "text": [ + "393", + 0 + ], + "find": "{prompt}", + "replace": [ + "391", + 0 + ] + }, + "class_type": "Text Find and Replace", + "_meta": { + "title": "Text Find and Replace" + } + }, + "395": { + "inputs": { + "text": "anime, studio ghibli, ghibli style, {gender} {prompt}, split solid color background, portrait, close up, f1.2" + }, + "class_type": "Text Multiline (Code Compatible)", + "_meta": { + "title": "Text Multiline (Code Compatible)" + } + }, + "396": { + "inputs": { + "default_value": "girl", + "possible_values": "[\"girl\", \"boy\", \"man\", \"woman\"]", + "display_name": "Base gender", + "optional": false, + "advanced": false, + "order": 2, + "custom_id": "gender" + }, + "class_type": "VixUiList", + "_meta": { + "title": "VixUI-List" + } + } +} \ No newline at end of file From 529babd673182889dae58a7f8af8746de3e814d9 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 24 Jun 2024 18:27:21 +0000 Subject: [PATCH 15/27] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- flows/ghibli_portrait.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flows/ghibli_portrait.json b/flows/ghibli_portrait.json index 08ccae0..56a112e 100644 --- a/flows/ghibli_portrait.json +++ b/flows/ghibli_portrait.json @@ -345,4 +345,4 @@ "title": "VixUI-List" } } -} \ No newline at end of file +} From 46a8e565d6bb64cb61140fef66a6fd6d437f31f2 Mon Sep 17 00:00:00 2001 From: Alexander Piskun <13381981+bigcat88@users.noreply.github.com> Date: Mon, 24 Jun 2024 23:23:43 +0300 Subject: [PATCH 16/27] ported `photo_stickers` flow Signed-off-by: Alexander Piskun --- flows/photo_stickers.json | 1181 +++++++++++++++++++++++++++++++++++++ 1 file changed, 1181 insertions(+) create mode 100644 flows/photo_stickers.json diff --git a/flows/photo_stickers.json b/flows/photo_stickers.json new file mode 100644 index 0000000..5db8d79 --- /dev/null +++ b/flows/photo_stickers.json @@ -0,0 +1,1181 @@ +{ + "10": { + "inputs": { + "filename_prefix": "240_10", + "images": [ + "338", + 0 + ] + }, + "class_type": "SaveImage", + "_meta": { + "title": "Save Image" + } + }, + "35": { + "inputs": { + "instantid_file": "instantid-ip-adapter.bin" + }, + "class_type": "InstantIDModelLoader", + "_meta": { + "title": "Load InstantID Model" + } + }, + "36": { + "inputs": { + "provider": "CPU" + }, + "class_type": "InstantIDFaceAnalysis", + "_meta": { + "title": "InstantID Face Analysis" + } + }, + "40": { + "inputs": { + "control_net_name": "instantid-controlnet.safetensors" + }, + "class_type": "ControlNetLoader", + "_meta": { + "title": "Load ControlNet Model" + } + }, + "41": { + "inputs": { + "weight": 1, + "start_at": 0, + "end_at": 1, + "instantid": [ + "35", + 0 + ], + "insightface": [ + "36", + 0 + ], + "control_net": [ + "40", + 0 + ], + "image": [ + "330", + 0 + ], + "model": [ + "59", + 0 + ], + "positive": [ + "91", + 0 + ], + "negative": [ + "335", + 0 + ], + "image_kps": [ + "353", + 0 + ] + }, + "class_type": "ApplyInstantID", + "_meta": { + "title": "Apply InstantID" + } + }, + "59": { + "inputs": { + "lora_name": "StickersRedmond.safetensors", + "strength_model": 1, + "strength_clip": 1, + "model": [ + "60", + 0 + ], + "clip": [ + "60", + 1 + ] + }, + "class_type": "LoraLoader", + "_meta": { + "title": "Load LoRA" + } + }, + "60": { + "inputs": { + "ckpt_name": "DreamShaperXL_Lightning.safetensors" + }, + "class_type": "CheckpointLoaderSimple", + "_meta": { + "title": "Load Checkpoint" + } + }, + "63": { + "inputs": { + "width": 1016, + "height": 1016, + "batch_size": 1 + }, + "class_type": "EmptyLatentImage", + "_meta": { + "title": "Empty Latent Image" + } + }, + "69": { + "inputs": { + "width": 1024, + "height": 1024, + "batch_size": 1 + }, + "class_type": "EmptyLatentImage", + "_meta": { + "title": "Empty Latent Image" + } + }, + "79": { + "inputs": { + "filename_prefix": "240_79", + "images": [ + "276", + 0 + ] + }, + "class_type": "SaveImage", + "_meta": { + "title": "Save Image" + } + }, + "80": { + "inputs": { + "filename_prefix": "240_80", + "images": [ + "290", + 0 + ] + }, + "class_type": "SaveImage", + "_meta": { + "title": "Save Image" + } + }, + "82": { + "inputs": { + "filename_prefix": "240_82", + "images": [ + "318", + 0 + ] + }, + "class_type": "SaveImage", + "_meta": { + "title": "Save Image" + } + }, + "88": { + "inputs": { + "text": [ + "364", + 0 + ], + "clip": [ + "60", + 1 + ] + }, + "class_type": "CLIPTextEncode", + "_meta": { + "title": "CLIP Text Encode (Prompt)" + } + }, + "91": { + "inputs": { + "text": [ + "366", + 0 + ], + "clip": [ + "59", + 1 + ] + }, + "class_type": "CLIPTextEncode", + "_meta": { + "title": "CLIP Text Encode (Prompt)" + } + }, + "275": { + "inputs": {}, + "class_type": "BRIA_RMBG_ModelLoader_Zho", + "_meta": { + "title": "🧹BRIA_RMBG Model Loader" + } + }, + "276": { + "inputs": { + "rmbgmodel": [ + "275", + 0 + ], + "image": [ + "343", + 0 + ] + }, + "class_type": "BRIA_RMBG_Zho", + "_meta": { + "title": "🧹BRIA RMBG" + } + }, + "280": { + "inputs": { + "weight": 1, + "start_at": 0, + "end_at": 1, + "instantid": [ + "35", + 0 + ], + "insightface": [ + "36", + 0 + ], + "control_net": [ + "40", + 0 + ], + "image": [ + "330", + 0 + ], + "model": [ + "59", + 0 + ], + "positive": [ + "287", + 0 + ], + "negative": [ + "335", + 0 + ], + "image_kps": [ + "352", + 0 + ] + }, + "class_type": "ApplyInstantID", + "_meta": { + "title": "Apply InstantID" + } + }, + "284": { + "inputs": { + "text": [ + "363", + 0 + ], + "clip": [ + "60", + 1 + ] + }, + "class_type": "CLIPTextEncode", + "_meta": { + "title": "CLIP Text Encode (Prompt)" + } + }, + "287": { + "inputs": { + "text": [ + "367", + 0 + ], + "clip": [ + "59", + 1 + ] + }, + "class_type": "CLIPTextEncode", + "_meta": { + "title": "CLIP Text Encode (Prompt)" + } + }, + "289": { + "inputs": {}, + "class_type": "BRIA_RMBG_ModelLoader_Zho", + "_meta": { + "title": "🧹BRIA_RMBG Model Loader" + } + }, + "290": { + "inputs": { + "rmbgmodel": [ + "289", + 0 + ], + "image": [ + "344", + 0 + ] + }, + "class_type": "BRIA_RMBG_Zho", + "_meta": { + "title": "🧹BRIA RMBG" + } + }, + "294": { + "inputs": { + "weight": 1, + "start_at": 0, + "end_at": 1, + "instantid": [ + "35", + 0 + ], + "insightface": [ + "36", + 0 + ], + "control_net": [ + "40", + 0 + ], + "image": [ + "330", + 0 + ], + "model": [ + "59", + 0 + ], + "positive": [ + "301", + 0 + ], + "negative": [ + "335", + 0 + ], + "image_kps": [ + "350", + 0 + ] + }, + "class_type": "ApplyInstantID", + "_meta": { + "title": "Apply InstantID" + } + }, + "298": { + "inputs": { + "text": [ + "361", + 0 + ], + "clip": [ + "60", + 1 + ] + }, + "class_type": "CLIPTextEncode", + "_meta": { + "title": "CLIP Text Encode (Prompt)" + } + }, + "301": { + "inputs": { + "text": [ + "368", + 0 + ], + "clip": [ + "59", + 1 + ] + }, + "class_type": "CLIPTextEncode", + "_meta": { + "title": "CLIP Text Encode (Prompt)" + } + }, + "317": { + "inputs": {}, + "class_type": "BRIA_RMBG_ModelLoader_Zho", + "_meta": { + "title": "🧹BRIA_RMBG Model Loader" + } + }, + "318": { + "inputs": { + "rmbgmodel": [ + "317", + 0 + ], + "image": [ + "346", + 0 + ] + }, + "class_type": "BRIA_RMBG_Zho", + "_meta": { + "title": "🧹BRIA RMBG" + } + }, + "322": { + "inputs": { + "weight": 1, + "start_at": 0, + "end_at": 1, + "instantid": [ + "35", + 0 + ], + "insightface": [ + "36", + 0 + ], + "control_net": [ + "40", + 0 + ], + "image": [ + "330", + 0 + ], + "model": [ + "59", + 0 + ], + "positive": [ + "329", + 0 + ], + "negative": [ + "335", + 0 + ], + "image_kps": [ + "349", + 0 + ] + }, + "class_type": "ApplyInstantID", + "_meta": { + "title": "Apply InstantID" + } + }, + "326": { + "inputs": { + "text": [ + "365", + 0 + ], + "clip": [ + "60", + 1 + ] + }, + "class_type": "CLIPTextEncode", + "_meta": { + "title": "CLIP Text Encode (Prompt)" + } + }, + "329": { + "inputs": { + "text": [ + "369", + 0 + ], + "clip": [ + "59", + 1 + ] + }, + "class_type": "CLIPTextEncode", + "_meta": { + "title": "CLIP Text Encode (Prompt)" + } + }, + "330": { + "inputs": { + "upscale_method": "lanczos", + "megapixels": 1, + "image": [ + "358", + 0 + ] + }, + "class_type": "ImageScaleToTotalPixels", + "_meta": { + "title": "ImageScaleToTotalPixels" + } + }, + "334": { + "inputs": { + "text": "shiny, photo, photography, soft, nsfw, nude, ugly, broken, watermark, oversaturated", + "clip": [ + "60", + 1 + ] + }, + "class_type": "CLIPTextEncode", + "_meta": { + "title": "CLIP Text Encode (Prompt)" + } + }, + "335": { + "inputs": { + "text": "shiny, photo, photography, soft, nsfw, nude, ugly, broken, watermark, oversaturated", + "clip": [ + "59", + 1 + ] + }, + "class_type": "CLIPTextEncode", + "_meta": { + "title": "CLIP Text Encode (Prompt)" + } + }, + "338": { + "inputs": { + "rmbgmodel": [ + "339", + 0 + ], + "image": [ + "341", + 0 + ] + }, + "class_type": "BRIA_RMBG_Zho", + "_meta": { + "title": "🧹BRIA RMBG" + } + }, + "339": { + "inputs": {}, + "class_type": "BRIA_RMBG_ModelLoader_Zho", + "_meta": { + "title": "🧹BRIA_RMBG Model Loader" + } + }, + "340": { + "inputs": { + "seed": 455884554298708, + "steps": 8, + "cfg": 2, + "sampler_name": "dpmpp_2m_sde", + "scheduler": "karras", + "denoise": 1, + "model": [ + "41", + 0 + ], + "positive": [ + "41", + 1 + ], + "negative": [ + "41", + 2 + ], + "latent_image": [ + "63", + 0 + ] + }, + "class_type": "KSampler", + "_meta": { + "title": "KSampler" + } + }, + "341": { + "inputs": { + "samples": [ + "340", + 0 + ], + "vae": [ + "60", + 2 + ] + }, + "class_type": "VAEDecode", + "_meta": { + "title": "VAE Decode" + } + }, + "342": { + "inputs": { + "seed": 864701675843957, + "steps": 8, + "cfg": 2, + "sampler_name": "dpmpp_2m_sde", + "scheduler": "karras", + "denoise": 1, + "model": [ + "280", + 0 + ], + "positive": [ + "280", + 1 + ], + "negative": [ + "280", + 2 + ], + "latent_image": [ + "63", + 0 + ] + }, + "class_type": "KSampler", + "_meta": { + "title": "KSampler" + } + }, + "343": { + "inputs": { + "samples": [ + "342", + 0 + ], + "vae": [ + "60", + 2 + ] + }, + "class_type": "VAEDecode", + "_meta": { + "title": "VAE Decode" + } + }, + "344": { + "inputs": { + "samples": [ + "345", + 0 + ], + "vae": [ + "60", + 2 + ] + }, + "class_type": "VAEDecode", + "_meta": { + "title": "VAE Decode" + } + }, + "345": { + "inputs": { + "seed": 30719400771281, + "steps": 8, + "cfg": 2, + "sampler_name": "dpmpp_2m_sde", + "scheduler": "karras", + "denoise": 1, + "model": [ + "294", + 0 + ], + "positive": [ + "294", + 1 + ], + "negative": [ + "294", + 2 + ], + "latent_image": [ + "63", + 0 + ] + }, + "class_type": "KSampler", + "_meta": { + "title": "KSampler" + } + }, + "346": { + "inputs": { + "samples": [ + "347", + 0 + ], + "vae": [ + "60", + 2 + ] + }, + "class_type": "VAEDecode", + "_meta": { + "title": "VAE Decode" + } + }, + "347": { + "inputs": { + "seed": 711276847761956, + "steps": 8, + "cfg": 2, + "sampler_name": "dpmpp_2m_sde", + "scheduler": "karras", + "denoise": 1, + "model": [ + "322", + 0 + ], + "positive": [ + "322", + 1 + ], + "negative": [ + "322", + 2 + ], + "latent_image": [ + "63", + 0 + ] + }, + "class_type": "KSampler", + "_meta": { + "title": "KSampler" + } + }, + "348": { + "inputs": { + "seed": 201263407848856, + "steps": 8, + "cfg": 2.3000000000000003, + "sampler_name": "dpmpp_2m_sde", + "scheduler": "karras", + "denoise": 1, + "model": [ + "60", + 0 + ], + "positive": [ + "326", + 0 + ], + "negative": [ + "334", + 0 + ], + "latent_image": [ + "69", + 0 + ] + }, + "class_type": "KSampler", + "_meta": { + "title": "KSampler" + } + }, + "349": { + "inputs": { + "samples": [ + "348", + 0 + ], + "vae": [ + "60", + 2 + ] + }, + "class_type": "VAEDecode", + "_meta": { + "title": "VAE Decode" + } + }, + "350": { + "inputs": { + "samples": [ + "351", + 0 + ], + "vae": [ + "60", + 2 + ] + }, + "class_type": "VAEDecode", + "_meta": { + "title": "VAE Decode" + } + }, + "351": { + "inputs": { + "seed": 14205425480866, + "steps": 8, + "cfg": 2.3000000000000003, + "sampler_name": "dpmpp_2m_sde", + "scheduler": "karras", + "denoise": 1, + "model": [ + "60", + 0 + ], + "positive": [ + "298", + 0 + ], + "negative": [ + "334", + 0 + ], + "latent_image": [ + "69", + 0 + ] + }, + "class_type": "KSampler", + "_meta": { + "title": "KSampler" + } + }, + "352": { + "inputs": { + "samples": [ + "354", + 0 + ], + "vae": [ + "60", + 2 + ] + }, + "class_type": "VAEDecode", + "_meta": { + "title": "VAE Decode" + } + }, + "353": { + "inputs": { + "samples": [ + "355", + 0 + ], + "vae": [ + "60", + 2 + ] + }, + "class_type": "VAEDecode", + "_meta": { + "title": "VAE Decode" + } + }, + "354": { + "inputs": { + "seed": 990130509143536, + "steps": 8, + "cfg": 2.3000000000000003, + "sampler_name": "dpmpp_2m_sde", + "scheduler": "karras", + "denoise": 1, + "model": [ + "60", + 0 + ], + "positive": [ + "284", + 0 + ], + "negative": [ + "334", + 0 + ], + "latent_image": [ + "69", + 0 + ] + }, + "class_type": "KSampler", + "_meta": { + "title": "KSampler" + } + }, + "355": { + "inputs": { + "seed": 410229384032132, + "steps": 8, + "cfg": 2.3000000000000003, + "sampler_name": "dpmpp_2m_sde", + "scheduler": "karras", + "denoise": 1, + "model": [ + "60", + 0 + ], + "positive": [ + "88", + 0 + ], + "negative": [ + "334", + 0 + ], + "latent_image": [ + "69", + 0 + ] + }, + "class_type": "KSampler", + "_meta": { + "title": "KSampler" + } + }, + "358": { + "inputs": { + "image": "frank.jpeg", + "upload": "image" + }, + "class_type": "LoadImage", + "_meta": { + "title": "input;Person's face;order=1" + } + }, + "359": { + "inputs": { + "name": "photo_stickers", + "display_name": "Photo Stickers", + "description": "Stickers from person photo", + "author": "Datou", + "homepage": "https://openart.ai/workflows/datou/photo-2-anime-sdxl/0tBl5W8dBBe6FEhi0MxY", + "documentation": "https://visionatrix.github.io/VixFlowsDocs/Flows/PhotoStickers.html", + "license": "", + "tags": "[\"cartoon\", \"portrait\"]", + "version": "1.0.0" + }, + "class_type": "VixUiWorkflowMetadata", + "_meta": { + "title": "VixUI-WorkflowMetadata" + } + }, + "360": { + "inputs": { + "default_value": "boy", + "possible_values": "[\"girl\", \"boy\", \"man\", \"woman\"]", + "display_name": "Base gender", + "optional": false, + "advanced": false, + "order": 2, + "custom_id": "gender" + }, + "class_type": "VixUiList", + "_meta": { + "title": "VixUI-List" + } + }, + "361": { + "inputs": { + "text": [ + "371", + 0 + ], + "find": "{gender}", + "replace": [ + "360", + 0 + ] + }, + "class_type": "Text Find and Replace", + "_meta": { + "title": "Text Find and Replace" + } + }, + "362": { + "inputs": { + "text": "half body, looking at viewer, [1{gender}] laughing" + }, + "class_type": "Text Multiline (Code Compatible)", + "_meta": { + "title": "Text Multiline (Code Compatible)" + } + }, + "363": { + "inputs": { + "text": [ + "370", + 0 + ], + "find": "{gender}", + "replace": [ + "360", + 0 + ] + }, + "class_type": "Text Find and Replace", + "_meta": { + "title": "Text Find and Replace" + } + }, + "364": { + "inputs": { + "text": [ + "362", + 0 + ], + "find": "{gender}", + "replace": [ + "360", + 0 + ] + }, + "class_type": "Text Find and Replace", + "_meta": { + "title": "Text Find and Replace" + } + }, + "365": { + "inputs": { + "text": [ + "372", + 0 + ], + "find": "{gender}", + "replace": [ + "360", + 0 + ] + }, + "class_type": "Text Find and Replace", + "_meta": { + "title": "Text Find and Replace" + } + }, + "366": { + "inputs": { + "text": [ + "376", + 0 + ], + "find": "{gender}", + "replace": [ + "360", + 0 + ] + }, + "class_type": "Text Find and Replace", + "_meta": { + "title": "Text Find and Replace" + } + }, + "367": { + "inputs": { + "text": [ + "374", + 0 + ], + "find": "{gender}", + "replace": [ + "360", + 0 + ] + }, + "class_type": "Text Find and Replace", + "_meta": { + "title": "Text Find and Replace" + } + }, + "368": { + "inputs": { + "text": [ + "375", + 0 + ], + "find": "{gender}", + "replace": [ + "360", + 0 + ] + }, + "class_type": "Text Find and Replace", + "_meta": { + "title": "Text Find and Replace" + } + }, + "369": { + "inputs": { + "text": [ + "373", + 0 + ], + "find": "{gender}", + "replace": [ + "360", + 0 + ] + }, + "class_type": "Text Find and Replace", + "_meta": { + "title": "Text Find and Replace" + } + }, + "370": { + "inputs": { + "text": "half body, looking at viewer, [1{gender}] angry, frustrated" + }, + "class_type": "Text Multiline (Code Compatible)", + "_meta": { + "title": "Text Multiline (Code Compatible)" + } + }, + "371": { + "inputs": { + "text": "half body, looking at viewer, [1{gender}] shocked, surprised" + }, + "class_type": "Text Multiline (Code Compatible)", + "_meta": { + "title": "Text Multiline (Code Compatible)" + } + }, + "372": { + "inputs": { + "text": "half body, looking at viewer, [1{gender}] happy, calm" + }, + "class_type": "Text Multiline (Code Compatible)", + "_meta": { + "title": "Text Multiline (Code Compatible)" + } + }, + "373": { + "inputs": { + "text": "half body, looking at viewer, [1{gender}] happy, calm, Sticker, svg, vector art, sharp, kawaii style, Anime style " + }, + "class_type": "Text Multiline (Code Compatible)", + "_meta": { + "title": "Text Multiline (Code Compatible)" + } + }, + "374": { + "inputs": { + "text": "half body, looking at viewer, [1{gender}] angry, frustrated, Sticker, svg, vector art, sharp, kawaii style, Anime style " + }, + "class_type": "Text Multiline (Code Compatible)", + "_meta": { + "title": "Text Multiline (Code Compatible)" + } + }, + "375": { + "inputs": { + "text": "half body, looking at viewer, [1{gender}] shocked, surprised, Sticker, svg, vector art, sharp, kawaii style, Anime style " + }, + "class_type": "Text Multiline (Code Compatible)", + "_meta": { + "title": "Text Multiline (Code Compatible)" + } + }, + "376": { + "inputs": { + "text": "half body, looking at viewer, [1{gender}] laughing, Sticker, svg, vector art, sharp, kawaii style, Anime style " + }, + "class_type": "Text Multiline (Code Compatible)", + "_meta": { + "title": "Text Multiline (Code Compatible)" + } + } +} From d146b5190320eba37a547ae96e319cc10fa511da Mon Sep 17 00:00:00 2001 From: Alexander Piskun <13381981+bigcat88@users.noreply.github.com> Date: Tue, 25 Jun 2024 11:12:43 +0300 Subject: [PATCH 17/27] `ghibli_portrait` added `extra_size` checkbox Signed-off-by: Alexander Piskun --- flows/ghibli_portrait.json | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/flows/ghibli_portrait.json b/flows/ghibli_portrait.json index 56a112e..3f7dacc 100644 --- a/flows/ghibli_portrait.json +++ b/flows/ghibli_portrait.json @@ -149,7 +149,7 @@ 2 ], "script": [ - "358", + "398", 0 ] }, @@ -344,5 +344,23 @@ "_meta": { "title": "VixUI-List" } + }, + "398": { + "inputs": { + "state": true, + "display_name": "Perform 1.5x scaling", + "optional": true, + "advanced": true, + "order": 99, + "custom_id": "extra_size", + "input_on_state": [ + "358", + 0 + ] + }, + "class_type": "VixUiCheckboxLogic", + "_meta": { + "title": "VixUI-CheckboxLogic" + } } } From ad3b6cdfd354e6d2606e15cc2f8886e0018e481e Mon Sep 17 00:00:00 2001 From: Alexander Piskun <13381981+bigcat88@users.noreply.github.com> Date: Tue, 25 Jun 2024 11:27:08 +0300 Subject: [PATCH 18/27] ported `memoji_portrait` workflow Signed-off-by: Alexander Piskun --- flows/memoji_portrait.json | 299 +++++++++++++++++++++++++++++++++++++ 1 file changed, 299 insertions(+) create mode 100644 flows/memoji_portrait.json diff --git a/flows/memoji_portrait.json b/flows/memoji_portrait.json new file mode 100644 index 0000000..c319c6b --- /dev/null +++ b/flows/memoji_portrait.json @@ -0,0 +1,299 @@ +{ + "14": { + "inputs": { + "ckpt_name": "DreamShaperXL_Lightning.safetensors" + }, + "class_type": "CheckpointLoaderSimple", + "_meta": { + "title": "Load Checkpoint Base" + } + }, + "290": { + "inputs": { + "text": [ + "390", + 0 + ], + "clip": [ + "379", + 1 + ] + }, + "class_type": "CLIPTextEncode", + "_meta": { + "title": "CLIP Text Encode (Positive Prompt)" + } + }, + "291": { + "inputs": { + "text": "Signature, deformed, smooth, plastic, blurry, grainy, closed eyes, ((hands)), ((hand)), (freckle, spot:1.4)\n", + "clip": [ + "379", + 1 + ] + }, + "class_type": "CLIPTextEncode", + "_meta": { + "title": "CLIP Text Encode (Negative Prompt)" + } + }, + "336": { + "inputs": { + "weight": 0.6, + "start_at": 0, + "end_at": 1, + "instantid": [ + "337", + 0 + ], + "insightface": [ + "338", + 0 + ], + "control_net": [ + "339", + 0 + ], + "image": [ + "387", + 0 + ], + "model": [ + "379", + 0 + ], + "positive": [ + "290", + 0 + ], + "negative": [ + "291", + 0 + ], + "image_kps": [ + "385", + 0 + ] + }, + "class_type": "ApplyInstantID", + "_meta": { + "title": "Apply InstantID" + } + }, + "337": { + "inputs": { + "instantid_file": "instantid-ip-adapter.bin" + }, + "class_type": "InstantIDModelLoader", + "_meta": { + "title": "Load InstantID Model" + } + }, + "338": { + "inputs": { + "provider": "CPU" + }, + "class_type": "InstantIDFaceAnalysis", + "_meta": { + "title": "InstantID Face Analysis" + } + }, + "339": { + "inputs": { + "control_net_name": "instantid-controlnet.safetensors" + }, + "class_type": "ControlNetLoader", + "_meta": { + "title": "Load ControlNet Model" + } + }, + "345": { + "inputs": { + "width": 1016, + "height": 1016, + "batch_size": 1 + }, + "class_type": "EmptyLatentImage", + "_meta": { + "title": "Empty Latent Image" + } + }, + "357": { + "inputs": { + "seed": 110504518086022, + "steps": 4, + "cfg": 3, + "sampler_name": "dpmpp_sde", + "scheduler": "karras", + "denoise": 1, + "preview_method": "none", + "vae_decode": "true", + "model": [ + "381", + 0 + ], + "positive": [ + "336", + 1 + ], + "negative": [ + "336", + 2 + ], + "latent_image": [ + "345", + 0 + ], + "optional_vae": [ + "14", + 2 + ], + "script": [ + "383", + 0 + ] + }, + "class_type": "KSampler (Efficient)", + "_meta": { + "title": "KSampler (Efficient)" + } + }, + "358": { + "inputs": { + "upscale_type": "latent", + "hires_ckpt_name": "(use same)", + "latent_upscaler": "ttl_nn.SDXL", + "pixel_upscaler": "4x_NMKD-Siax_200k.pth", + "upscale_by": 1.5, + "use_same_seed": true, + "seed": -1, + "hires_steps": 4, + "denoise": 0.5, + "iterations": 1, + "use_controlnet": false, + "control_net_name": "depth-zoe-xl-v1.0-controlnet.safetensors", + "strength": 0.8, + "preprocessor": "DepthAnythingPreprocessor", + "preprocessor_imgs": true + }, + "class_type": "HighRes-Fix Script", + "_meta": { + "title": "HighRes-Fix Script" + } + }, + "359": { + "inputs": { + "filename_prefix": "Memoji/img_", + "images": [ + "357", + 5 + ] + }, + "class_type": "SaveImage", + "_meta": { + "title": "@Datou https://twitter.com/Datou" + } + }, + "379": { + "inputs": { + "lora_name": "memoji_1024-000005.safetensors", + "strength_model": 1, + "strength_clip": 0.8, + "model": [ + "14", + 0 + ], + "clip": [ + "14", + 1 + ] + }, + "class_type": "LoraLoader", + "_meta": { + "title": "Load LoRA" + } + }, + "381": { + "inputs": { + "hard_mode": true, + "boost": true, + "model": [ + "336", + 0 + ] + }, + "class_type": "Automatic CFG", + "_meta": { + "title": "Automatic CFG" + } + }, + "383": { + "inputs": { + "state": true, + "display_name": "Perform 1.5x scaling", + "optional": true, + "advanced": true, + "order": 99, + "custom_id": "extra_size", + "input_on_state": [ + "358", + 0 + ] + }, + "class_type": "VixUiCheckboxLogic", + "_meta": { + "title": "VixUI-CheckboxLogic" + } + }, + "385": { + "inputs": { + "image": "", + "upload": "image" + }, + "class_type": "LoadImage", + "_meta": { + "title": "input;Person's face pose; optional;advanced;order=3" + } + }, + "387": { + "inputs": { + "image": "", + "upload": "image" + }, + "class_type": "LoadImage", + "_meta": { + "title": "input;Person's face;order=1" + } + }, + "388": { + "inputs": { + "name": "memoji_portrait", + "display_name": "Memoji Portrait", + "description": "Portrait photos as a Memoji", + "author": "Datou", + "homepage": "https://openart.ai/workflows/datou/memoji/Lcprla9BQL29IFVjC93l", + "documentation": "https://visionatrix.github.io/VixFlowsDocs/Flows/MemojiPortrait.html", + "license": "", + "tags": "[\"cartoon\", \"portrait\"]", + "version": "1.0.0" + }, + "class_type": "VixUiWorkflowMetadata", + "_meta": { + "title": "VixUI-WorkflowMetadata" + } + }, + "390": { + "inputs": { + "text": "girl, portrait, close up", + "display_name": "Prompt", + "optional": false, + "advanced": false, + "order": 2, + "custom_id": "" + }, + "class_type": "VixUiPrompt", + "_meta": { + "title": "VixUI-Prompt" + } + } +} From 0ad39d10879f4b3fe2892713a343fcac819707e1 Mon Sep 17 00:00:00 2001 From: Alexander Piskun <13381981+bigcat88@users.noreply.github.com> Date: Tue, 25 Jun 2024 19:04:13 +0300 Subject: [PATCH 19/27] ported `photomaker_1` workflow Signed-off-by: Alexander Piskun --- flows/photomaker_1.json | 594 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 594 insertions(+) create mode 100644 flows/photomaker_1.json diff --git a/flows/photomaker_1.json b/flows/photomaker_1.json new file mode 100644 index 0000000..ae2d292 --- /dev/null +++ b/flows/photomaker_1.json @@ -0,0 +1,594 @@ +{ + "4": { + "inputs": { + "ckpt_name": "albedobaseXL_v13.safetensors" + }, + "class_type": "CheckpointLoaderSimple", + "_meta": { + "title": "Load Checkpoint" + } + }, + "5": { + "inputs": { + "width": 1024, + "height": 1024, + "batch_size": 1 + }, + "class_type": "EmptyLatentImage", + "_meta": { + "title": "Empty Latent Image" + } + }, + "6": { + "inputs": { + "text": [ + "127", + 0 + ], + "clip": [ + "4", + 1 + ] + }, + "class_type": "CLIPTextEncode", + "_meta": { + "title": "CLIP Text Encode (Prompt)" + } + }, + "7": { + "inputs": { + "text": [ + "120", + 0 + ], + "clip": [ + "4", + 1 + ] + }, + "class_type": "CLIPTextEncode", + "_meta": { + "title": "CLIP Text Encode (Prompt)" + } + }, + "53": { + "inputs": { + "lora_name": "photomaker-v1.bin", + "strength_model": 1, + "model": [ + "4", + 0 + ] + }, + "class_type": "LoraLoaderModelOnly", + "_meta": { + "title": "LoraLoaderModelOnly" + } + }, + "59": { + "inputs": { + "conditioning_1": [ + "60", + 0 + ], + "conditioning_2": [ + "62", + 0 + ] + }, + "class_type": "ConditioningCombine", + "_meta": { + "title": "Conditioning (Combine)" + } + }, + "60": { + "inputs": { + "start": 0, + "end": [ + "101", + 0 + ], + "conditioning": [ + "6", + 0 + ] + }, + "class_type": "ConditioningSetTimestepRange", + "_meta": { + "title": "ConditioningSetTimestepRange" + } + }, + "62": { + "inputs": { + "start": [ + "101", + 0 + ], + "end": 1, + "conditioning": [ + "73", + 0 + ] + }, + "class_type": "ConditioningSetTimestepRange", + "_meta": { + "title": "ConditioningSetTimestepRange" + } + }, + "63": { + "inputs": { + "seed": 549269201410295, + "steps": 20, + "cfg": 5, + "sampler_name": "euler", + "scheduler": "normal", + "denoise": 1, + "model": [ + "53", + 0 + ], + "positive": [ + "59", + 0 + ], + "negative": [ + "7", + 0 + ], + "latent_image": [ + "5", + 0 + ] + }, + "class_type": "KSampler", + "_meta": { + "title": "KSampler" + } + }, + "65": { + "inputs": { + "samples": [ + "63", + 0 + ], + "vae": [ + "4", + 2 + ] + }, + "class_type": "VAEDecode", + "_meta": { + "title": "VAE Decode" + } + }, + "69": { + "inputs": { + "filename_prefix": "ComfyUI", + "images": [ + "65", + 0 + ] + }, + "class_type": "SaveImage", + "_meta": { + "title": "Save Image" + } + }, + "72": { + "inputs": { + "photomaker_model_name": "photomaker-v1.bin" + }, + "class_type": "PhotoMakerLoader", + "_meta": { + "title": "PhotoMakerLoader" + } + }, + "73": { + "inputs": { + "text": [ + "118", + 0 + ], + "photomaker": [ + "72", + 0 + ], + "image": [ + "97", + 0 + ], + "clip": [ + "4", + 1 + ] + }, + "class_type": "PhotoMakerEncode", + "_meta": { + "title": "PhotoMakerEncode" + } + }, + "74": { + "inputs": { + "seed": 213410887870447, + "steps": 20, + "cfg": 5, + "sampler_name": "euler", + "scheduler": "normal", + "denoise": 1, + "model": [ + "53", + 0 + ], + "positive": [ + "73", + 0 + ], + "negative": [ + "7", + 0 + ], + "latent_image": [ + "5", + 0 + ] + }, + "class_type": "KSampler", + "_meta": { + "title": "KSampler" + } + }, + "75": { + "inputs": { + "samples": [ + "74", + 0 + ], + "vae": [ + "4", + 2 + ] + }, + "class_type": "VAEDecode", + "_meta": { + "title": "VAE Decode" + } + }, + "76": { + "inputs": { + "filename_prefix": "ComfyUI", + "images": [ + "75", + 0 + ] + }, + "class_type": "SaveImage", + "_meta": { + "title": "Save Image" + } + }, + "78": { + "inputs": {}, + "class_type": "BRIA_RMBG_ModelLoader_Zho", + "_meta": { + "title": "🧹BRIA_RMBG Model Loader" + } + }, + "79": { + "inputs": { + "rmbgmodel": [ + "78", + 0 + ], + "image": [ + "100", + 0 + ] + }, + "class_type": "BRIA_RMBG_Zho", + "_meta": { + "title": "🧹BRIA RMBG" + } + }, + "97": { + "inputs": { + "image": [ + "79", + 0 + ] + }, + "class_type": "SplitImageWithAlpha", + "_meta": { + "title": "Split Image with Alpha" + } + }, + "99": { + "inputs": { + "name": "photomaker_1", + "display_name": "Photo from 1 image", + "description": "Customizing Realistic Human Photos", + "author": "shiimizu", + "homepage": "https://github.com/shiimizu/ComfyUI-PhotoMaker-Plus", + "documentation": "https://visionatrix.github.io/VixFlowsDocs/Flows/Photomaker_1.html", + "license": "", + "tags": "[\"general\", \"portrait\", \"cartoon\"]", + "version": "1.0.0" + }, + "class_type": "VixUiWorkflowMetadata", + "_meta": { + "title": "VixUI-WorkflowMetadata" + } + }, + "100": { + "inputs": { + "image": "", + "upload": "image" + }, + "class_type": "LoadImage", + "_meta": { + "title": "input;Person's face;order=1" + } + }, + "101": { + "inputs": { + "value": 0.3, + "display_name": "Freedom of outcome", + "optional": true, + "advanced": true, + "min": 0.1, + "max": 0.5, + "step": 0.1, + "order": 99, + "custom_id": "accuracy" + }, + "class_type": "VixUiRangeFloat", + "_meta": { + "title": "VixUI-RangeFloat" + } + }, + "107": { + "inputs": { + "default_value": "Cinematic", + "possible_values": "[\n \"Cinematic\",\n \"Disney Character\",\n \"Digital Art\",\n \"Photographic\",\n \"Fantasy art\",\n \"Neonpunk\",\n \"Comic book\",\n \"Lowpoly\",\n \"Line art\"\n]", + "display_name": "Photo Style", + "optional": false, + "advanced": false, + "order": 4, + "custom_id": "style" + }, + "class_type": "VixUiList", + "_meta": { + "title": "VixUI-List" + } + }, + "108": { + "inputs": { + "key": [ + "107", + 0 + ], + "default_value": "", + "dictionary": [ + "113", + 0 + ] + }, + "class_type": "Text Dictionary Get", + "_meta": { + "title": "Text Dictionary Get" + } + }, + "112": { + "inputs": { + "key_1": "Cinematic", + "value_1": "{negative_prompt}, anime, cartoon, graphic, text, painting, crayon, graphite, abstract, glitch, deformed, mutated, ugly, disfigured", + "key_2": "Disney Character", + "value_2": "{negative_prompt}, lowres, bad anatomy, bad hands, text, bad eyes, bad arms, bad legs, error, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality, normal quality, jpeg artifacts, signature, watermark, blurry, grayscale, noisy, sloppy, messy, grainy, highly detailed, ultra textured, photo", + "key_3": "Digital Art", + "value_3": "{negative_prompt}, photo, photorealistic, realism, ugly", + "key_4": "Photographic", + "value_4": "{negative_prompt}, drawing, painting, crayon, sketch, graphite, impressionist, noisy, blurry, soft, deformed, ugly", + "key_5": "Fantasy art", + "value_5": "{negative_prompt}, photographic, realistic, realism, 35mm film, dslr, cropped, frame, text, deformed, glitch, noise, noisy, off-center, deformed, cross-eyed, closed eyes, bad anatomy, ugly, disfigured, sloppy, duplicate, mutated, black and white" + }, + "class_type": "Text Dictionary New", + "_meta": { + "title": "Text Dictionary New" + } + }, + "113": { + "inputs": { + "dictionary_a": [ + "112", + 0 + ], + "dictionary_b": [ + "114", + 0 + ] + }, + "class_type": "Text Dictionary Update", + "_meta": { + "title": "Text Dictionary Update" + } + }, + "114": { + "inputs": { + "key_1": "Neonpunk", + "value_1": "{negative_prompt}, painting, drawing, illustration, glitch, deformed, mutated, cross-eyed, ugly, disfigured", + "key_2": "Comic book", + "value_2": "{negative_prompt}, photograph, deformed, glitch, noisy, realistic, stock photo", + "key_3": "Lowpoly", + "value_3": "{negative_prompt}, noisy, sloppy, messy, grainy, highly detailed, ultra textured, photo", + "key_4": "Line art", + "value_4": "{negative_prompt}, anime, photorealistic, 35mm film, deformed, glitch, blurry, noisy, off-center, deformed, cross-eyed, closed eyes, bad anatomy, ugly, disfigured, mutated, realism, realistic, impressionism, expressionism, oil, acrylic", + "key_5": "", + "value_5": "" + }, + "class_type": "Text Dictionary New", + "_meta": { + "title": "Text Dictionary New" + } + }, + "117": { + "inputs": { + "dictionary_a": [ + "129", + 0 + ], + "dictionary_b": [ + "131", + 0 + ] + }, + "class_type": "Text Dictionary Update", + "_meta": { + "title": "Text Dictionary Update" + } + }, + "118": { + "inputs": { + "text": [ + "119", + 0 + ], + "find": "{prompt}", + "replace": [ + "122", + 0 + ] + }, + "class_type": "Text Find and Replace", + "_meta": { + "title": "Text Find and Replace" + } + }, + "119": { + "inputs": { + "key": [ + "107", + 0 + ], + "default_value": "", + "dictionary": [ + "117", + 0 + ] + }, + "class_type": "Text Dictionary Get", + "_meta": { + "title": "Text Dictionary Get" + } + }, + "120": { + "inputs": { + "text": [ + "108", + 0 + ], + "find": "{negative_prompt}", + "replace": [ + "123", + 0 + ] + }, + "class_type": "Text Find and Replace", + "_meta": { + "title": "Text Find and Replace" + } + }, + "122": { + "inputs": { + "text": "portrait of girl", + "display_name": "Prompt", + "optional": false, + "advanced": false, + "order": 2, + "custom_id": "prompt" + }, + "class_type": "VixUiPrompt", + "_meta": { + "title": "VixUI-Prompt" + } + }, + "123": { + "inputs": { + "text": "", + "display_name": "Negative Prompt", + "optional": true, + "advanced": true, + "order": 25, + "custom_id": "negative_prompt" + }, + "class_type": "VixUiPrompt", + "_meta": { + "title": "VixUI-Prompt" + } + }, + "126": { + "inputs": { + "text": [ + "119", + 0 + ], + "find": ", photomaker", + "replace": "" + }, + "class_type": "Text Find and Replace", + "_meta": { + "title": "Text Find and Replace" + } + }, + "127": { + "inputs": { + "text": [ + "126", + 0 + ], + "find": "{prompt}", + "replace": [ + "122", + 0 + ] + }, + "class_type": "Text Find and Replace", + "_meta": { + "title": "Text Find and Replace" + } + }, + "129": { + "inputs": { + "key_1": "Cinematic", + "value_1": "cinematic still {prompt} . emotional, harmonious, vignette, highly detailed, high budget, bokeh, cinemascope, moody, epic, gorgeous, film grain, grainy, photomaker", + "key_2": "Disney Character", + "value_2": "Pixar animation character of {prompt} . pixar-style, studio anime, Disney, high-quality, photomaker", + "key_3": "Digital Art", + "value_3": "concept art {prompt} . digital artwork, illustrative, painterly, matte painting, highly detailed, photomaker", + "key_4": "Photographic", + "value_4": "cinematic photo {prompt} . 35mm photograph, film, bokeh, professional, 4k, highly detailed, photomaker", + "key_5": "Fantasy art", + "value_5": "ethereal fantasy concept art of {prompt} . magnificent, celestial, ethereal, painterly, epic, majestic, magical, fantasy art, cover art, dreamy, photomaker" + }, + "class_type": "Text Dictionary New", + "_meta": { + "title": "Text Dictionary New" + } + }, + "131": { + "inputs": { + "key_1": "Neonpunk", + "value_1": "neonpunk style {prompt} . cyberpunk, vaporwave, neon, vibes, vibrant, stunningly beautiful, crisp, detailed, sleek, ultramodern, magenta highlights, dark purple shadows, high contrast, cinematic, ultra detailed, intricate, professional, photomaker", + "key_2": "Comic book", + "value_2": "comic {prompt} . graphic illustration, comic art, graphic novel art, vibrant, highly detailed, photomaker", + "key_3": "Lowpoly", + "value_3": "low-poly style {prompt} . low-poly game art, polygon mesh, jagged, blocky, wireframe edges, centered composition, photomaker", + "key_4": "Line art", + "value_4": "line art drawing {prompt} . professional, sleek, modern, minimalist, graphic, line art, vector graphics, photomaker", + "key_5": "", + "value_5": "" + }, + "class_type": "Text Dictionary New", + "_meta": { + "title": "Text Dictionary New" + } + } +} From 02ed6c87135d969b5a0dca7c3051ad1b90668453 Mon Sep 17 00:00:00 2001 From: Alexander Piskun <13381981+bigcat88@users.noreply.github.com> Date: Tue, 25 Jun 2024 21:16:37 +0300 Subject: [PATCH 20/27] ported `SD3-Medium` workflow Signed-off-by: Alexander Piskun --- flows/sd3_medium.json | 189 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 189 insertions(+) create mode 100644 flows/sd3_medium.json diff --git a/flows/sd3_medium.json b/flows/sd3_medium.json new file mode 100644 index 0000000..4a15f39 --- /dev/null +++ b/flows/sd3_medium.json @@ -0,0 +1,189 @@ +{ + "6": { + "inputs": { + "text": [ + "281", + 0 + ], + "clip": [ + "252", + 1 + ] + }, + "class_type": "CLIPTextEncode", + "_meta": { + "title": "CLIP Text Encode (Prompt)" + } + }, + "71": { + "inputs": { + "text": "", + "clip": [ + "252", + 1 + ] + }, + "class_type": "CLIPTextEncode", + "_meta": { + "title": "CLIP Text Encode (Negative Prompt)" + } + }, + "135": { + "inputs": { + "width": [ + "282", + 1 + ], + "height": [ + "282", + 2 + ], + "batch_size": 1 + }, + "class_type": "EmptySD3LatentImage", + "_meta": { + "title": "EmptySD3LatentImage" + } + }, + "231": { + "inputs": { + "samples": [ + "271", + 0 + ], + "vae": [ + "252", + 2 + ] + }, + "class_type": "VAEDecode", + "_meta": { + "title": "VAE Decode" + } + }, + "252": { + "inputs": { + "ckpt_name": "sd3_medium_incl_clips_t5xxlfp16.safetensors" + }, + "class_type": "CheckpointLoaderSimple", + "_meta": { + "title": "Load Checkpoint" + } + }, + "271": { + "inputs": { + "seed": 696689572470178, + "steps": 28, + "cfg": [ + "283", + 0 + ], + "sampler_name": "dpmpp_2m", + "scheduler": "sgm_uniform", + "denoise": 1, + "model": [ + "279", + 0 + ], + "positive": [ + "6", + 0 + ], + "negative": [ + "71", + 0 + ], + "latent_image": [ + "135", + 0 + ] + }, + "class_type": "KSampler", + "_meta": { + "title": "KSampler" + } + }, + "273": { + "inputs": { + "filename_prefix": "sd3/comfy_", + "images": [ + "231", + 0 + ] + }, + "class_type": "SaveImage", + "_meta": { + "title": "@Datou" + } + }, + "279": { + "inputs": { + "shift": 3, + "model": [ + "252", + 0 + ] + }, + "class_type": "ModelSamplingSD3", + "_meta": { + "title": "ModelSamplingSD3" + } + }, + "280": { + "inputs": { + "name": "sd3_medium", + "display_name": "StableDiffusion3 Medium", + "description": "Simple one model flow for testing purposes", + "author": "Datou", + "homepage": "https://openart.ai/workflows/datou/sd3-basic-workflow/7Udt2JZ3Mwqf1if9EqWt", + "documentation": "https://visionatrix.github.io/VixFlowsDocs/Flows/SD3_Medium.html", + "license": "", + "tags": "[\"general\"]", + "version": "1.0.0" + }, + "class_type": "VixUiWorkflowMetadata", + "_meta": { + "title": "VixUI-WorkflowMetadata" + } + }, + "281": { + "inputs": { + "text": "a close-up half-portrait photo of a woman wearing a sleek blue and white summer dress with a monstera plant motif, red braided hair, she is on Brighton pebble beach UK, west pier behind her, early in the morning, seagulls flying overhead, focus on face", + "display_name": "Prompt", + "optional": false, + "advanced": false, + "order": 1, + "custom_id": "prompt" + }, + "class_type": "VixUiPrompt", + "_meta": { + "title": "VixUI-Prompt" + } + }, + "282": { + "inputs": { + "aspect_ratio": "3:4" + }, + "class_type": "SDXLAspectRatioSelector", + "_meta": { + "title": "input;Aspect Ratio;optional;advanced;order=2" + } + }, + "283": { + "inputs": { + "value": 3.5, + "display_name": "Prompt strength", + "optional": true, + "advanced": true, + "min": 3, + "max": 5, + "step": 0.1, + "order": 10, + "custom_id": "prompt_strength" + }, + "class_type": "VixUiRangeFloat", + "_meta": { + "title": "VixUI-RangeFloat" + } + } +} From 3316d193e7c88d1a54d16385e2239236288ed0bc Mon Sep 17 00:00:00 2001 From: Andrey Borysenko Date: Wed, 26 Jun 2024 03:31:38 +0300 Subject: [PATCH 21/27] ported `mobius_xl` workflow Signed-off-by: Andrey Borysenko --- flows/mobius_xl.json | 296 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 296 insertions(+) create mode 100644 flows/mobius_xl.json diff --git a/flows/mobius_xl.json b/flows/mobius_xl.json new file mode 100644 index 0000000..7b9b6dd --- /dev/null +++ b/flows/mobius_xl.json @@ -0,0 +1,296 @@ +{ + "2": { + "inputs": { + "ckpt_name": "mobius-fp16.safetensors" + }, + "class_type": "CheckpointLoaderSimple", + "_meta": { + "title": "Load Checkpoint" + } + }, + "27": { + "inputs": { + "seed": 1, + "steps": 50, + "cfg": [ + "297", + 0 + ], + "sampler_name": "dpmpp_3m_sde", + "scheduler": "karras", + "denoise": 1, + "model": [ + "2", + 0 + ], + "positive": [ + "295", + 0 + ], + "negative": [ + "294", + 0 + ], + "latent_image": [ + "244", + 0 + ] + }, + "class_type": "KSampler", + "_meta": { + "title": "KSampler" + } + }, + "116": { + "inputs": { + "samples": [ + "27", + 0 + ], + "vae": [ + "278", + 0 + ] + }, + "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": [ + "296", + 0 + ] + }, + "class_type": "SaveImage", + "_meta": { + "title": "Save Image" + } + }, + "268": { + "inputs": { + "add_noise": true, + "noise_seed": 1, + "cfg": [ + "297", + 0 + ], + "model": [ + "2", + 0 + ], + "positive": [ + "295", + 0 + ], + "negative": [ + "294", + 0 + ], + "sampler": [ + "273", + 0 + ], + "sigmas": [ + "270", + 0 + ], + "latent_image": [ + "244", + 0 + ] + }, + "class_type": "SamplerCustom", + "_meta": { + "title": "SamplerCustom" + } + }, + "270": { + "inputs": { + "model_type": "SDXL", + "steps": 20, + "denoise": 1 + }, + "class_type": "AlignYourStepsScheduler", + "_meta": { + "title": "AlignYourStepsScheduler" + } + }, + "273": { + "inputs": { + "sampler_name": "dpmpp_2m_sde" + }, + "class_type": "KSamplerSelect", + "_meta": { + "title": "KSamplerSelect" + } + }, + "275": { + "inputs": { + "samples": [ + "268", + 0 + ], + "vae": [ + "278", + 0 + ] + }, + "class_type": "VAEDecode", + "_meta": { + "title": "VAE Decode" + } + }, + "278": { + "inputs": { + "vae_name": "sdxl_vae.safetensors" + }, + "class_type": "VAELoader", + "_meta": { + "title": "Load VAE" + } + }, + "290": { + "inputs": { + "stop_at_clip_layer": -3, + "clip": [ + "2", + 1 + ] + }, + "class_type": "CLIPSetLastLayer", + "_meta": { + "title": "CLIP Set Last Layer" + } + }, + "291": { + "inputs": { + "name": "mobius_xl", + "display_name": "Mobius XL", + "description": "Mobius XL model", + "author": "bigcat88", + "homepage": "https://github.com/bigcat88", + "documentation": "https://visionatrix.github.io/VixFlowsDocs/Flows/Mobius_XL.html", + "license": "", + "tags": "[\"general\"]", + "version": "1.0.0" + }, + "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": [ + "290", + 0 + ] + }, + "class_type": "CLIPTextEncode", + "_meta": { + "title": "CLIP Text Encode (Negative Prompt)" + } + }, + "295": { + "inputs": { + "text": [ + "292", + 0 + ], + "clip": [ + "290", + 0 + ] + }, + "class_type": "CLIPTextEncode", + "_meta": { + "title": "CLIP Text Encode (Positive Prompt)" + } + }, + "296": { + "inputs": { + "state": false, + "display_name": "Fast run", + "optional": true, + "advanced": true, + "order": 98, + "custom_id": "fast_run", + "input_off_state": [ + "116", + 0 + ], + "input_on_state": [ + "275", + 0 + ] + }, + "class_type": "VixUiCheckboxLogic", + "_meta": { + "title": "VixUI-CheckboxLogic" + } + }, + "297": { + "inputs": { + "value": 5, + "display_name": "Prompt strength", + "optional": true, + "advanced": true, + "min": 3.5, + "max": 7, + "step": 0.1, + "order": 99, + "custom_id": "prompt_strength" + }, + "class_type": "VixUiRangeFloat", + "_meta": { + "title": "VixUI-RangeFloat" + } + } +} \ No newline at end of file From bc7ed19d8857f3f287a524505a966a4b5d676249 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 26 Jun 2024 00:33:37 +0000 Subject: [PATCH 22/27] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- flows/mobius_xl.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flows/mobius_xl.json b/flows/mobius_xl.json index 7b9b6dd..5ea5484 100644 --- a/flows/mobius_xl.json +++ b/flows/mobius_xl.json @@ -293,4 +293,4 @@ "title": "VixUI-RangeFloat" } } -} \ No newline at end of file +} From 0dd223f08688461424464599c3f9c5c6c57712b5 Mon Sep 17 00:00:00 2001 From: Andrey Borysenko Date: Wed, 26 Jun 2024 21:31:00 +0300 Subject: [PATCH 23/27] ported `playground_2_5_aesthetic` workflow Signed-off-by: Andrey Borysenko --- flows/playground_2_5_aesthetic.json | 606 ++++++++++++++++++++++++++++ 1 file changed, 606 insertions(+) create mode 100644 flows/playground_2_5_aesthetic.json diff --git a/flows/playground_2_5_aesthetic.json b/flows/playground_2_5_aesthetic.json new file mode 100644 index 0000000..e6553db --- /dev/null +++ b/flows/playground_2_5_aesthetic.json @@ -0,0 +1,606 @@ +{ + "43": { + "inputs": { + "text": "detailed face", + "clip": [ + "235", + 1 + ] + }, + "class_type": "CLIPTextEncode", + "_meta": { + "title": "CLIP Text Encode (Prompt)" + } + }, + "58": { + "inputs": { + "sharpen_radius": 1, + "sigma": 0.3, + "alpha": 0.1, + "image": [ + "126", + 0 + ] + }, + "class_type": "ImageSharpen", + "_meta": { + "title": "ImageSharpen" + } + }, + "96": { + "inputs": { + "bbox_threshold": 0.5, + "bbox_dilation": 0, + "crop_factor": 3, + "drop_size": 50, + "sub_threshold": 0.5, + "sub_dilation": 0, + "sub_bbox_expansion": 0, + "sam_mask_hint_threshold": 0.7000000000000001, + "post_dilation": 0, + "bbox_detector": [ + "221", + 0 + ], + "image": [ + "257", + 0 + ], + "sam_model_opt": [ + "222", + 0 + ] + }, + "class_type": "ImpactSimpleDetectorSEGS", + "_meta": { + "title": "Simple Detector (SEGS)" + } + }, + "103": { + "inputs": { + "target": "x1", + "order": false, + "take_start": 0, + "take_count": 1, + "segs": [ + "96", + 0 + ] + }, + "class_type": "ImpactSEGSOrderedFilter", + "_meta": { + "title": "SEGS Filter (ordered)" + } + }, + "106": { + "inputs": { + "guide_size": 512, + "guide_size_for": true, + "max_size": 1024, + "seed": 767016419755284, + "steps": 20, + "cfg": 3.5, + "sampler_name": "dpmpp_2m", + "scheduler": "karras", + "denoise": 0.35000000000000003, + "feather": 5, + "noise_mask": true, + "force_inpaint": true, + "wildcard": "", + "cycle": 1, + "inpaint_model": false, + "noise_mask_feather": 0, + "image": [ + "257", + 0 + ], + "segs": [ + "103", + 0 + ], + "model": [ + "235", + 0 + ], + "clip": [ + "235", + 1 + ], + "vae": [ + "235", + 2 + ], + "positive": [ + "43", + 0 + ], + "negative": [ + "236", + 0 + ] + }, + "class_type": "DetailerForEach", + "_meta": { + "title": "Detailer (SEGS)" + } + }, + "118": { + "inputs": { + "target": "x1", + "order": false, + "take_start": 1, + "take_count": 1, + "segs": [ + "96", + 0 + ] + }, + "class_type": "ImpactSEGSOrderedFilter", + "_meta": { + "title": "SEGS Filter (ordered)" + } + }, + "119": { + "inputs": { + "guide_size": 512, + "guide_size_for": true, + "max_size": 1024, + "seed": 228245828688511, + "steps": 20, + "cfg": 3.5, + "sampler_name": "dpmpp_2m", + "scheduler": "karras", + "denoise": 0.35000000000000003, + "feather": 5, + "noise_mask": true, + "force_inpaint": true, + "wildcard": "", + "cycle": 1, + "inpaint_model": false, + "noise_mask_feather": 0, + "image": [ + "106", + 0 + ], + "segs": [ + "118", + 0 + ], + "model": [ + "235", + 0 + ], + "clip": [ + "235", + 1 + ], + "vae": [ + "235", + 2 + ], + "positive": [ + "43", + 0 + ], + "negative": [ + "236", + 0 + ] + }, + "class_type": "DetailerForEach", + "_meta": { + "title": "Detailer (SEGS)" + } + }, + "125": { + "inputs": { + "target": "x1", + "order": false, + "take_start": 2, + "take_count": 1, + "segs": [ + "96", + 0 + ] + }, + "class_type": "ImpactSEGSOrderedFilter", + "_meta": { + "title": "SEGS Filter (ordered)" + } + }, + "126": { + "inputs": { + "guide_size": 512, + "guide_size_for": true, + "max_size": 1024, + "seed": 277343974126122, + "steps": 20, + "cfg": 3.5, + "sampler_name": "dpmpp_2m", + "scheduler": "karras", + "denoise": 0.35000000000000003, + "feather": 5, + "noise_mask": true, + "force_inpaint": true, + "wildcard": "", + "cycle": 1, + "inpaint_model": false, + "noise_mask_feather": 0, + "image": [ + "119", + 0 + ], + "segs": [ + "125", + 0 + ], + "model": [ + "235", + 0 + ], + "clip": [ + "235", + 1 + ], + "vae": [ + "235", + 2 + ], + "positive": [ + "43", + 0 + ], + "negative": [ + "236", + 0 + ] + }, + "class_type": "DetailerForEach", + "_meta": { + "title": "Detailer (SEGS)" + } + }, + "138": { + "inputs": { + "filename_prefix": "ComfyUI", + "images": [ + "58", + 0 + ] + }, + "class_type": "SaveImage", + "_meta": { + "title": "Save Image" + } + }, + "221": { + "inputs": { + "model_name": "bbox/face_yolov8m.pt" + }, + "class_type": "UltralyticsDetectorProvider", + "_meta": { + "title": "UltralyticsDetectorProvider" + } + }, + "222": { + "inputs": { + "model_name": "sam_vit_b_01ec64.pth", + "device_mode": "AUTO" + }, + "class_type": "SAMLoader", + "_meta": { + "title": "SAMLoader (Impact)" + } + }, + "226": { + "inputs": { + "ckpt_name": "playground-v2.5-1024px-aesthetic.fp16.safetensors" + }, + "class_type": "CheckpointLoaderSimple", + "_meta": { + "title": "Load Checkpoint" + } + }, + "229": { + "inputs": { + "text": [ + "251", + 0 + ], + "clip": [ + "226", + 1 + ] + }, + "class_type": "CLIPTextEncode", + "_meta": { + "title": "CLIP Text Encode (Prompt)" + } + }, + "230": { + "inputs": { + "text": [ + "254", + 0 + ], + "clip": [ + "226", + 1 + ] + }, + "class_type": "CLIPTextEncode", + "_meta": { + "title": "CLIP Text Encode (Prompt)" + } + }, + "232": { + "inputs": { + "sampling": "edm_playground_v2.5", + "sigma_max": 120, + "sigma_min": 0.002, + "model": [ + "226", + 0 + ] + }, + "class_type": "ModelSamplingContinuousEDM", + "_meta": { + "title": "ModelSamplingContinuousEDM" + } + }, + "235": { + "inputs": { + "ckpt_name": "epicrealism_naturalSinRC1VAE.safetensors" + }, + "class_type": "CheckpointLoaderSimple", + "_meta": { + "title": "Load Checkpoint" + } + }, + "236": { + "inputs": { + "text": "ugly", + "clip": [ + "235", + 1 + ] + }, + "class_type": "CLIPTextEncode", + "_meta": { + "title": "CLIP Text Encode (Prompt)" + } + }, + "238": { + "inputs": { + "seed": 5, + "steps": 50, + "cfg": [ + "256", + 0 + ], + "sampler_name": "euler", + "scheduler": "normal", + "denoise": 1, + "model": [ + "232", + 0 + ], + "positive": [ + "229", + 0 + ], + "negative": [ + "230", + 0 + ], + "latent_image": [ + "246", + 0 + ] + }, + "class_type": "KSampler", + "_meta": { + "title": "KSampler" + } + }, + "240": { + "inputs": { + "samples": [ + "238", + 0 + ], + "vae": [ + "226", + 2 + ] + }, + "class_type": "VAEDecode", + "_meta": { + "title": "VAE Decode" + } + }, + "246": { + "inputs": { + "width": [ + "281", + 1 + ], + "height": [ + "281", + 2 + ], + "batch_size": 1 + }, + "class_type": "EmptyLatentImage", + "_meta": { + "title": "Empty Latent Image" + } + }, + "247": { + "inputs": { + "model_type": "SDXL", + "steps": 20, + "denoise": 1 + }, + "class_type": "AlignYourStepsScheduler", + "_meta": { + "title": "AlignYourStepsScheduler" + } + }, + "248": { + "inputs": { + "sampler_name": "dpmpp_2m" + }, + "class_type": "KSamplerSelect", + "_meta": { + "title": "KSamplerSelect" + } + }, + "249": { + "inputs": { + "add_noise": true, + "noise_seed": 5, + "cfg": [ + "256", + 0 + ], + "model": [ + "232", + 0 + ], + "positive": [ + "229", + 0 + ], + "negative": [ + "230", + 0 + ], + "sampler": [ + "248", + 0 + ], + "sigmas": [ + "247", + 0 + ], + "latent_image": [ + "246", + 0 + ] + }, + "class_type": "SamplerCustom", + "_meta": { + "title": "SamplerCustom" + } + }, + "250": { + "inputs": { + "name": "playground_2_5_aesthetic", + "display_name": "Aesthetic images", + "description": "Generate images with built-in Face Detailer", + "author": "Dennis Schöneberg", + "homepage": "https://www.linkedin.com/in/dennis-sch%C3%B6neberg-3420a2221", + "documentation": "https://visionatrix.github.io/VixFlowsDocs/Flows/Playground_2_5_aesthetic.html", + "license": "", + "tags": "[\"general\"]", + "version": "1.0.0" + }, + "class_type": "VixUiWorkflowMetadata", + "_meta": { + "title": "VixUI-WorkflowMetadata" + } + }, + "251": { + "inputs": { + "text": "", + "display_name": "Prompt", + "optional": false, + "advanced": false, + "order": 1, + "custom_id": "prompt" + }, + "class_type": "VixUiPrompt", + "_meta": { + "title": "VixUI-Prompt" + } + }, + "254": { + "inputs": { + "text": "", + "display_name": "Negative Prompt", + "optional": true, + "advanced": true, + "order": 15, + "custom_id": "negative_prompt" + }, + "class_type": "VixUiPrompt", + "_meta": { + "title": "VixUI-Prompt" + } + }, + "256": { + "inputs": { + "value": 3, + "display_name": "Prompt strength", + "optional": true, + "advanced": true, + "min": 3, + "max": 5, + "step": 0.1, + "order": 99, + "custom_id": "prompt_strength" + }, + "class_type": "VixUiRangeFloat", + "_meta": { + "title": "VixUI-RangeFloat" + } + }, + "257": { + "inputs": { + "state": false, + "display_name": "Fast run", + "optional": true, + "advanced": true, + "order": 98, + "custom_id": "fast_run", + "input_off_state": [ + "240", + 0 + ], + "input_on_state": [ + "282", + 0 + ] + }, + "class_type": "VixUiCheckboxLogic", + "_meta": { + "title": "VixUI-CheckboxLogic" + } + }, + "281": { + "inputs": { + "aspect_ratio": "3:2" + }, + "class_type": "SDXLAspectRatioSelector", + "_meta": { + "title": "input;Aspect Ratio;optional;advanced;custom_id=aspect_ratio" + } + }, + "282": { + "inputs": { + "samples": [ + "249", + 0 + ], + "vae": [ + "226", + 2 + ] + }, + "class_type": "VAEDecode", + "_meta": { + "title": "VAE Decode" + } + } +} From 9c71a54ed68212b0a6eb7e7ac4d9402ed1c628a2 Mon Sep 17 00:00:00 2001 From: Andrey Borysenko Date: Wed, 26 Jun 2024 21:32:18 +0300 Subject: [PATCH 24/27] ported `juggernaut_lite` workflow Signed-off-by: Andrey Borysenko --- flows/juggernaut_lite.json | 335 +++++++++++++++++++++++++++++++++++++ 1 file changed, 335 insertions(+) create mode 100644 flows/juggernaut_lite.json diff --git a/flows/juggernaut_lite.json b/flows/juggernaut_lite.json new file mode 100644 index 0000000..43af047 --- /dev/null +++ b/flows/juggernaut_lite.json @@ -0,0 +1,335 @@ +{ + "2": { + "inputs": { + "ckpt_name": "juggernautXL_v8Rundiffusion.safetensors" + }, + "class_type": "CheckpointLoaderSimple", + "_meta": { + "title": "Load Checkpoint" + } + }, + "3": { + "inputs": { + "lora_name": "sdxl_lightning_8step_lora.safetensors", + "strength_model": 0.5, + "model": [ + "254", + 0 + ] + }, + "class_type": "LoraLoaderModelOnly", + "_meta": { + "title": "LoraLoaderModelOnly" + } + }, + "7": { + "inputs": { + "lora_name": "sdxl_lightning_8step_lora.safetensors", + "strength_model": 0.5, + "strength_clip": 1, + "model": [ + "3", + 0 + ], + "clip": [ + "254", + 1 + ] + }, + "class_type": "LoraLoader", + "_meta": { + "title": "Load LoRA" + } + }, + "13": { + "inputs": { + "vae_name": "sdxl_vae.safetensors" + }, + "class_type": "VAELoader", + "_meta": { + "title": "Load VAE" + } + }, + "27": { + "inputs": { + "seed": 408511007742928, + "steps": 8, + "cfg": 1, + "sampler_name": "dpmpp_sde", + "scheduler": "sgm_uniform", + "denoise": 1, + "model": [ + "7", + 0 + ], + "positive": [ + "243", + 0 + ], + "negative": [ + "242", + 0 + ], + "latent_image": [ + "244", + 0 + ] + }, + "class_type": "KSampler", + "_meta": { + "title": "KSampler" + } + }, + "116": { + "inputs": { + "samples": [ + "27", + 0 + ], + "vae": [ + "13", + 0 + ] + }, + "class_type": "VAEDecode", + "_meta": { + "title": "VAE Decode" + } + }, + "242": { + "inputs": { + "text": [ + "269", + 0 + ], + "clip": [ + "7", + 1 + ] + }, + "class_type": "CLIPTextEncode", + "_meta": { + "title": "CLIP Text Encode (Prompt)" + } + }, + "243": { + "inputs": { + "text": [ + "268", + 0 + ], + "clip": [ + "7", + 1 + ] + }, + "class_type": "CLIPTextEncode", + "_meta": { + "title": "CLIP Text Encode (Prompt)" + } + }, + "244": { + "inputs": { + "width": [ + "270", + 1 + ], + "height": [ + "270", + 2 + ], + "batch_size": 1 + }, + "class_type": "EmptyLatentImage", + "_meta": { + "title": "Empty Latent Image" + } + }, + "254": { + "inputs": { + "lora_name": "add-detail-xl.safetensors", + "strength_model": 0.5, + "strength_clip": 1, + "model": [ + "2", + 0 + ], + "clip": [ + "2", + 1 + ] + }, + "class_type": "LoraLoader", + "_meta": { + "title": "Load LoRA" + } + }, + "259": { + "inputs": { + "model_name": "4x-UltraSharp.pth" + }, + "class_type": "UpscaleModelLoader", + "_meta": { + "title": "Load Upscale Model" + } + }, + "260": { + "inputs": { + "upscale_model": [ + "259", + 0 + ], + "image": [ + "116", + 0 + ] + }, + "class_type": "ImageUpscaleWithModel", + "_meta": { + "title": "Upscale Image (using Model)" + } + }, + "261": { + "inputs": { + "upscale_method": "bicubic", + "scale_by": 0.25, + "image": [ + "260", + 0 + ] + }, + "class_type": "ImageScaleBy", + "_meta": { + "title": "Upscale Image By" + } + }, + "262": { + "inputs": { + "pixels": [ + "261", + 0 + ], + "vae": [ + "13", + 0 + ] + }, + "class_type": "VAEEncode", + "_meta": { + "title": "VAE Encode" + } + }, + "263": { + "inputs": { + "seed": 646745642644354, + "steps": 10, + "cfg": 5, + "sampler_name": "dpmpp_2m", + "scheduler": "exponential", + "denoise": 0.3, + "model": [ + "254", + 0 + ], + "positive": [ + "243", + 0 + ], + "negative": [ + "242", + 0 + ], + "latent_image": [ + "262", + 0 + ] + }, + "class_type": "KSampler", + "_meta": { + "title": "KSampler" + } + }, + "264": { + "inputs": { + "samples": [ + "263", + 0 + ], + "vae": [ + "13", + 0 + ] + }, + "class_type": "VAEDecode", + "_meta": { + "title": "VAE Decode" + } + }, + "266": { + "inputs": { + "filename_prefix": "ComfyUI", + "images": [ + "264", + 0 + ] + }, + "class_type": "SaveImage", + "_meta": { + "title": "Save Image" + } + }, + "267": { + "inputs": { + "name": "juggernaut_lite", + "display_name": "Juggernaut Lite", + "description": "Juggernaut + LoRAs with post processing", + "author": "Valomar", + "homepage": "https://comfyworkflows.com/profile/86edf4d7-d110-498d-b4e0-4cacadee750e", + "documentation": "https://visionatrix.github.io/VixFlowsDocs/Flows/Juggernaut_Lite.html", + "license": "", + "tags": "[\"general\"]", + "version": "1.0.0" + }, + "class_type": "VixUiWorkflowMetadata", + "_meta": { + "title": "VixUI-WorkflowMetadata" + } + }, + "268": { + "inputs": { + "text": "", + "display_name": "Prompt", + "optional": false, + "advanced": false, + "order": 1, + "custom_id": "prompt" + }, + "class_type": "VixUiPrompt", + "_meta": { + "title": "VixUI-Prompt" + } + }, + "269": { + "inputs": { + "text": "asian, child, penis, embedding:ng_deepnegative_v1_75t, embedding:negative_hand-neg, (worst quality, low quality:2), lowres, bad anatomy, normal quality, monochrome, grayscale, ((signature, text, watermark))", + "display_name": "Negative Prompt", + "optional": true, + "advanced": true, + "order": 15, + "custom_id": "negative_prompt" + }, + "class_type": "VixUiPrompt", + "_meta": { + "title": "VixUI-Prompt" + } + }, + "270": { + "inputs": { + "aspect_ratio": "2:3" + }, + "class_type": "SDXLAspectRatioSelector", + "_meta": { + "title": "input;Aspect Ratio;optional;advanced;custom_id=aspect_ratio" + } + } +} From d4529c65cb242d0b0dc79c35d5409a7e85a096e5 Mon Sep 17 00:00:00 2001 From: Andrey Borysenko Date: Wed, 26 Jun 2024 21:33:30 +0300 Subject: [PATCH 25/27] ported `juggernaut_xl` workflow Signed-off-by: Andrey Borysenko --- flows/juggernaut_xl.json | 317 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 317 insertions(+) create mode 100644 flows/juggernaut_xl.json diff --git a/flows/juggernaut_xl.json b/flows/juggernaut_xl.json new file mode 100644 index 0000000..d60eff3 --- /dev/null +++ b/flows/juggernaut_xl.json @@ -0,0 +1,317 @@ +{ + "2": { + "inputs": { + "ckpt_name": "Juggernaut-X-RunDiffusion-NSFW.safetensors" + }, + "class_type": "CheckpointLoaderSimple", + "_meta": { + "title": "Load Checkpoint" + } + }, + "13": { + "inputs": { + "vae_name": "sdxl_vae.safetensors" + }, + "class_type": "VAELoader", + "_meta": { + "title": "Load VAE" + } + }, + "27": { + "inputs": { + "seed": 376336750880278, + "steps": 50, + "cfg": [ + "280", + 0 + ], + "sampler_name": "euler", + "scheduler": "karras", + "denoise": 1, + "model": [ + "254", + 0 + ], + "positive": [ + "243", + 0 + ], + "negative": [ + "242", + 0 + ], + "latent_image": [ + "244", + 0 + ] + }, + "class_type": "KSampler", + "_meta": { + "title": "KSampler" + } + }, + "116": { + "inputs": { + "samples": [ + "27", + 0 + ], + "vae": [ + "13", + 0 + ] + }, + "class_type": "VAEDecode", + "_meta": { + "title": "VAE Decode" + } + }, + "242": { + "inputs": { + "text": [ + "278", + 0 + ], + "clip": [ + "254", + 1 + ] + }, + "class_type": "CLIPTextEncode", + "_meta": { + "title": "CLIP Text Encode (Prompt)" + } + }, + "243": { + "inputs": { + "text": [ + "277", + 0 + ], + "clip": [ + "254", + 1 + ] + }, + "class_type": "CLIPTextEncode", + "_meta": { + "title": "CLIP Text Encode (Prompt)" + } + }, + "244": { + "inputs": { + "width": [ + "279", + 1 + ], + "height": [ + "279", + 2 + ], + "batch_size": 1 + }, + "class_type": "EmptyLatentImage", + "_meta": { + "title": "Empty Latent Image" + } + }, + "254": { + "inputs": { + "lora_name": "add-detail-xl.safetensors", + "strength_model": 0.5, + "strength_clip": 1, + "model": [ + "2", + 0 + ], + "clip": [ + "2", + 1 + ] + }, + "class_type": "LoraLoader", + "_meta": { + "title": "Load LoRA" + } + }, + "267": { + "inputs": { + "filename_prefix": "ComfyUI", + "images": [ + "281", + 0 + ] + }, + "class_type": "SaveImage", + "_meta": { + "title": "Save Image" + } + }, + "268": { + "inputs": { + "add_noise": true, + "noise_seed": 618748884544708, + "cfg": [ + "280", + 0 + ], + "model": [ + "254", + 0 + ], + "positive": [ + "243", + 0 + ], + "negative": [ + "242", + 0 + ], + "sampler": [ + "273", + 0 + ], + "sigmas": [ + "270", + 0 + ], + "latent_image": [ + "244", + 0 + ] + }, + "class_type": "SamplerCustom", + "_meta": { + "title": "SamplerCustom" + } + }, + "270": { + "inputs": { + "model_type": "SDXL", + "steps": 20, + "denoise": 1 + }, + "class_type": "AlignYourStepsScheduler", + "_meta": { + "title": "AlignYourStepsScheduler" + } + }, + "273": { + "inputs": { + "sampler_name": "dpmpp_2m" + }, + "class_type": "KSamplerSelect", + "_meta": { + "title": "KSamplerSelect" + } + }, + "275": { + "inputs": { + "samples": [ + "268", + 0 + ], + "vae": [ + "13", + 0 + ] + }, + "class_type": "VAEDecode", + "_meta": { + "title": "VAE Decode" + } + }, + "276": { + "inputs": { + "name": "juggernaut_xl", + "display_name": "Juggernaut XL", + "description": "Juggernaut XL Community Version (NSFW)", + "author": "bigcat88", + "homepage": "https://github.com/bigcat88", + "documentation": "https://visionatrix.github.io/VixFlowsDocs/Flows/Juggernaut_XL.html", + "license": "", + "tags": "[\"general\"]", + "version": "1.0.0" + }, + "class_type": "VixUiWorkflowMetadata", + "_meta": { + "title": "VixUI-WorkflowMetadata" + } + }, + "277": { + "inputs": { + "text": "", + "display_name": "Prompt", + "optional": false, + "advanced": false, + "order": 1, + "custom_id": "prompt" + }, + "class_type": "VixUiPrompt", + "_meta": { + "title": "VixUI-Prompt" + } + }, + "278": { + "inputs": { + "text": "embedding:ng_deepnegative_v1_75t, embedding:negative_hand-neg, (worst quality, low quality:2), lowres, bad anatomy, normal quality, monochrome, grayscale, ((signature, text, watermark))", + "display_name": "Negative Prompt", + "optional": true, + "advanced": true, + "order": 15, + "custom_id": "negative_prompt" + }, + "class_type": "VixUiPrompt", + "_meta": { + "title": "VixUI-Prompt" + } + }, + "279": { + "inputs": { + "aspect_ratio": "2:3" + }, + "class_type": "SDXLAspectRatioSelector", + "_meta": { + "title": "input;Aspect Ratio;optional;advanced;custom_id=aspect_ratio" + } + }, + "280": { + "inputs": { + "value": 4, + "display_name": "Prompt strength", + "optional": true, + "advanced": true, + "min": 4, + "max": 7, + "step": 0.1, + "order": 98, + "custom_id": "prompt_strength" + }, + "class_type": "VixUiRangeFloat", + "_meta": { + "title": "VixUI-RangeFloat" + } + }, + "281": { + "inputs": { + "state": false, + "display_name": "Fast run", + "optional": true, + "advanced": true, + "order": 98, + "custom_id": "fast_run", + "input_off_state": [ + "116", + 0 + ], + "input_on_state": [ + "275", + 0 + ] + }, + "class_type": "VixUiCheckboxLogic", + "_meta": { + "title": "VixUI-CheckboxLogic" + } + } +} From 17d7a0f6ca11b3f7c8a1e3d0ba36045dcae6dc4e Mon Sep 17 00:00:00 2001 From: Andrey Borysenko Date: Fri, 28 Jun 2024 18:41:24 +0300 Subject: [PATCH 26/27] update docs, add ComfyUI2Visionatrix migration guide Signed-off-by: Andrey Borysenko --- docs/ComfyUI2VixMigration.rst | 105 ++++++++++++++++++++++++++++++++++ docs/TechnicalInformation.rst | 1 + docs/VixWorkflows.rst | 77 +++++-------------------- docs/index.rst | 1 + 4 files changed, 121 insertions(+), 63 deletions(-) create mode 100644 docs/ComfyUI2VixMigration.rst diff --git a/docs/ComfyUI2VixMigration.rst b/docs/ComfyUI2VixMigration.rst new file mode 100644 index 0000000..7fd60c9 --- /dev/null +++ b/docs/ComfyUI2VixMigration.rst @@ -0,0 +1,105 @@ +ComfyUI to Visionatrix migration +================================ + +If you want to adopt your ComfyUI workflow to use in Visionatrix, +you can use this guide to help you do so. There are a few steps you need to follow. + + +1. Install ComfyUI-Visionatrix custom nodes +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +First, it is recommended to install our custom `ComfyUI-Visionatrix `_ nodes. +Otherwise you will have to use custom nodes titles which are will be parsed by Visionatrix. + +.. code-block:: bash + + git clone https://github.com/Visionatrix/ComfyUI-Visionatrix.git + +.. note:: + + You can do the required migration via nodes titles, which is less convenient. + The node title must be like this: ``input;Display Name;optional;advanced;order=1;custom_id=custom_name``. + + +2. Define the input params +^^^^^^^^^^^^^^^^^^^^^^^^^^ + +Visionatrix UI aims simplicity and clarity. +Define the most important input params of your ComfyUI workflow to extract +them to the Visionatrix UI as inputs, for example: + +- prompt (textarea) +- negative prompt (textarea) +- prompt strength (range) +- some logic toggles (checkbox) +- input files (file) + +For that you will need to attach our custom nodes as adapters to your nodes receiving these inputs +that are will be filled by the user from the Visionatrix UI. + +As example, you can have a look at our `list of worklows `_ adopted to the new format. + +.. note:: + + The list of available nodes can be found in the readme of the `ComfyUI-Visionatrix `_ repository. + + +2.1 Node to Input mapping via title string +****************************************** + +Alternatively, Visionatrix supports other Nodes mapping as an input param +via node title string separated by semicolon. + + The nodes titles starting with ``input;`` keyword are considered as + Visionatrix input param. + +The parameters list: + +- ``input`` - keyword to define the input param +- ``Display Name`` - positional parameter, the name of the input field displayed in the UI +- ``optional`` - if present, the optional field is set to True +- ``advanced`` - if present, the advanced field is set to True +- ``order=1`` - the order of the input param in the UI +- ``custom_id=custom_name`` - the custom id of the input param + +.. note:: + + ``order`` is important if workflow accepts more than 1 file. + + +2.2 External nodes used via Node to Input mapping +************************************************* + +In our workflows, we use some external nodes mapped as input params, that you can use as example: + +- ``SDXLAspectRatioSelector`` - select input field used from `comfyui-art-venture `_ for Aspect Ratio select. Usually it's an optional and hidden to the advanced prompt options: ``input;Aspect Ratio;optional;advanced;custom_id=aspect_ratio``; +- ``LoadImage`` - default ComfyUI image loader node as image file input field. As required title: ``input;Input image;order=1``, or optional advanced: ``input;Optional helper image;optional;advanced;order=20``; + + +3. Map the models for automatic download +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +Visionatrix simiplifies and automates the process of downloading the models. +As the third step of the migration, you need to map the models that are used in your workflow (see :ref:`models-mapping`). + + +4. Build the list of available flows +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +The last step is to build the list of available flows in the Visionatrix UI. +Follow the steps described in `options.py `_ file +for ``FLOWS_URL`` and ``MODELS_CATALOG_URL`` to enable Visionatrix local workflows development mode: + +Create a zip with adjusted/new flows: + +.. code-block:: bash + + cd ../VixFlowsDocs && zip -r ../Visionatrix/flows.zip flows && cd ../Visionatrix + +And uncomment appropriate code lines in `options.py `_ file to use local versions of the flows. + + +5. Verify and test the workflow +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +Last step is to run Visionatrix and setup your workflow to verify that everything works as expected. diff --git a/docs/TechnicalInformation.rst b/docs/TechnicalInformation.rst index e369268..7f85fc8 100644 --- a/docs/TechnicalInformation.rst +++ b/docs/TechnicalInformation.rst @@ -20,6 +20,7 @@ Visionatrix by default install and update these nodes: * `ComfyUI-AutomaticCFG `_ * `comfyui-art-venture `_ * `was-node-suite-comfyui `_ + * `ComfyUI-Visionatrix `_ We are gradually expanding the list. diff --git a/docs/VixWorkflows.rst b/docs/VixWorkflows.rst index 482d937..2395a10 100644 --- a/docs/VixWorkflows.rst +++ b/docs/VixWorkflows.rst @@ -13,6 +13,9 @@ Currently, there are two main issues with using ComfyUI flows for the general pu 1. It's unclear where to get the model from and how to deploy/install it – a **deployment/installation issue** 2. Without some experience, it's unclear how to just provide inputs to simple get results - a **usability issue** + +.. _models-mapping: + Automatic models mapping """""""""""""""""""""""" @@ -86,68 +89,14 @@ The SHA256 hash of the model. Used to verify the integrity of the model and chec Vix workflow overview """"""""""""""""""""" -Visionatrix workflows consist of two files: ``flow.json`` and ``flow_comfy.json`` - -The main purpose of a Vix Flow is to specify how to map incoming parameters to the ComfyUI workflow for the creation endpoint of a ComfyUI task. +Starting from the Visionatrix 0.6.0, the workflow consists of a single file: ``flow_name.json``, +which is a ComfyUI workflow file adopted to Visionatrix. .. note:: The main difference between Visionatrix and ComfyUI: A task is created with a single request, which includes both incoming text parameters and input files. -Consider the example of the VintagePortrait Vix flow: - -.. code-block:: json - - { - "name": "vintage_portrait", - "display_name": "Vintage Portrait", - "description": "Portrait photos in Vintage styles", - "author": "bigcat88", - "homepage": "https://github.com/bigcat88", - "license": "", - "documentation": "https://visionatrix.github.io/VixFlowsDocs/Flows/VintagePortrait.html", - "input_params": [ - { - "name": "image", - "display_name": "Person's face", - "type": "image", - "optional": false, - "comfy_node_id": { - "37": { - "dest_field_name": ["inputs", "image"] - } - } - }, - { - "name": "prompt", - "display_name": "Prompt", - "type": "text", - "optional": false, - "advanced": false, - "comfy_node_id": { - "29": { - "dest_field_name": ["inputs", "positive"] - } - } - }, - { - "name": "pose", - "display_name": "Person's face pose", - "type": "image", - "optional": true, - "advanced": true, - "comfy_node_id": { - "44": { - "dest_field_name": ["inputs", "image"], - "node_connect": { - "node_id": "33", - "dest_field_name": ["inputs", "image_kps"] - } - } - } - } - ] - } +The flow metadata fields described below are filled in the `VixUi-WorkflowMetadata` node. "name" '''''' @@ -184,12 +133,16 @@ The general license under which the flow can be used (to simplify understanding Link to additional information about the flow. +"tags" +'''''' + +A list of string tags that can be used to label the categories of the flow. + "input_params" '''''''''''''' -The most important part. Based on the information from this field, the Visionatrix UI dynamically displays the interface. - -The backend part fills in the ComfyUI workflow based on these data. +Starting with Visionatrix 0.6.0, the input params are parsed automatically from the adopted ComfyUI workflow. +Based on the information from this field, the Visionatrix UI dynamically displays the interface. Technically, this is a list of objects, where each object is one input parameter, which includes: @@ -238,6 +191,4 @@ Create task based on Flow * input_params - input parameters with "type" == "text" * files - list of input files (files should be in the order they are defined in the Vix Flow) -When this endpoint is called, a task will be created and queued for execution. - -*To be continued...* +When this endpoint is called, a task will be created and queued for execution by one of available workers. diff --git a/docs/index.rst b/docs/index.rst index e35f973..54012f6 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -12,6 +12,7 @@ Here will leave all docs that is not suitable for Readme file. WorkingModes.rst GatedModels.rst VixWorkflows.rst + ComfyUI2VixMigration.rst TechnicalInformation.rst Indices and tables From 02757788ffe21a3005fd3e548840bfbbb815eb55 Mon Sep 17 00:00:00 2001 From: Andrey Borysenko Date: Fri, 28 Jun 2024 18:47:29 +0300 Subject: [PATCH 27/27] fix docs ci Signed-off-by: Andrey Borysenko --- docs/ComfyUI2VixMigration.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/ComfyUI2VixMigration.rst b/docs/ComfyUI2VixMigration.rst index 7fd60c9..bc2a0d1 100644 --- a/docs/ComfyUI2VixMigration.rst +++ b/docs/ComfyUI2VixMigration.rst @@ -96,7 +96,7 @@ Create a zip with adjusted/new flows: cd ../VixFlowsDocs && zip -r ../Visionatrix/flows.zip flows && cd ../Visionatrix -And uncomment appropriate code lines in `options.py `_ file to use local versions of the flows. +And uncomment appropriate code lines in `options.py file `_ to use local versions of the flows. 5. Verify and test the workflow