Save 4 hours! We auto-setup your workflow! Free!

Drop your workflow.json — we handle every dependency, custom node, and model. Just open the link and run.

Auto-Setup Workflow Json (Free) Now!
ComfyUI > Nodes > Sage Utils > Construct Metadata Flexible

ComfyUI Node: Construct Metadata Flexible

Class Name

Sage_ConstructMetadataFlexible

Category
Sage Utils/metadata
Author
arcum42 (Account age: 6442days)
Extension
Sage Utils
Latest Updated
2026-05-17
Github Stars
0.03K

How to Install Sage Utils

Install this extension via the ComfyUI Manager by searching for Sage Utils
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter Sage Utils in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

Construct Metadata Flexible Description

Constructs flexible metadata for AI art, supporting various styles and detailed info inclusion.

Construct Metadata Flexible:

The Sage_ConstructMetadataFlexible node is designed to construct metadata in a flexible manner, supporting various styles to cater to different needs. This node is particularly useful for AI artists who want to generate metadata that aligns with specific formats or requirements, such as A1111 Full, A1111 Lite, or Simple styles. The node allows for the inclusion of detailed information like model hashes and LoRA resources, which can be crucial for documentation and reproducibility of AI-generated art. By providing a customizable approach to metadata construction, this node enhances the ability to manage and utilize metadata effectively, ensuring that the generated content is both comprehensive and tailored to the user's preferences.

Construct Metadata Flexible Input Parameters:

model_info

This parameter is essential as it provides the foundational information about the model being used. It can be a dictionary or tuple containing details like the model's name and hash. This information is crucial for generating accurate metadata and ensuring that the model's identity is clearly documented. There is no default value, and it is a required input.

positive_string

The positive_string parameter allows you to input a string that represents positive prompts or keywords associated with the model's output. This can help in generating metadata that highlights the intended positive aspects or themes of the generated content. The default value is an empty string.

negative_string

Similar to the positive_string, the negative_string parameter is used to input a string that represents negative prompts or keywords. This helps in documenting any negative aspects or themes that should be avoided in the generated content. The default value is an empty string.

sampler_info

This parameter provides information about the sampler used in the generation process. It is a dictionary that may include details like the sampler's name, steps, and configuration settings. This information is vital for reproducing the generation process and understanding the sampling method applied. There is no default value specified.

width

The width parameter specifies the width of the generated content in pixels. It impacts the size of the output and is important for ensuring that the metadata accurately reflects the dimensions of the generated art. The default value is 1024 pixels.

height

Similar to the width, the height parameter specifies the height of the generated content in pixels. It is crucial for documenting the dimensions of the output and ensuring consistency in metadata. The default value is 1024 pixels.

metadata_style

This parameter allows you to choose the style of metadata to be generated. Options include "A1111 Full", "A1111 Lite", "Simple", and any other styles defined in metadata_templates. This flexibility enables you to tailor the metadata to specific requirements or preferences. The default style is "A1111 Full".

lora_stack

The lora_stack parameter is optional and allows you to include a list of LoRA resources used in the generation process. This can be important for documenting additional resources or modifications applied to the model. If not provided, it defaults to None.

Construct Metadata Flexible Output Parameters:

param_metadata

The param_metadata output is a string that contains the constructed metadata based on the input parameters and selected style. This metadata is crucial for documenting the generation process, including model details, prompts, sampler information, and any additional resources used. It serves as a comprehensive record that can be used for reproducibility, analysis, and sharing of AI-generated art.

Construct Metadata Flexible Usage Tips:

  • To ensure comprehensive metadata, always provide detailed model_info and sampler_info inputs, as these are crucial for accurate documentation.
  • Experiment with different metadata_style options to find the format that best suits your needs, especially if you are sharing your work on platforms with specific metadata requirements.

Construct Metadata Flexible Common Errors and Solutions:

Error: model_info is required

  • Explanation: This error occurs when the model_info parameter is not provided, which is essential for constructing metadata.
  • Solution: Ensure that you provide a valid model_info input, containing necessary details about the model, to avoid this error.

Construct Metadata Flexible Related Nodes

Go back to the extension to check out more related nodes.
Sage Utils
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.

Construct Metadata Flexible