feat: add model type mappings for cloud custom nodes

Add mappings for model directories used by cloud-deployed custom nodes:
- FlashVSR, SEEDVR2 (video upscaling)
- depthanything (depth estimation)
- latent_upscale_models (latent upscaling)
- sam2, sams, ultralytics (segmentation)
- nlf (other)

These mappings enable the "Use" button in the model browser to create
the correct loader node when users click on models in these directories.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Deep Mehta
2026-01-30 18:06:38 +05:30
parent b4649bc96d
commit 6108a6c0a1

View File

@@ -192,6 +192,24 @@ export const useModelToNodeStore = defineStore('modelToNode', () => {
''
)
quickRegister('chatterbox/chatterbox_vc', 'FL_ChatterboxVC', '')
// Video upscaling models
quickRegister('FlashVSR', 'FlashVSRInitPipe', 'model')
quickRegister('SEEDVR2', 'SeedVR2LoadDiTModel', 'model')
// Depth estimation models
quickRegister('depthanything', 'DownloadAndLoadDepthAnythingV2Model', 'model')
// Latent upscaling models
quickRegister('latent_upscale_models', 'LatentUpscaleModelLoader', 'model_name')
// Segmentation models
quickRegister('sam2', 'DownloadAndLoadSAM2Model', 'model')
quickRegister('sams', 'SAMLoader', 'model_name')
quickRegister('ultralytics', 'UltralyticsDetectorProvider', 'model_name')
// Other specialized models
quickRegister('nlf', 'LoadNLFModel', 'nlf_model')
}
return {