diff --git a/Components/cog_img2video/api.json b/Components/cog_img2video/api.json index 7063a40..82e49b6 100644 --- a/Components/cog_img2video/api.json +++ b/Components/cog_img2video/api.json @@ -1,7 +1,7 @@ { "name": "cog_img2video", "description": "Image to Video", - "server_id": "", + "server_id": "29eb91e6-3b8a-41c6-ae35-e8aa6212ff14", "inputs": { "60": { "seed": { diff --git a/Components/cog_img2video/form.json b/Components/cog_img2video/form.json index eb6ee76..ac54dcc 100644 --- a/Components/cog_img2video/form.json +++ b/Components/cog_img2video/form.json @@ -14,7 +14,7 @@ { "name": "Prompt", "id": "prompt", - "type": "string", + "type": "prompt_editor", "display": true }, { diff --git a/Components/flux_img2img/form.json b/Components/flux_img2img/form.json index 0c99c3c..9efb411 100644 --- a/Components/flux_img2img/form.json +++ b/Components/flux_img2img/form.json @@ -6,7 +6,7 @@ { "name": "Prompt", "id": "prompt", - "type": "textarea", + "type": "prompt_editor", "display": true }, { diff --git a/Components/flux_txt2img/form.json b/Components/flux_txt2img/form.json index be83d8f..ec10555 100644 --- a/Components/flux_txt2img/form.json +++ b/Components/flux_txt2img/form.json @@ -6,7 +6,7 @@ { "name": "Prompt", "id": "prompt", - "type": "textarea", + "type": "prompt_editor", "display": true }, { diff --git a/Components/img2img/form.json b/Components/img2img/form.json index 0a11f15..db011ed 100644 --- a/Components/img2img/form.json +++ b/Components/img2img/form.json @@ -28,13 +28,13 @@ { "name": "Prompt", "id": "prompt", - "type": "textarea", + "type": "prompt_editor", "display": true }, { "name": "Negative Prompt", "id": "negative_prompt", - "type": "textarea", + "type": "prompt_editor", "display": true }, { diff --git a/Components/txt2img/api.json b/Components/txt2img/api.json index 9109d97..ba19b2d 100644 --- a/Components/txt2img/api.json +++ b/Components/txt2img/api.json @@ -1,7 +1,7 @@ { "name": "sd_txt2img", "description": "Generates an image from a prompt with SD models", - "server_id": "", + "server_id": "d10aa75d-e69f-497f-8eaf-088c83434eeb", "inputs": { "4": { "ckpt_name": { @@ -64,59 +64,79 @@ } }, "workflow": { + "1": { + "inputs": { + "image": "MJGalleryuntitled-479aa5e3-9146-4b62-9d8e-687838ee5740-479aa5e3-9146-4b62-9d8e-687838ee5740-standard-scale-2_00x 1 copy.png", + "upload": "image" + }, + "class_type": "LoadImage", + "_meta": { + "title": "Load Image" + } + }, + "2": { + "inputs": { + "ckpt_name": "juggernaut_reborn.safetensors" + }, + "class_type": "CheckpointLoaderSimple", + "_meta": { + "title": "Load Checkpoint" + } + }, "3": { "inputs": { - "seed": 809936035823762, - "steps": 20, - "cfg": 1, - "sampler_name": "dpmpp_2m", - "scheduler": "karras", - "denoise": 1, + "lora_name": "more_details.safetensors", + "strength_model": 0.25, + "strength_clip": 0.25, "model": [ - "4", - 0 - ], - "positive": [ - "6", + "2", 0 ], - "negative": [ - "7", - 0 - ], - "latent_image": [ - "5", - 0 + "clip": [ + "2", + 1 ] }, - "class_type": "KSampler", + "class_type": "LoraLoader", "_meta": { - "title": "KSampler" + "title": "Load LoRA" } }, "4": { "inputs": { - "ckpt_name": "Juggernaut-XI-byRunDiffusion.safetensors" + "lora_name": "SDXLrender_v2.0.safetensors", + "strength_model": 0.1, + "strength_clip": 0.1, + "model": [ + "3", + 0 + ], + "clip": [ + "2", + 1 + ] }, - "class_type": "CheckpointLoaderSimple", + "class_type": "LoraLoader", "_meta": { - "title": "Load Checkpoint" + "title": "Load LoRA" } }, "5": { "inputs": { - "width": 1024, - "height": 1024, - "batch_size": 1 + "text": "masterpiece, best quality, highres", + "clip": [ + "4", + 1 + ] }, - "class_type": "EmptyLatentImage", + "class_type": "CLIPTextEncode", "_meta": { - "title": "Empty Latent Image" + "title": "CLIP Text Encode (Prompt)" } }, "6": { "inputs": { - "text": "A dog in a car", + "text": "(worst quality, low quality, normal quality:1.5)", "clip": [ "4", 1 @@ -129,44 +149,449 @@ }, "7": { "inputs": { - "text": "real", - "clip": [ + "model_name": "4xNomosUniDAT_otf.safetensors" + }, + "class_type": "UpscaleModelLoader", + "_meta": { + "title": "Load Upscale Model" + } + }, + "8": { + "inputs": { + "upscale_model": [ + "7", + 0 + ], + "image": [ + "46", + 0 + ] + }, + "class_type": "ImageUpscaleWithModel", + "_meta": { + "title": "Upscale Image (using Model)" + } + }, + "9": { + "inputs": { + "upscale_method": "lanczos", + "image": [ + "8", + 0 + ] + }, + "class_type": "ImageScaleBy", + "_meta": { + "title": "Upscale Image By" + } + }, + "12": { + "inputs": { + "tile_size": 1024, + "pixels": [ + "85", + 0 + ], + "vae": [ + "2", + 2 + ] + }, + "class_type": "VAEEncodeTiled", + "_meta": { + "title": "VAE Encode (Tiled)" + } + }, + "13": { + "inputs": { + "b1": 1.05, + "b2": 1.08, + "s1": 0.95, + "s2": 0.8, + "model": [ "4", + 0 + ] + }, + "class_type": "FreeU_V2", + "_meta": { + "title": "FreeU_V2" + } + }, + "14": { + "inputs": { + "scale": 1, + "model": [ + "13", + 0 + ] + }, + "class_type": "PerturbedAttentionGuidance", + "_meta": { + "title": "PerturbedAttentionGuidance" + } + }, + "15": { + "inputs": { + "hard_mode": true, + "boost": true, + "model": [ + "14", + 0 + ] + }, + "class_type": "Automatic CFG", + "_meta": { + "title": "Automatic CFG" + } + }, + "16": { + "inputs": { + "method": "MultiDiffusion", + "tile_width": 1024, + "tile_height": 1024, + "tile_overlap": 128, + "tile_batch_size": 4, + "model": [ + "15", + 0 + ] + }, + "class_type": "TiledDiffusion", + "_meta": { + "title": "Tiled Diffusion" + } + }, + "17": { + "inputs": { + "control_net_name": "control_v11f1e_sd15_tile_fp16.safetensors" + }, + "class_type": "ControlNetLoader", + "_meta": { + "title": "Load ControlNet Model" + } + }, + "18": { + "inputs": { + "strength": 0.5, + "start_percent": 0, + "end_percent": 1, + "positive": [ + "5", + 0 + ], + "negative": [ + "6", + 0 + ], + "control_net": [ + "17", + 0 + ], + "image": [ + "46", + 0 + ] + }, + "class_type": "ControlNetApplyAdvanced", + "_meta": { + "title": "Apply ControlNet" + } + }, + "20": { + "inputs": { + "sampler_name": "dpmpp_3m_sde_gpu" + }, + "class_type": "KSamplerSelect", + "_meta": { + "title": "KSamplerSelect" + } + }, + "21": { + "inputs": { + "model_type": "SD1", + "steps": 25, + "denoise": 0.35000000000000003 + }, + "class_type": "AlignYourStepsScheduler", + "_meta": { + "title": "AlignYourStepsScheduler" + } + }, + "25": { + "inputs": { + "add_noise": true, + "noise_seed": 5398475983, + "cfg": 8, + "model": [ + "96", + 0 + ], + "positive": [ + "18", + 0 + ], + "negative": [ + "18", 1 + ], + "sampler": [ + "20", + 0 + ], + "sigmas": [ + "21", + 0 + ], + "latent_image": [ + "12", + 0 ] }, - "class_type": "CLIPTextEncode", + "class_type": "SamplerCustom", "_meta": { - "title": "CLIP Text Encode (Prompt)" + "title": "SamplerCustom" } }, - "8": { + "26": { "inputs": { + "tile_size": 1024, "samples": [ - "3", + "25", 0 ], "vae": [ - "4", + "2", 2 ] }, - "class_type": "VAEDecode", + "class_type": "VAEDecodeTiled", "_meta": { - "title": "VAE Decode" + "title": "VAE Decode (Tiled)" } }, - "9": { + "46": { "inputs": { - "filename_prefix": "ComfyUI", + "width": 2048, + "height": 2048, + "interpolation": "nearest", + "method": "keep proportion", + "condition": "downscale if bigger", + "multiple_of": 0, + "image": [ + "1", + 0 + ] + }, + "class_type": "ImageResize+", + "_meta": { + "title": "🔧 Image Resize_clamp maximum" + } + }, + "63": { + "inputs": { + "filename_prefix": "upscaled", + "add_timestamp": true, + "save_metadata_json": false, "images": [ + "100", + 0 + ] + }, + "class_type": "SaveImageAdvanced", + "_meta": { + "title": "SaveImageAdvanced" + } + }, + "85": { + "inputs": { + "width": [ + "86", + 0 + ], + "height": [ + "86", + 0 + ], + "interpolation": "lanczos", + "method": "keep proportion", + "condition": "always", + "multiple_of": 8, + "image": [ "8", 0 ] }, - "class_type": "SaveImage", + "class_type": "ImageResize+", + "_meta": { + "title": "🔧 Image Resize" + } + }, + "86": { + "inputs": { + "value": 2048 + }, + "class_type": "Eden_Int", + "_meta": { + "title": "LONGEST SIDE" + } + }, + "87": { + "inputs": { + "image": [ + "1", + 0 + ] + }, + "class_type": "Get resolution [Crystools]", + "_meta": { + "title": "🪛 Get resolution" + } + }, + "89": { + "inputs": { + "preset": "PLUS (high strength)", + "model": [ + "16", + 0 + ] + }, + "class_type": "IPAdapterUnifiedLoader", + "_meta": { + "title": "IPAdapter Unified Loader" + } + }, + "90": { + "inputs": { + "interpolation": "LANCZOS", + "crop_position": "center", + "sharpening": 0.05, + "image": [ + "85", + 0 + ] + }, + "class_type": "PrepImageForClipVision", + "_meta": { + "title": "Prep Image For ClipVision" + } + }, + "92": { + "inputs": { + "weight": [ + "95", + 0 + ], + "weight_type": "ease in-out", + "combine_embeds": "concat", + "start_at": 0, + "end_at": 1, + "embeds_scaling": "V only", + "enhance_tiles": 2, + "enhance_ratio": 1, + "model": [ + "89", + 0 + ], + "ipadapter": [ + "89", + 1 + ], + "image": [ + "90", + 0 + ] + }, + "class_type": "IPAdapterClipVisionEnhancer", + "_meta": { + "title": "IPAdapter ClipVision Enhancer" + } + }, + "93": { + "inputs": { + "color_space": "LAB", + "factor": 1, + "device": "auto", + "batch_size": 0, + "image": [ + "26", + 0 + ], + "reference": [ + "85", + 0 + ] + }, + "class_type": "ImageColorMatch+", + "_meta": { + "title": "🔧 Image Color Match" + } + }, + "95": { + "inputs": { + "value": 0.75 + }, + "class_type": "Eden_Float", + "_meta": { + "title": "IPADAPTER STRENGTH" + } + }, + "96": { + "inputs": { + "switch": [ + "97", + 0 + ], + "on_false": [ + "16", + 0 + ], + "on_true": [ + "92", + 0 + ] + }, + "class_type": "InversionDemoLazySwitch", + "_meta": { + "title": "Lazy Switch_USE IPADAPTER" + } + }, + "97": { + "inputs": { + "value": true + }, + "class_type": "Eden_Bool", + "_meta": { + "title": "USE IPADAPTER" + } + }, + "99": { + "inputs": { + "value": false + }, + "class_type": "Eden_Bool", + "_meta": { + "title": "USE COLOR MATCH" + } + }, + "100": { + "inputs": { + "switch": [ + "99", + 0 + ], + "on_false": [ + "26", + 0 + ], + "on_true": [ + "93", + 0 + ] + }, + "class_type": "InversionDemoLazySwitch", "_meta": { - "title": "Save Image" + "title": "Lazy Switch_USE COLOR MATCH" } } }, diff --git a/Components/txt2img/form.json b/Components/txt2img/form.json index 289f888..c561fb2 100644 --- a/Components/txt2img/form.json +++ b/Components/txt2img/form.json @@ -13,14 +13,12 @@ "id": "prompt", "name": "Prompt", "type": "prompt_editor", - "type": "textarea", "display": true }, { "id": "negative_prompt", "name": "Negative Prompt", "type": "prompt_editor", - "type": "textarea", "display": true }, { diff --git a/docker/_global/start.sh b/docker/_global/start.sh index 4f830b5..b2332f1 100755 --- a/docker/_global/start.sh +++ b/docker/_global/start.sh @@ -6,16 +6,17 @@ rm -rf /etc/nginx && git clone git@github.com:stakeordie/emprops-nginx-conf.git ln -s /etc/nginx-repo/node /etc/nginx git clone https://github.com/comfyanonymous/ComfyUI.git ${ROOT}/ComfyUI -cd ${ROOT}/ComfyUI && pip install -r ${ROOT}/ComfyUI/requirements.txt +cd ${ROOT}/ComfyUI && pip install -r requirements.txt rm -rf custom_nodes mv ${ROOT}/nodes ${ROOT}/ComfyUI/custom_nodes + /scripts/models.sh -pm2 start --name comfy "python main.py --port 3002" + +cd ${ROOT}/ComfyUI && pm2 start --name comfy "python main.py --port 3002" git clone https://github.com/stakeordie/comfy-middleware.git ${ROOT}/comfy-middleware -cd ${ROOT}/comfy-middleware -pm2 start --name comfy-middleware "python main.py --port 3001" +cd ${ROOT}/comfy-middleware && pm2 start --name comfy-middleware "python main.py --port 3001" /etc/init.d/nginx start diff --git a/docker/basic/models.sh b/docker/basic/models.sh index aab7c4d..6db49d8 100755 --- a/docker/basic/models.sh +++ b/docker/basic/models.sh @@ -1,8 +1,14 @@ #!/bin/bash ROOT=/comfyui-launcher/ComfyUI -mkdir -p ${ROOT}/models/checkpoints \ - ${ROOT}/models/upscale_models; +git lfs install + +mkdir -p ${ROOT}/models/checkpoints +mkdir -p ${ROOT}/models/clip_vision +mkdir -p ${ROOT}/models/controlnet +mkdir -p ${ROOT}/models/upscale_models +mkdir -p ${ROOT}/models/loras +mkdir -p ${ROOT}/models/ipadapter cd ${ROOT}/models/checkpoints \ && wget https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0/resolve/main/sd_xl_base_1.0_0.9vae.safetensors -O sd_xl_base_1.0_0.9vae.safetensors \ @@ -10,13 +16,25 @@ cd ${ROOT}/models/checkpoints \ && wget https://huggingface.co/stabilityai/stable-diffusion-2-1/resolve/main/v2-1_768-ema-pruned.safetensors -O v2-1_768-ema-pruned.safetensors \ && wget https://huggingface.co/JCTN/fav_models/resolve/b6734996c5ee586fa4d7cae9a5bab1406df0521a/juggernautXL_v8Rundiffusion.safetensors -O juggernautXL_v8Rundiffusion.safetensors \ && wget 'https://civitai.com/api/download/models/782002?type=Model&format=SafeTensor&size=full&fp=fp16' -O Juggernaut-XI-byRunDiffusion.safetensors \ +&& wget https://edenartlab-lfs.s3.amazonaws.com/comfyui/models2/checkpoints/juggernaut_reborn.safetensors -O juggernaut_reborn.safetensors \ && wget https://huggingface.co/lllyasviel/fav_models/resolve/main/fav/realisticVisionV51_v51VAE.safetensors -O realisticVisionV51_v51VAE.safetensors \ && wget 'https://civitai.com/api/download/models/429454?type=Model&format=SafeTensor&size=pruned&fp=fp16' -O epicphotogasm_v1.safetensors \ && wget https://huggingface.co/stabilityai/sdxl-turbo/resolve/main/sd_xl_turbo_1.0_fp16.safetensors -O sd_xl_turbo_1.0_fp16.safetensors; cd ${ROOT}/models/upscale_models \ +&& wget https://github.com/Phhofm/models/releases/download/4xNomosUniDAT_otf/4xNomosUniDAT_otf.safetensors -O 4xNomosUniDAT_otf.safetensors \ && wget https://huggingface.co/uwg/upscaler/resolve/main/ESRGAN/4x-UltraSharp.pth -O 4x-UltraSharp.pth \ && wget https://huggingface.co/Afizi/ESRGAN_4x.pth/resolve/main/ESRGAN_4x.pth -O ESRGAN_4x.pth \ && wget https://huggingface.co/dtarnow/UPscaler/resolve/main/RealESRGAN_x2plus.pth -O RealESRGAN_x2plus.pth \ && wget https://huggingface.co/kaliansh/sdrep/resolve/main/RealESRGAN_x4plus.pth -O RealESRGAN_x4plus.pth \ -&& wget https://huggingface.co/kaliansh/sdrep/resolve/main/RealESRGAN_x4plus_anime_6B.pth -O RealESRGAN_x4plus_anime_6B.pth; \ No newline at end of file +&& wget https://huggingface.co/kaliansh/sdrep/resolve/main/RealESRGAN_x4plus_anime_6B.pth -O RealESRGAN_x4plus_anime_6B.pth; + +cd ${ROOT}/models/loras && wget https://edenartlab-lfs.s3.amazonaws.com/comfyui/models2/loras/SDXLrender_v2.0.safetensors \ +&& wget https://huggingface.co/digiplay/LORA/resolve/fa075647d8164b327ba07e430bdb3fd02f147a62/more_details.safetensors; + +cd ${ROOT}/models/ipadapter && wget clone https://edenartlab-lfs.s3.amazonaws.com/comfyui/models2/ipadapter/ip-adapter-plus_sd15.safetensors \ +&& wget clone https://edenartlab-lfs.s3.amazonaws.com/comfyui/models2/ipadapter/ip-adapter-plus_sdxl_vit-h.safetensors; + +cd ${ROOT}/models/clip_vision && wget https://edenartlab-lfs.s3.amazonaws.com/comfyui/models2/clip_vision/CLIP-ViT-H-14-laion2B-s32B-b79K.safetensors; + +cd ${ROOT}/models/controlnet && wget https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/control_v11f1e_sd15_tile_fp16.safetensors; \ No newline at end of file diff --git a/docker/basic/nodes.sh b/docker/basic/nodes.sh index 823e6fc..b932086 100755 --- a/docker/basic/nodes.sh +++ b/docker/basic/nodes.sh @@ -4,4 +4,16 @@ ROOT=/comfyui-launcher mkdir -p ${ROOT}/nodes \ -cd ${ROOT}/nodes && git clone https://github.com/ltdrdata/ComfyUI-Manager && cd "$(basename "$_" .git)" && pip install -r requirements.txt \ No newline at end of file +cd ${ROOT}/nodes && git clone https://github.com/ltdrdata/ComfyUI-Manager && cd "$(basename "$_" .git)" && pip install -r requirements.txt +cd ${ROOT}/nodes && git clone https://github.com/Extraltodeus/ComfyUI-AutomaticCFG && cd "$(basename "$_" .git)" && git reset --hard "88796c862cf3f1825df63f14329b8eb2d12a0e2b" && pip install -r requirements.txt +cd ${ROOT}/nodes && git clone https://github.com/crystian/ComfyUI-Crystools && cd "$(basename "$_" .git)" && git reset --hard "09d84235d99789447d143c4a4907c2d22e452097" && pip install -r requirements.txt +cd ${ROOT}/nodes && git clone https://github.com/alt-key-project/comfyui-dream-project && cd "$(basename "$_" .git)" && git reset --hard "b2ddca87a95881d2b37f4602edfcc7507da39a9c" && pip install -r requirements.txt +cd ${ROOT}/nodes && git clone https://github.com/yolain/ComfyUI-Easy-Use && cd "$(basename "$_" .git)" && git reset --hard "9b05d46ff25d3b8b2b270b37c12ca00a007d6a43" && pip install -r requirements.txt +cd ${ROOT}/nodes && git clone https://github.com/shiimizu/ComfyUI-TiledDiffusion && cd "$(basename "$_" .git)" && git reset --hard "43d6b0a16cf2659a1609eb54953029fd953ec36b" +cd ${ROOT}/nodes && git clone https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes && cd "$(basename "$_" .git)" && git reset --hard "d78b780ae43fcf8c6b7c6505e6ffb4584281ceca" && pip install -r requirements.txt +cd ${ROOT}/nodes && git clone https://github.com/cubiq/ComfyUI_essentials && cd "$(basename "$_" .git)" && git reset --hard "60acb955712ae84959873012a8d9bbfc230499b7" && pip install -r requirements.txt +cd ${ROOT}/nodes && git clone https://github.com/cubiq/ComfyUI_IPAdapter_plus && cd "$(basename "$_" .git)" && git reset --hard "ce9b62165b89fbf8dd3be61057d62a5f8bc29e19" +cd ${ROOT}/nodes && git clone https://github.com/edenartlab/eden_comfy_pipelines && cd "$(basename "$_" .git)" && git reset --hard "eec8b6f23b51bd77c3f35277ffe486ff5a8e123b" && pip install -r requirements.txt +cd ${ROOT}/nodes && git clone https://github.com/BadCafeCode/execution-inversion-demo-comfyui && cd "$(basename "$_" .git)" && git reset --hard "b0b489659684a1b69221db48cabb9dce5f7bb6fb" +cd ${ROOT}/nodes && git clone https://github.com/rgthree/rgthree-comfy && cd "$(basename "$_" .git)" && git reset --hard "17df78ec03aadc315dbac7f40761fae05d57ca9e" && pip install -r requirements.txt +cd ${ROOT}/nodes && git clone https://github.com/WASasquatch/was-node-suite-comfyui && cd "$(basename "$_" .git)" && git reset --hard "fdb0f52e310f6b63451fa90c721dd32e3764b8b0" && pip install -r requirements.txt diff --git a/docker/basic/start.sh b/docker/basic/start.sh index 4f830b5..b2332f1 100755 --- a/docker/basic/start.sh +++ b/docker/basic/start.sh @@ -6,16 +6,17 @@ rm -rf /etc/nginx && git clone git@github.com:stakeordie/emprops-nginx-conf.git ln -s /etc/nginx-repo/node /etc/nginx git clone https://github.com/comfyanonymous/ComfyUI.git ${ROOT}/ComfyUI -cd ${ROOT}/ComfyUI && pip install -r ${ROOT}/ComfyUI/requirements.txt +cd ${ROOT}/ComfyUI && pip install -r requirements.txt rm -rf custom_nodes mv ${ROOT}/nodes ${ROOT}/ComfyUI/custom_nodes + /scripts/models.sh -pm2 start --name comfy "python main.py --port 3002" + +cd ${ROOT}/ComfyUI && pm2 start --name comfy "python main.py --port 3002" git clone https://github.com/stakeordie/comfy-middleware.git ${ROOT}/comfy-middleware -cd ${ROOT}/comfy-middleware -pm2 start --name comfy-middleware "python main.py --port 3001" +cd ${ROOT}/comfy-middleware && pm2 start --name comfy-middleware "python main.py --port 3001" /etc/init.d/nginx start diff --git a/docker/dev/start.sh b/docker/dev/start.sh index 4f830b5..b2332f1 100755 --- a/docker/dev/start.sh +++ b/docker/dev/start.sh @@ -6,16 +6,17 @@ rm -rf /etc/nginx && git clone git@github.com:stakeordie/emprops-nginx-conf.git ln -s /etc/nginx-repo/node /etc/nginx git clone https://github.com/comfyanonymous/ComfyUI.git ${ROOT}/ComfyUI -cd ${ROOT}/ComfyUI && pip install -r ${ROOT}/ComfyUI/requirements.txt +cd ${ROOT}/ComfyUI && pip install -r requirements.txt rm -rf custom_nodes mv ${ROOT}/nodes ${ROOT}/ComfyUI/custom_nodes + /scripts/models.sh -pm2 start --name comfy "python main.py --port 3002" + +cd ${ROOT}/ComfyUI && pm2 start --name comfy "python main.py --port 3002" git clone https://github.com/stakeordie/comfy-middleware.git ${ROOT}/comfy-middleware -cd ${ROOT}/comfy-middleware -pm2 start --name comfy-middleware "python main.py --port 3001" +cd ${ROOT}/comfy-middleware && pm2 start --name comfy-middleware "python main.py --port 3001" /etc/init.d/nginx start diff --git a/docker/flux/start.sh b/docker/flux/start.sh index 4f830b5..b2332f1 100755 --- a/docker/flux/start.sh +++ b/docker/flux/start.sh @@ -6,16 +6,17 @@ rm -rf /etc/nginx && git clone git@github.com:stakeordie/emprops-nginx-conf.git ln -s /etc/nginx-repo/node /etc/nginx git clone https://github.com/comfyanonymous/ComfyUI.git ${ROOT}/ComfyUI -cd ${ROOT}/ComfyUI && pip install -r ${ROOT}/ComfyUI/requirements.txt +cd ${ROOT}/ComfyUI && pip install -r requirements.txt rm -rf custom_nodes mv ${ROOT}/nodes ${ROOT}/ComfyUI/custom_nodes + /scripts/models.sh -pm2 start --name comfy "python main.py --port 3002" + +cd ${ROOT}/ComfyUI && pm2 start --name comfy "python main.py --port 3002" git clone https://github.com/stakeordie/comfy-middleware.git ${ROOT}/comfy-middleware -cd ${ROOT}/comfy-middleware -pm2 start --name comfy-middleware "python main.py --port 3001" +cd ${ROOT}/comfy-middleware && pm2 start --name comfy-middleware "python main.py --port 3001" /etc/init.d/nginx start diff --git a/docker/test/models.sh b/docker/test/models.sh new file mode 100755 index 0000000..c704f2a --- /dev/null +++ b/docker/test/models.sh @@ -0,0 +1,19 @@ +#!/bin/bash +ROOT=/comfyui-launcher/ComfyUI + +git lfs install + +mkdir -p ${ROOT}/models/clip_vision +mkdir -p ${ROOT}/models/controlnet +mkdir -p ${ROOT}/models/upscale_models +mkdir -p ${ROOT}/models/loras +mkdir -p ${ROOT}/models/ipadapter + +cd ${ROOT}/models/checkpoints && wget https://edenartlab-lfs.s3.amazonaws.com/comfyui/models2/checkpoints/juggernaut_reborn.safetensors +cd ${ROOT}/models/clip_vision && wget https://edenartlab-lfs.s3.amazonaws.com/comfyui/models2/clip_vision/CLIP-ViT-H-14-laion2B-s32B-b79K.safetensors +cd ${ROOT}/models/controlnet && wget https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/control_v11f1e_sd15_tile_fp16.safetensors +cd ${ROOT}/models/upscale_models && wget https://github.com/Phhofm/models/releases/download/4xNomosUniDAT_otf/4xNomosUniDAT_otf.safetensors +cd ${ROOT}/models/loras && wget https://edenartlab-lfs.s3.amazonaws.com/comfyui/models2/loras/SDXLrender_v2.0.safetensors +cd ${ROOT}/models/loras && wget https://huggingface.co/digiplay/LORA/resolve/fa075647d8164b327ba07e430bdb3fd02f147a62/more_details.safetensors +cd ${ROOT}/models/ipadapter && wget clone https://edenartlab-lfs.s3.amazonaws.com/comfyui/models2/ipadapter/ip-adapter-plus_sd15.safetensors +cd ${ROOT}/models/ipadapter && wget clone https://edenartlab-lfs.s3.amazonaws.com/comfyui/models2/ipadapter/ip-adapter-plus_sdxl_vit-h.safetensors \ No newline at end of file diff --git a/docker/test/test b/docker/test/test new file mode 100644 index 0000000..e69de29 diff --git a/docker/video/models.sh b/docker/video/models.sh index c3107cd..99a0be3 100755 --- a/docker/video/models.sh +++ b/docker/video/models.sh @@ -7,6 +7,8 @@ mkdir -p ${ROOT}/models/clip mkdir -p ${ROOT}/models/LLavacheckpoints mkdir -p ${ROOT}/models/CogVideo mkdir -p ${ROOT}/models/checkpoints +mkdir -p ${ROOT}/models/diffusion_models/mochi +mkdir -p ${ROOT}/models/vae/mochi cd ${ROOT}/models/clip && wget https://huggingface.co/comfyanonymous/flux_text_encoders/resolve/main/t5xxl_fp8_e4m3fn.safetensors; cd ${ROOT}/models/LLavacheckpoints && wget https://huggingface.co/bartowski/Meta-Llama-3-8B-Instruct-GGUF/resolve/main/Meta-Llama-3-8B-Instruct-Q4_K_M.gguf; @@ -15,3 +17,6 @@ cd ${ROOT}/models && wget https://huggingface.co/jasonot/mycomfyui/resolve/main/ cd ${ROOT}/models/CogVideo && git clone https://huggingface.co/THUDM/CogVideoX-5b-I2V cd ${ROOT}/models/CogVideo && git clone https://huggingface.co/alibaba-pai/CogVideoX-Fun-5b-InP + +cd ${ROOT}/models/diffusion_models/mochi && wget https://huggingface.co/Kijai/Mochi_preview_comfy/resolve/main/mochi_preview_dit_fp8_e4m3fn.safetensors +cd ${ROOT}/models/vae/mochi && wget https://huggingface.co/Kijai/Mochi_preview_comfy/resolve/main/mochi_preview_vae_bf16.safetensors diff --git a/docker/video/start.sh b/docker/video/start.sh index 4f830b5..b2332f1 100755 --- a/docker/video/start.sh +++ b/docker/video/start.sh @@ -6,16 +6,17 @@ rm -rf /etc/nginx && git clone git@github.com:stakeordie/emprops-nginx-conf.git ln -s /etc/nginx-repo/node /etc/nginx git clone https://github.com/comfyanonymous/ComfyUI.git ${ROOT}/ComfyUI -cd ${ROOT}/ComfyUI && pip install -r ${ROOT}/ComfyUI/requirements.txt +cd ${ROOT}/ComfyUI && pip install -r requirements.txt rm -rf custom_nodes mv ${ROOT}/nodes ${ROOT}/ComfyUI/custom_nodes + /scripts/models.sh -pm2 start --name comfy "python main.py --port 3002" + +cd ${ROOT}/ComfyUI && pm2 start --name comfy "python main.py --port 3002" git clone https://github.com/stakeordie/comfy-middleware.git ${ROOT}/comfy-middleware -cd ${ROOT}/comfy-middleware -pm2 start --name comfy-middleware "python main.py --port 3001" +cd ${ROOT}/comfy-middleware && pm2 start --name comfy-middleware "python main.py --port 3001" /etc/init.d/nginx start