Compare commits

...

3 Commits

Author SHA1 Message Date
Deep Mehta
8dd655ac57 feat: add ipadapter and segformer model mappings 2026-01-30 18:11:59 +05:30
GitHub Action
a0a1b9a926 [automated] Apply ESLint and Oxfmt fixes 2026-01-30 12:39:24 +00:00
Deep Mehta
6108a6c0a1 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>
2026-01-30 18:06:38 +05:30

View File

@@ -192,6 +192,52 @@ 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')
// IP-Adapter models
quickRegister('ipadapter', 'IPAdapterModelLoader', 'ipadapter_file')
// Segformer clothing/fashion segmentation models
quickRegister(
'segformer_b2_clothes',
'LayerMask: SegformerClothesPipelineLoader',
'model'
)
quickRegister(
'segformer_b3_clothes',
'LayerMask: SegformerClothesPipelineLoader',
'model'
)
quickRegister(
'segformer_b3_fashion',
'LayerMask: SegformerFashionPipelineLoader',
'model'
)
// Other specialized models
quickRegister('nlf', 'LoadNLFModel', 'nlf_model')
}
return {