diff --git a/.github/instructions/sage.instructions.md b/.github/instructions/sage.instructions.md index 54c57e6..17c0339 100644 --- a/.github/instructions/sage.instructions.md +++ b/.github/instructions/sage.instructions.md @@ -70,6 +70,7 @@ These instructions define coding standards, directory structure, and domain know - #fetch https://docs.comfy.org/custom-nodes/backend/lists - #fetch https://docs.comfy.org/custom-nodes/backend/snippets - #fetch https://docs.comfy.org/custom-nodes/backend/tensors + - #fetch https://docs.comfy.org/custom-nodes/help_page - #fetch https://docs.comfy.org/custom-nodes/js/javascript_overview - #fetch https://docs.comfy.org/custom-nodes/js/javascript_hooks - #fetch https://docs.comfy.org/custom-nodes/js/javascript_objects_and_hijacking diff --git a/js/docs/Sage_AdvSamplerInfo.md b/js/docs/Sage_AdvSamplerInfo.md new file mode 100644 index 0000000..9ad9f22 --- /dev/null +++ b/js/docs/Sage_AdvSamplerInfo.md @@ -0,0 +1,12 @@ +# Sage_AdvSamplerInfo + +**Adv Sampler Info** + +Outputs advanced sampler settings for more granular control. + +## Parameters +- **sampler**: The sampler to use. +- **advanced_settings**: Advanced options for the sampler. + +## Usage +Use when you need to expose or control additional sampler parameters. diff --git a/js/docs/Sage_CacheMaintenance.md b/js/docs/Sage_CacheMaintenance.md new file mode 100644 index 0000000..4961d39 --- /dev/null +++ b/js/docs/Sage_CacheMaintenance.md @@ -0,0 +1,11 @@ +# Sage_CacheMaintenance + +**Cache Maintenance** + +Checks for missing or duplicate entries in the model cache, with options to clean up ghost entries and identify duplicates. + +## Parameters +- **action**: Maintenance action to perform. + +## Usage +Use to keep your model cache organized and up to date. diff --git a/js/docs/Sage_CheckLorasForUpdates.md b/js/docs/Sage_CheckLorasForUpdates.md new file mode 100644 index 0000000..41193de --- /dev/null +++ b/js/docs/Sage_CheckLorasForUpdates.md @@ -0,0 +1,11 @@ +# Sage_CheckLorasForUpdates + +**Check Loras for Updates** + +Checks LoRAs in your stack for available updates from Civitai or other sources. + +## Parameters +- **lora_stack**: The stack of LoRAs to check. + +## Usage +Use to keep your LoRA library up to date with the latest versions. diff --git a/js/docs/Sage_CheckpointLoaderRecent.md b/js/docs/Sage_CheckpointLoaderRecent.md new file mode 100644 index 0000000..0b0d6bf --- /dev/null +++ b/js/docs/Sage_CheckpointLoaderRecent.md @@ -0,0 +1,11 @@ +# Sage_CheckpointLoaderRecent + +**Load Recently Used Checkpoint** + +Loads the most recently used checkpoint and outputs its model info. + +## Parameters +- **recent_count**: Number of recent checkpoints to consider. + +## Usage +Use to quickly access and load recently used model checkpoints. diff --git a/js/docs/Sage_CheckpointLoaderSimple.md b/js/docs/Sage_CheckpointLoaderSimple.md new file mode 100644 index 0000000..f850159 --- /dev/null +++ b/js/docs/Sage_CheckpointLoaderSimple.md @@ -0,0 +1,11 @@ +# Sage_CheckpointLoaderSimple + +**Load Checkpoint w/ Metadata** + +Loads a checkpoint and outputs model info, including hash and Civitai data. Model info is cached for quick access. + +## Parameters +- **checkpoint_path**: Path to the checkpoint file. + +## Usage +Use to load checkpoints and retrieve their metadata for use in other nodes. diff --git a/js/docs/Sage_CheckpointSelector.md b/js/docs/Sage_CheckpointSelector.md new file mode 100644 index 0000000..62b9bcf --- /dev/null +++ b/js/docs/Sage_CheckpointSelector.md @@ -0,0 +1,12 @@ +# Sage_CheckpointSelector + +**Checkpoint Selector** + +Selects a model checkpoint from available options. + +## Parameters +- **checkpoints**: List of available checkpoints. +- **selection**: The selected checkpoint. + +## Usage +Use to choose which model checkpoint to load in your workflow. diff --git a/js/docs/Sage_CleanText.md b/js/docs/Sage_CleanText.md new file mode 100644 index 0000000..7108aca --- /dev/null +++ b/js/docs/Sage_CleanText.md @@ -0,0 +1,11 @@ +# Sage_CleanText + +**Clean Text** + +Cleans or normalizes a text string. Useful for removing unwanted characters or formatting. + +## Parameters +- **text**: The string to clean. + +## Usage +Use before passing text to prompt or metadata nodes to ensure clean input. diff --git a/js/docs/Sage_CollectKeywordsFromLoraStack.md b/js/docs/Sage_CollectKeywordsFromLoraStack.md new file mode 100644 index 0000000..d5bfec5 --- /dev/null +++ b/js/docs/Sage_CollectKeywordsFromLoraStack.md @@ -0,0 +1,11 @@ +# Sage_CollectKeywordsFromLoraStack + +**Lora Stack → Keywords** + +Extracts Civitai keywords from a LoRA stack. + +## Parameters +- **lora_stack**: The stack of LoRAs. + +## Usage +Use to extract and use keywords for metadata or prompt construction. diff --git a/js/docs/Sage_ConditioningZeroOut.md b/js/docs/Sage_ConditioningZeroOut.md new file mode 100644 index 0000000..6761d5f --- /dev/null +++ b/js/docs/Sage_ConditioningZeroOut.md @@ -0,0 +1,11 @@ +# Sage_ConditioningZeroOut + +**Zero Conditioning** + +Outputs zeroed conditioning for advanced prompt control. + +## Parameters +- **conditioning**: The conditioning input to zero out. + +## Usage +Use to reset or neutralize conditioning in prompt workflows. diff --git a/js/docs/Sage_ConstructLLMPrompt.md b/js/docs/Sage_ConstructLLMPrompt.md new file mode 100644 index 0000000..2d6da8f --- /dev/null +++ b/js/docs/Sage_ConstructLLMPrompt.md @@ -0,0 +1,12 @@ +# Sage_ConstructLLMPrompt + +**Construct LLM Prompt** + +Builds a prompt for use with LLM nodes. + +## Parameters +- **text**: The text to use as a prompt. +- **context**: Additional context or instructions. + +## Usage +Use to assemble prompts for LLM nodes in your workflow. diff --git a/js/docs/Sage_ConstructLLMPromptExtra.md b/js/docs/Sage_ConstructLLMPromptExtra.md new file mode 100644 index 0000000..a28b5a4 --- /dev/null +++ b/js/docs/Sage_ConstructLLMPromptExtra.md @@ -0,0 +1,12 @@ +# Sage_ConstructLLMPromptExtra + +**Construct LLM Prompt Extra** + +Builds a prompt with extra fields for use with LLM nodes. + +## Parameters +- **text**: The text to use as a prompt. +- **extra**: Additional fields or instructions. + +## Usage +Use to assemble advanced prompts for LLM nodes in your workflow. diff --git a/js/docs/Sage_ConstructMetadata.md b/js/docs/Sage_ConstructMetadata.md new file mode 100644 index 0000000..a488ec1 --- /dev/null +++ b/js/docs/Sage_ConstructMetadata.md @@ -0,0 +1,15 @@ +# Sage_ConstructMetadata + +**Construct Metadata** + +Assembles metadata strings from various workflow inputs for embedding in images or outputs. + +## Parameters +- **model_info**: Model information input. +- **lora_stack**: LoRA stack input. +- **sampler_info**: Sampler settings input. +- **image_size**: Image size input. +- **other_metadata**: Additional metadata fields. + +## Usage +Use to build comprehensive metadata for images or outputs, compatible with A1111/Civitai formats. diff --git a/js/docs/Sage_ConstructMetadataLite.md b/js/docs/Sage_ConstructMetadataLite.md new file mode 100644 index 0000000..e4fc1a3 --- /dev/null +++ b/js/docs/Sage_ConstructMetadataLite.md @@ -0,0 +1,13 @@ +# Sage_ConstructMetadataLite + +**Construct Metadata Lite** + +Assembles a minimal set of metadata from workflow inputs. + +## Parameters +- **model_info**: Model information input. +- **sampler_info**: Sampler settings input. +- **image_size**: Image size input. + +## Usage +Use when you want a lightweight metadata string for images or outputs. diff --git a/js/docs/Sage_DualCLIPTextEncode.md b/js/docs/Sage_DualCLIPTextEncode.md new file mode 100644 index 0000000..e466d36 --- /dev/null +++ b/js/docs/Sage_DualCLIPTextEncode.md @@ -0,0 +1,13 @@ +# Sage_DualCLIPTextEncode + +**Dual Prompt Encode** + +Encodes positive and negative prompts using a CLIP model, returning both conditionings and the input text. + +## Parameters +- **clip_model**: The CLIP model to use. +- **positive_prompt**: Positive prompt text. +- **negative_prompt**: Negative prompt text. + +## Usage +Use to generate conditioning for both positive and negative prompts in workflows. diff --git a/js/docs/Sage_DualCLIPTextEncodeLumina2.md b/js/docs/Sage_DualCLIPTextEncodeLumina2.md new file mode 100644 index 0000000..255c171 --- /dev/null +++ b/js/docs/Sage_DualCLIPTextEncodeLumina2.md @@ -0,0 +1,13 @@ +# Sage_DualCLIPTextEncodeLumina2 + +**Dual Prompt Encode (Lumina 2)** + +Encodes prompts using the Lumina 2 CLIP model variant. + +## Parameters +- **clip_model**: The Lumina 2 CLIP model. +- **positive_prompt**: Positive prompt text. +- **negative_prompt**: Negative prompt text. + +## Usage +Use for workflows that require Lumina 2 prompt encoding. diff --git a/js/docs/Sage_EmptyLatentImagePassthrough.md b/js/docs/Sage_EmptyLatentImagePassthrough.md new file mode 100644 index 0000000..d084c7d --- /dev/null +++ b/js/docs/Sage_EmptyLatentImagePassthrough.md @@ -0,0 +1,13 @@ +# Sage_EmptyLatentImagePassthrough + +**Empty Latent Passthrough** + +Creates an empty latent image and passes width/height for easier wiring. Includes a switch for SD3 compatibility. + +## Parameters +- **width**: Width of the latent image. +- **height**: Height of the latent image. +- **sd3_compat**: Enable for SD3 compatibility. + +## Usage +Use to generate latent images and pass dimensions to downstream nodes. diff --git a/js/docs/Sage_GetFileHash.md b/js/docs/Sage_GetFileHash.md new file mode 100644 index 0000000..cd79c6d --- /dev/null +++ b/js/docs/Sage_GetFileHash.md @@ -0,0 +1,11 @@ +# Sage_GetFileHash + +**Get Sha256 Hash** + +Computes the SHA256 hash of a file or input. Useful for verifying file integrity or identifying models. + +## Parameters +- **file**: The file or input to hash. + +## Usage +Use in workflows where you need to check file uniqueness or verify downloads. diff --git a/js/docs/Sage_HiDreamE1_Instruction.md b/js/docs/Sage_HiDreamE1_Instruction.md new file mode 100644 index 0000000..68dfb5a --- /dev/null +++ b/js/docs/Sage_HiDreamE1_Instruction.md @@ -0,0 +1,11 @@ +# Sage_HiDreamE1_Instruction + +**HiDreamE1 Instruction** + +Outputs instructions or prompt modifications for HiDreamE1 models. + +## Parameters +- **instruction**: The instruction or modification to apply. + +## Usage +Use to provide special instructions for HiDreamE1 workflows. diff --git a/js/docs/Sage_JoinText.md b/js/docs/Sage_JoinText.md new file mode 100644 index 0000000..9faabc4 --- /dev/null +++ b/js/docs/Sage_JoinText.md @@ -0,0 +1,12 @@ +# Sage_JoinText + +**Join Text** + +Joins two text strings together. Useful for building prompts or metadata. + +## Parameters +- **text_a**: First string. +- **text_b**: Second string. + +## Usage +Use to concatenate text for prompts, metadata, or other string fields. diff --git a/js/docs/Sage_KSampler.md b/js/docs/Sage_KSampler.md new file mode 100644 index 0000000..eeef23c --- /dev/null +++ b/js/docs/Sage_KSampler.md @@ -0,0 +1,12 @@ +# Sage_KSampler + +**KSampler w/ Sampler Info** + +A KSampler node with sampler settings broken out for easier workflow integration. Can be connected to Sampler Info nodes for streamlined configuration. + +## Parameters +- **model**: The model to sample from. +- **sampler_info**: Sampler settings input. + +## Usage +Use for workflows that require flexible sampler configuration and metadata integration. diff --git a/js/docs/Sage_KSamplerAudioDecoder.md b/js/docs/Sage_KSamplerAudioDecoder.md new file mode 100644 index 0000000..2e4129b --- /dev/null +++ b/js/docs/Sage_KSamplerAudioDecoder.md @@ -0,0 +1,12 @@ +# Sage_KSamplerAudioDecoder + +**KSampler + Audio Decoder** + +A KSampler node with an audio decoder variant. Outputs both latent and audio data. + +## Parameters +- **model**: The model to sample from. +- **sampler_info**: Sampler settings input. + +## Usage +Use for workflows that require audio decoding from latent representations. diff --git a/js/docs/Sage_KSamplerTiledDecoder.md b/js/docs/Sage_KSamplerTiledDecoder.md new file mode 100644 index 0000000..dbac278 --- /dev/null +++ b/js/docs/Sage_KSamplerTiledDecoder.md @@ -0,0 +1,13 @@ +# Sage_KSamplerTiledDecoder + +**KSampler + Tiled Decoder** + +A KSampler node with a built-in tiled VAE decoder. Outputs both a latent and an image. If a Tiling Info node is connected, performs tiled VAE decoding. + +## Parameters +- **model**: The model to sample from. +- **sampler_info**: Sampler settings input. +- **tiling_info** (optional): Tiling information for tiled decoding. + +## Usage +Use for workflows that require tiled decoding and flexible sampler configuration. diff --git a/js/docs/Sage_LastLoraInfo.md b/js/docs/Sage_LastLoraInfo.md new file mode 100644 index 0000000..005bea6 --- /dev/null +++ b/js/docs/Sage_LastLoraInfo.md @@ -0,0 +1,11 @@ +# Sage_LastLoraInfo + +**Last LoRA Info** + +Retrieves Civitai info, URLs, and sample images for the last LoRA in a stack. + +## Parameters +- **lora_stack**: The stack of LoRAs. + +## Usage +Use to display or use metadata about the most recent LoRA in your stack. diff --git a/js/docs/Sage_LoadImage.md b/js/docs/Sage_LoadImage.md new file mode 100644 index 0000000..3d7ddbf --- /dev/null +++ b/js/docs/Sage_LoadImage.md @@ -0,0 +1,11 @@ +# Sage_LoadImage + +**Load Image w/ Size & Metadata** + +Loads an image and outputs its size and embedded metadata. + +## Parameters +- **image_path**: Path to the image file. + +## Usage +Use to inspect images and extract their metadata for use in workflows. diff --git a/js/docs/Sage_LogicalSwitch.md b/js/docs/Sage_LogicalSwitch.md new file mode 100644 index 0000000..66cca1b --- /dev/null +++ b/js/docs/Sage_LogicalSwitch.md @@ -0,0 +1,13 @@ +# Sage_LogicalSwitch + +**Switch** + +Selects between two inputs based on a boolean value. Useful for conditional logic in workflows. + +## Parameters +- **input_a**: First input. +- **input_b**: Second input. +- **switch**: Boolean to select input (true for A, false for B). + +## Usage +Use to route data or control flow based on conditions. diff --git a/js/docs/Sage_LoraStack.md b/js/docs/Sage_LoraStack.md new file mode 100644 index 0000000..40ff154 --- /dev/null +++ b/js/docs/Sage_LoraStack.md @@ -0,0 +1,13 @@ +# Sage_LoraStack + +**Simple Lora Stack** + +Builds and manages a stack of LoRAs with toggles and weights. + +## Parameters +- **lora_list**: List of LoRAs to stack. +- **weights**: Weights for each LoRA. +- **toggles**: Enable/disable each LoRA. + +## Usage +Chain multiple nodes for complex LoRA stacking. Connect to LoRA Stack Loader or metadata nodes. diff --git a/js/docs/Sage_LoraStackLoader.md b/js/docs/Sage_LoraStackLoader.md new file mode 100644 index 0000000..7aaf00f --- /dev/null +++ b/js/docs/Sage_LoraStackLoader.md @@ -0,0 +1,11 @@ +# Sage_LoraStackLoader + +**Lora Stack Loader** + +Loads all LoRAs in a stack for use in your workflow. + +## Parameters +- **lora_stack**: The stack of LoRAs to load. + +## Usage +Connect to a LoRA stack node to load all LoRAs at once. diff --git a/js/docs/Sage_LoraStackRecent.md b/js/docs/Sage_LoraStackRecent.md new file mode 100644 index 0000000..6d85af2 --- /dev/null +++ b/js/docs/Sage_LoraStackRecent.md @@ -0,0 +1,11 @@ +# Sage_LoraStackRecent + +**Recent Lora Stack** + +Builds a stack from recently used LoRAs. + +## Parameters +- **recent_count**: Number of recent LoRAs to include. + +## Usage +Use to quickly build a stack from your most recently used LoRAs. diff --git a/js/docs/Sage_ModelInfo.md b/js/docs/Sage_ModelInfo.md new file mode 100644 index 0000000..45a5170 --- /dev/null +++ b/js/docs/Sage_ModelInfo.md @@ -0,0 +1,11 @@ +# Sage_ModelInfo + +**Model Info** + +Outputs information about a loaded model, including hash and metadata. + +## Parameters +- **model**: The model to inspect. + +## Usage +Use to retrieve and display model information for reporting or metadata construction. diff --git a/js/docs/Sage_ModelLoraStackLoader.md b/js/docs/Sage_ModelLoraStackLoader.md new file mode 100644 index 0000000..429e952 --- /dev/null +++ b/js/docs/Sage_ModelLoraStackLoader.md @@ -0,0 +1,12 @@ +# Sage_ModelLoraStackLoader + +**Model + Lora Stack Loader** + +Loads both a checkpoint and a LoRA stack in one node. + +## Parameters +- **model**: The model to load. +- **lora_stack**: The LoRA stack to load. + +## Usage +Use to streamline workflows that require both a model and a LoRA stack. diff --git a/js/docs/Sage_ModelReport.md b/js/docs/Sage_ModelReport.md new file mode 100644 index 0000000..0c03251 --- /dev/null +++ b/js/docs/Sage_ModelReport.md @@ -0,0 +1,11 @@ +# Sage_ModelReport + +**Model Scan & Report** + +Scans and hashes all Loras and checkpoints, queries Civitai, and generates sorted model and LoRA lists for reporting and organization. + +## Parameters +- **scan_type**: Type of scan to perform. + +## Usage +Use to audit, organize, and report on your model and LoRA library. diff --git a/js/docs/Sage_ModelShifts.md b/js/docs/Sage_ModelShifts.md new file mode 100644 index 0000000..9fa80fe --- /dev/null +++ b/js/docs/Sage_ModelShifts.md @@ -0,0 +1,11 @@ +# Sage_ModelShifts + +**Model Shifts** + +Outputs model shift information for advanced workflows. + +## Parameters +- **shift_values**: Values to shift model parameters. + +## Usage +Use in workflows that require dynamic model parameter adjustment. diff --git a/js/docs/Sage_MultiModelPicker.md b/js/docs/Sage_MultiModelPicker.md new file mode 100644 index 0000000..d4845cb --- /dev/null +++ b/js/docs/Sage_MultiModelPicker.md @@ -0,0 +1,11 @@ +# Sage_MultiModelPicker + +**Multi Model Picker** + +Allows selection of multiple models for advanced workflows. + +## Parameters +- **models**: List of models to select from. + +## Usage +Use to build workflows that require multiple model inputs or dynamic model selection. diff --git a/js/docs/Sage_OllamaLLMPromptText.md b/js/docs/Sage_OllamaLLMPromptText.md new file mode 100644 index 0000000..757d1d0 --- /dev/null +++ b/js/docs/Sage_OllamaLLMPromptText.md @@ -0,0 +1,12 @@ +# Sage_OllamaLLMPromptText + +**Ollama LLM Prompt (Text)** + +Sends a text prompt to an Ollama LLM and returns the result. + +## Parameters +- **prompt**: The text prompt to send. +- **model**: The Ollama model to use. + +## Usage +Use to generate text completions or responses from an Ollama LLM in your workflow. diff --git a/js/docs/Sage_OllamaLLMPromptVision.md b/js/docs/Sage_OllamaLLMPromptVision.md new file mode 100644 index 0000000..9913528 --- /dev/null +++ b/js/docs/Sage_OllamaLLMPromptVision.md @@ -0,0 +1,13 @@ +# Sage_OllamaLLMPromptVision + +**Ollama LLM Prompt (Vision)** + +Sends a vision prompt to an Ollama LLM and returns the result. + +## Parameters +- **image**: The image to analyze. +- **prompt**: The text prompt to send. +- **model**: The Ollama model to use. + +## Usage +Use to generate vision-based completions or responses from an Ollama LLM in your workflow. diff --git a/js/docs/Sage_PonyPrefix.md b/js/docs/Sage_PonyPrefix.md new file mode 100644 index 0000000..c215ca7 --- /dev/null +++ b/js/docs/Sage_PonyPrefix.md @@ -0,0 +1,11 @@ +# Sage_PonyPrefix + +**Add Pony v6 Prefixes** + +Adds Pony v6 prefixes to a text string for prompt engineering. + +## Parameters +- **text**: The string to modify. + +## Usage +Use to automatically add style or subject prefixes for Pony v6 models. diff --git a/js/docs/Sage_PonyStyle.md b/js/docs/Sage_PonyStyle.md new file mode 100644 index 0000000..e653113 --- /dev/null +++ b/js/docs/Sage_PonyStyle.md @@ -0,0 +1,11 @@ +# Sage_PonyStyle + +**Add Pony Style** + +Adds a style string to prompts for Pony models. + +## Parameters +- **text**: The string to style. + +## Usage +Use to apply a consistent style to prompts for Pony models. diff --git a/js/docs/Sage_SamplerInfo.md b/js/docs/Sage_SamplerInfo.md new file mode 100644 index 0000000..7f57593 --- /dev/null +++ b/js/docs/Sage_SamplerInfo.md @@ -0,0 +1,12 @@ +# Sage_SamplerInfo + +**Sampler Info** + +Outputs sampler settings for use in metadata or workflow logic. + +## Parameters +- **sampler**: The sampler to use. +- **settings**: Additional sampler settings. + +## Usage +Connect to samplers or metadata nodes to standardize and share sampler configuration. diff --git a/js/docs/Sage_SaveImageWithMetadata.md b/js/docs/Sage_SaveImageWithMetadata.md new file mode 100644 index 0000000..1cd44c8 --- /dev/null +++ b/js/docs/Sage_SaveImageWithMetadata.md @@ -0,0 +1,14 @@ +# Sage_SaveImageWithMetadata + +**Save Image w/ Added Metadata** + +Saves an image with extra inputs for `param_metadata` and `extra_metadata`, allowing you to embed custom metadata under `parameters` (A1111 style) and `extra`. Includes switches to control inclusion of standard ComfyUI metadata. + +## Parameters +- **image**: The image to save. +- **param_metadata**: Metadata string for parameters. +- **extra_metadata**: Additional metadata string. +- **include_standard_metadata**: Switch to include standard metadata. + +## Usage +Use to save images with custom and standard metadata for better tracking and sharing. diff --git a/js/docs/Sage_SetText.md b/js/docs/Sage_SetText.md new file mode 100644 index 0000000..5848f0a --- /dev/null +++ b/js/docs/Sage_SetText.md @@ -0,0 +1,11 @@ +# Sage_SetText + +**Set Text** + +Outputs a text string. Useful for providing static or user-defined text to workflows. + +## Parameters +- **text**: The string to output. + +## Usage +Connect to nodes that require a text input, such as prompt or metadata nodes. diff --git a/js/docs/Sage_TextWeight.md b/js/docs/Sage_TextWeight.md new file mode 100644 index 0000000..2c64a5c --- /dev/null +++ b/js/docs/Sage_TextWeight.md @@ -0,0 +1,12 @@ +# Sage_TextWeight + +**Text Weight** + +Applies a weight to a text string for prompt conditioning. + +## Parameters +- **text**: The string to weight. +- **weight**: The weight value. + +## Usage +Use to emphasize or de-emphasize parts of a prompt. diff --git a/js/docs/Sage_TilingInfo.md b/js/docs/Sage_TilingInfo.md new file mode 100644 index 0000000..f7407d8 --- /dev/null +++ b/js/docs/Sage_TilingInfo.md @@ -0,0 +1,12 @@ +# Sage_TilingInfo + +**Tiling Info** + +Outputs tiling information for tiled decoding or processing. + +## Parameters +- **tile_size**: Size of each tile. +- **overlap**: Overlap between tiles. + +## Usage +Connect to nodes that support tiled processing, such as tiled decoders. diff --git a/js/docs/Sage_TripleJoinText.md b/js/docs/Sage_TripleJoinText.md new file mode 100644 index 0000000..3026aef --- /dev/null +++ b/js/docs/Sage_TripleJoinText.md @@ -0,0 +1,13 @@ +# Sage_TripleJoinText + +**Join Text x3** + +Joins three text strings together. Useful for building complex prompts or metadata. + +## Parameters +- **text_a**: First string. +- **text_b**: Second string. +- **text_c**: Third string. + +## Usage +Use to concatenate multiple text fields for prompts or metadata. diff --git a/js/docs/Sage_TripleLoraStack.md b/js/docs/Sage_TripleLoraStack.md new file mode 100644 index 0000000..6cca90e --- /dev/null +++ b/js/docs/Sage_TripleLoraStack.md @@ -0,0 +1,15 @@ +# Sage_TripleLoraStack + +**Triple Lora Stack** + +Stack up to three LoRAs with individual toggles and weights. + +## Parameters +- **lora_a**: First LoRA. +- **lora_b**: Second LoRA. +- **lora_c**: Third LoRA. +- **weights**: Weights for each LoRA. +- **toggles**: Enable/disable each LoRA. + +## Usage +Use for workflows that require up to three LoRAs with fine control. diff --git a/js/docs/Sage_UNETLoader.md b/js/docs/Sage_UNETLoader.md new file mode 100644 index 0000000..d09f240 --- /dev/null +++ b/js/docs/Sage_UNETLoader.md @@ -0,0 +1,11 @@ +# Sage_UNETLoader + +**Load Diffusion Model w/ Metadata** + +Loads a UNET diffusion model and outputs model info with metadata. + +## Parameters +- **model_path**: Path to the model file. + +## Usage +Use to load UNET models and access their metadata for reporting or workflow logic. diff --git a/js/docs/Sage_ViewAnything.md b/js/docs/Sage_ViewAnything.md new file mode 100644 index 0000000..f297549 --- /dev/null +++ b/js/docs/Sage_ViewAnything.md @@ -0,0 +1,11 @@ +# Sage_ViewAnything + +**View Any Node as Text** + +Displays the output of any node as text. Useful for debugging or inspecting non-string outputs. + +## Parameters +- **input**: The value to display as text. + +## Usage +Connect to any node to visualize its output as a string.