Nodes/Sage Utils/Construct Metadata Flexible
ComfyUI Node

Construct Metadata Flexible

Flexible metadata constructor supporting multiple styles: A1111 Full (with LoRA hashes), A1111 Lite (simplified, only includes models on Civitai), Simple (No models or LoRAs) as well as any others defined in metadata_templates.

By arcum42·Created 2 years ago·Updated 24 days ago· 32
Construct Metadata Flexible
  • model_info
  • sampler_info
  • lora_stack
  • param_metadata
positive_string
negative_string
width1024
height1024
metadata_styleA1111 Full
CategorySage Utils/metadata

Inputs (8)

NameTypeDefaultDescription
model_infoMODEL_INFOModel info used to build metadata, such as checkpoint and model details.
positive_stringSTRINGThe positive prompt text to include in metadata.
negative_stringSTRINGThe negative prompt text to include in metadata.
sampler_infoSAMPLER_INFOSampler settings used to generate the image.
widthINT1024Image width used in metadata.
heightINT1024Image height used in metadata.
metadata_styleCOMBOA1111 FullThe metadata style format to produce.
lora_stackoptLORA_STACKOptional LoRA stack information to include in metadata.

Outputs (1)

NameTypeDescription
param_metadataSTRINGThe generated metadata string.