feat: add model links for default workflow

Provide direct links so users can find and download missing models when loading the default workflow.

However, this change can be annoying if the user does not want to use the SD1.5 model, since it is the default workflow.
This commit is contained in:
ComfyUI Wiki
2026-04-16 23:24:00 +08:00
parent a1e6fb36d2
commit 1b18050070

View File

@@ -115,7 +115,15 @@ export const defaultGraph: ComfyWorkflowJSON = {
{ name: 'CLIP', type: 'CLIP', links: [3, 5], slot_index: 1 },
{ name: 'VAE', type: 'VAE', links: [8], slot_index: 2 }
],
properties: {},
properties: {
models: [
{
name: 'v1-5-pruned-emaonly-fp16.safetensors',
url: 'https://huggingface.co/Comfy-Org/stable-diffusion-v1-5-archive/resolve/main/v1-5-pruned-emaonly-fp16.safetensors?download=true',
directory: 'checkpoints'
}
]
},
widgets_values: ['v1-5-pruned-emaonly-fp16.safetensors']
}
],