• ltdrdata's avatar
    Add clipspace feature. (#541) · f7a82188
    ltdrdata authored
    
    
    * Add clipspace feature.
    * feat: copy content to clipspace
    * feat: paste content from clipspace
    
    Extend validation to allow for validating annotated_path in addition to other parameters.
    
    Add support for annotated_filepath in folder_paths function.
    
    Generalize the '/upload/image' API to allow for uploading images to the 'input', 'temp', or 'output' directories.
    
    * rename contentClipboard -> clipspace
    
    * Do deep copy for imgs on copy to clipspace.
    
    * add original_imgs into clipspace
    * Preserve the original image when 'imgs' are modified
    
    * robust patch & refactoring folder_paths about annotated_filepath
    
    * Only show the Paste menu if the ComfyApp.clipspace is not empty
    
    * instant refresh on paste
    
    force triggering 'changed' on paste action
    
    * subfolder fix on paste logic
    
    attach subfolder if subfolder isn't empty
    
    ---------
    Co-authored-by: default avatarLt.Dr.Data <lt.dr.data@gmail.com>
    f7a82188
nodes.py 45.9 KB