From 8a1fc82d234f5c25484b619bc6033a4e3dee71d9 Mon Sep 17 00:00:00 2001 From: youyegit <131540443+youyegit@users.noreply.github.com> Date: Fri, 24 May 2024 00:34:45 +0800 Subject: [PATCH] update readme --- README.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/README.md b/README.md index 093606c..91a37da 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,28 @@ model/ ## Environments cd (this repo) pip install -r requirements.txt + +# Nodes Introductions +## tdxh_image +- "TdxhImageToSize": TdxhImageToSize can Convert an image to size. +- "TdxhImageToSizeAdvanced":TdxhImageToSizeAdvanced can Convert an image to size and it will let you choose what to follow:"only_width", "only_height", "both_width_and_height","width * height", "only_ratio","only_image","get_SDXL_best_size". +## tdxh_model +"TdxhLoraLoader":TdxhLoraLoader add a switch to the "LoraLoader", which shows as "bool_int" ( 0 -> OFF , 1 -> ON ), and when you set the strength it will let you choose what to follow: "only_strength_both", "strength_model_and_strength_clip". +## tdxh_data +"TdxhIntInput":TdxhIntInput returns the "INT" type. +"TdxhFloatInput":TdxhFloatInput returns the "FLOAT" type. +"TdxhStringInput":TdxhStringInput returns the "STRING" type. +"TdxhStringInputTranslator":TdxhStringInputTranslator returns the "STRING" type that has been translated. (You need to download Translator model!) +## tdxh_bool +"TdxhOnOrOff":TdxhOnOrOff returns the "NUMBER" and "INT" type. When switching to ON, it will return 1, when switching to OFF, it will return 0. +"TdxhBoolNumber":TdxhBoolNumber is the same as TdxhOnOrOff but let you choose what to follow: "control_by_master" is the main control, if OFF, return "bool_int",if ON, then only both "bool_int_from_master" and "bool_int" are 1, retrun 1. +## tdxh_efficiency +"TdxhClipVison" : TdxhClipVison add a switch to the "CLIPVisionLoader" and the "clip_vision". +"TdxhControlNetProcessor":TdxhControlNetProcessor add a switch to ControlNet nodes and let you can preprocess the image.(It needs AUX preprocessor nodes.) +"TdxhControlNetApply":TdxhControlNetApply add a switch to ControlNet nodes and make it efficiently. +"TdxhReference":TdxhReference make "reference_only" node more efficiently. +"TdxhImg2ImgLatent":TdxhImg2ImgLatent can switch between original(main) Latent and Image Latent ( OFF -> main Latent , ON -> Image Latent ). + # Thanks Some codes are from The official [ComfyUI](https://github.com/comfyanonymous/ComfyUI.git) and other custom nodes like The [was-node-suite-comfyui](https://github.com/WASasquatch/was-node-suite-comfyui.git). The translator's main code is from [prompt_translator](https://github.com/ParisNeo/prompt_translator.git). \ No newline at end of file