Nodes/Save Image Organized/Strip Model Extension
ComfyUI Node

Strip Model Extension

Removes one known model file extension from the end of a string. Useful when you want a clean folder or filename from values such as 'model.safetensors' or 'model.gguf'.

By Delcado19·Created 4 months ago·Updated 3 months ago· 0
Strip Model Extension
    • clean_text
    text
    Categoryutils/filename

    Inputs (1)

    NameTypeDefaultDescription
    textSTRINGText to clean. Removes one known model file extension from the end, for example '.safetensors' or '.gguf'.

    Outputs (1)

    NameTypeDescription
    clean_textSTRINGThe input text with one known model file extension removed.