Initial Setup done
This commit is contained in:
parent
b68cb29fab
commit
26552b03af
11 changed files with 1753 additions and 69 deletions
99
server.js
99
server.js
|
|
@ -5474,7 +5474,7 @@ app.get('/api/system/stats', async (req, res) => {
|
|||
|
||||
const SETUP_DIR = path.join(path.dirname(fileURLToPath(import.meta.url)), 'setup');
|
||||
const SETUP_CONFIG_PATH = path.join(SETUP_DIR, 'setup.json');
|
||||
const SETUP_TYPE_TO_VALUE_TYPE = { Image: 'image', String: 'string', Number: 'number', Boolean: 'boolean' };
|
||||
const SETUP_TYPE_TO_VALUE_TYPE = { Image: 'image', String: 'string', Number: 'number', Boolean: 'boolean', Mesh: 'mesh', Video: 'video' };
|
||||
const setupDownloadJobs = new Map();
|
||||
|
||||
function getSetupDownloadJob(jobId) {
|
||||
|
|
@ -5685,14 +5685,33 @@ async function runSetupDownloads(jobId, comfyPath, files) {
|
|||
});
|
||||
}
|
||||
|
||||
async function installSetupWorkflow(workflowConfig, diffusionModelFileName) {
|
||||
async function deleteExistingWorkflowsByName(name) {
|
||||
const normalizedName = sanitizeDisplayName(name, 'Workflow');
|
||||
const records = await listWorkflowRecords();
|
||||
let deleted = 0;
|
||||
for (const record of records) {
|
||||
if (sanitizeDisplayName(record.name, 'Workflow') === normalizedName) {
|
||||
try {
|
||||
await deleteLibraryAssetByFilePath('workflow', record.filePath, { force: true });
|
||||
deleted += 1;
|
||||
} catch (err) {
|
||||
console.warn(`[setup] failed to delete existing workflow ${record.name}:`, err.message);
|
||||
}
|
||||
}
|
||||
}
|
||||
return deleted;
|
||||
}
|
||||
|
||||
async function installSetupWorkflow(workflowConfig, diffusionModelFileName = '') {
|
||||
if (!workflowConfig?.File) {
|
||||
throw new Error('Workflow configuration is missing a File path');
|
||||
}
|
||||
|
||||
const absoluteWorkflowPath = path.join(path.dirname(fileURLToPath(import.meta.url)), workflowConfig.File);
|
||||
const rawJson = await fs.readFile(absoluteWorkflowPath, 'utf-8');
|
||||
const substitutedJson = rawJson.replaceAll('{diffusion_model}', diffusionModelFileName);
|
||||
const substitutedJson = diffusionModelFileName
|
||||
? rawJson.replaceAll('{diffusion_model}', diffusionModelFileName)
|
||||
: rawJson;
|
||||
const workflowJson = JSON.parse(substitutedJson);
|
||||
|
||||
const parsedWorkflow = parseComfyWorkflow(workflowJson);
|
||||
|
|
@ -5921,39 +5940,77 @@ app.get('/api/setup/download/progress/:jobId', (req, res) => {
|
|||
|
||||
app.post('/api/setup/install-workflows', async (req, res) => {
|
||||
try {
|
||||
const selections = Array.isArray(req.body?.selections) ? req.body.selections : [];
|
||||
if (selections.length === 0) {
|
||||
return res.json({ installed: [] });
|
||||
const workflows = Array.isArray(req.body?.workflows) ? req.body.workflows : [];
|
||||
const overwrite = req.body?.overwrite === true;
|
||||
|
||||
if (workflows.length === 0) {
|
||||
return res.json({ installed: [], skipped: [], errors: [] });
|
||||
}
|
||||
|
||||
const config = await loadSetupConfig();
|
||||
const diffusionByName = new Map((config.DiffusionModels || []).map(model => [model.Name, model]));
|
||||
const workflowsByFile = new Map();
|
||||
for (const diffusion of config.DiffusionModels || []) {
|
||||
for (const workflow of diffusion.Workflows || []) {
|
||||
workflowsByFile.set(workflow.File, { workflow, diffusion });
|
||||
}
|
||||
}
|
||||
for (const workflow of config.OtherWorkflows || []) {
|
||||
workflowsByFile.set(workflow.File, { workflow, diffusion: null });
|
||||
}
|
||||
|
||||
const existingByName = new Map();
|
||||
for (const record of await listWorkflowRecords()) {
|
||||
existingByName.set(sanitizeDisplayName(record.name, 'Workflow'), record);
|
||||
}
|
||||
|
||||
const installed = [];
|
||||
const skipped = [];
|
||||
const errors = [];
|
||||
|
||||
for (const selection of selections) {
|
||||
const diffusion = diffusionByName.get(selection.diffusionName);
|
||||
if (!diffusion) {
|
||||
errors.push({ diffusionName: selection.diffusionName, error: 'Unknown DiffusionModel' });
|
||||
for (const selection of workflows) {
|
||||
const entry = workflowsByFile.get(selection.workflowFile);
|
||||
if (!entry) {
|
||||
errors.push({ workflowFile: selection.workflowFile, error: 'Unknown workflow' });
|
||||
continue;
|
||||
}
|
||||
const modelEntry = diffusion.Models?.[selection.modelQuality];
|
||||
if (!modelEntry?.FileName) {
|
||||
errors.push({ diffusionName: selection.diffusionName, error: `Unknown model quality ${selection.modelQuality}` });
|
||||
|
||||
const { workflow: workflowConfig, diffusion } = entry;
|
||||
const normalizedName = sanitizeDisplayName(workflowConfig.Name, 'Workflow');
|
||||
const existing = existingByName.get(normalizedName);
|
||||
|
||||
if (existing && !overwrite) {
|
||||
skipped.push({ name: normalizedName, reason: 'already-installed' });
|
||||
continue;
|
||||
}
|
||||
for (const workflowConfig of diffusion.Workflows || []) {
|
||||
try {
|
||||
const record = await installSetupWorkflow(workflowConfig, modelEntry.FileName);
|
||||
installed.push({ id: record.id, name: record.name });
|
||||
} catch (err) {
|
||||
console.error(`[setup] failed to install workflow ${workflowConfig?.Name}:`, err);
|
||||
errors.push({ workflow: workflowConfig?.Name, error: err.message || String(err) });
|
||||
|
||||
let diffusionFileName = '';
|
||||
if (diffusion) {
|
||||
const diffusionRecord = selection.diffusionName ? diffusionByName.get(selection.diffusionName) : diffusion;
|
||||
const modelEntry = diffusionRecord?.Models?.[selection.modelQuality];
|
||||
if (!modelEntry?.FileName) {
|
||||
errors.push({ workflow: normalizedName, error: 'Missing diffusion model selection' });
|
||||
continue;
|
||||
}
|
||||
diffusionFileName = modelEntry.FileName;
|
||||
}
|
||||
|
||||
try {
|
||||
if (existing && overwrite) {
|
||||
await deleteExistingWorkflowsByName(normalizedName);
|
||||
existingByName.delete(normalizedName);
|
||||
}
|
||||
|
||||
const record = await installSetupWorkflow(workflowConfig, diffusionFileName);
|
||||
existingByName.set(normalizedName, record);
|
||||
installed.push({ id: record.id, name: record.name, overwritten: Boolean(existing) });
|
||||
} catch (err) {
|
||||
console.error(`[setup] failed to install workflow ${workflowConfig?.Name}:`, err);
|
||||
errors.push({ workflow: normalizedName, error: err.message || String(err) });
|
||||
}
|
||||
}
|
||||
|
||||
res.json({ installed, errors });
|
||||
res.json({ installed, skipped, errors });
|
||||
} catch (err) {
|
||||
console.error('Failed to install setup workflows:', err);
|
||||
res.status(500).json({ error: err.message || 'Failed to install setup workflows' });
|
||||
|
|
|
|||
310
setup/Delight Image with QwenImageEdit2511.json
Normal file
310
setup/Delight Image with QwenImageEdit2511.json
Normal file
|
|
@ -0,0 +1,310 @@
|
|||
{
|
||||
"139": {
|
||||
"inputs": {
|
||||
"shift": 3.1,
|
||||
"model": [
|
||||
"173",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "ModelSamplingAuraFlow",
|
||||
"_meta": {
|
||||
"title": "ModelSamplingAuraFlow"
|
||||
}
|
||||
},
|
||||
"140": {
|
||||
"inputs": {
|
||||
"strength": 1,
|
||||
"pre_cfg": false,
|
||||
"model": [
|
||||
"139",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "CFGNorm",
|
||||
"_meta": {
|
||||
"title": "CFGNorm"
|
||||
}
|
||||
},
|
||||
"141": {
|
||||
"inputs": {
|
||||
"prompt": "",
|
||||
"clip": [
|
||||
"154",
|
||||
0
|
||||
],
|
||||
"vae": [
|
||||
"151",
|
||||
0
|
||||
],
|
||||
"image1": [
|
||||
"177",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "TextEncodeQwenImageEditPlus",
|
||||
"_meta": {
|
||||
"title": "TextEncodeQwenImageEditPlus"
|
||||
}
|
||||
},
|
||||
"143": {
|
||||
"inputs": {
|
||||
"seed": 12345,
|
||||
"steps": 4,
|
||||
"cfg": 1,
|
||||
"sampler_name": "euler",
|
||||
"scheduler": "simple",
|
||||
"denoise": 1,
|
||||
"model": [
|
||||
"140",
|
||||
0
|
||||
],
|
||||
"positive": [
|
||||
"149",
|
||||
0
|
||||
],
|
||||
"negative": [
|
||||
"150",
|
||||
0
|
||||
],
|
||||
"latent_image": [
|
||||
"153",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "KSampler",
|
||||
"_meta": {
|
||||
"title": "KSampler"
|
||||
}
|
||||
},
|
||||
"145": {
|
||||
"inputs": {
|
||||
"unet_name": "{diffusion_model}"
|
||||
},
|
||||
"class_type": "UnetLoaderGGUF",
|
||||
"_meta": {
|
||||
"title": "Unet Loader (GGUF)"
|
||||
}
|
||||
},
|
||||
"146": {
|
||||
"inputs": {
|
||||
"image": ""
|
||||
},
|
||||
"class_type": "LoadImage",
|
||||
"_meta": {
|
||||
"title": "Reference Image"
|
||||
}
|
||||
},
|
||||
"147": {
|
||||
"inputs": {
|
||||
"tile_size": 128,
|
||||
"overlap": 64,
|
||||
"temporal_size": 64,
|
||||
"temporal_overlap": 8,
|
||||
"samples": [
|
||||
"143",
|
||||
0
|
||||
],
|
||||
"vae": [
|
||||
"151",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "VAEDecodeTiled",
|
||||
"_meta": {
|
||||
"title": "VAE Decode (Tiled)"
|
||||
}
|
||||
},
|
||||
"148": {
|
||||
"inputs": {
|
||||
"prompt": "Neutral uniform lighting Preserve identity and composition",
|
||||
"clip": [
|
||||
"154",
|
||||
0
|
||||
],
|
||||
"vae": [
|
||||
"151",
|
||||
0
|
||||
],
|
||||
"image1": [
|
||||
"177",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "TextEncodeQwenImageEditPlus",
|
||||
"_meta": {
|
||||
"title": "TextEncodeQwenImageEditPlus (Positive)"
|
||||
}
|
||||
},
|
||||
"149": {
|
||||
"inputs": {
|
||||
"reference_latents_method": "index_timestep_zero",
|
||||
"conditioning": [
|
||||
"148",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "FluxKontextMultiReferenceLatentMethod",
|
||||
"_meta": {
|
||||
"title": "Edit Model Reference Method"
|
||||
}
|
||||
},
|
||||
"150": {
|
||||
"inputs": {
|
||||
"reference_latents_method": "index_timestep_zero",
|
||||
"conditioning": [
|
||||
"141",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "FluxKontextMultiReferenceLatentMethod",
|
||||
"_meta": {
|
||||
"title": "Edit Model Reference Method"
|
||||
}
|
||||
},
|
||||
"151": {
|
||||
"inputs": {
|
||||
"vae_name": "qwen_image_vae.safetensors"
|
||||
},
|
||||
"class_type": "VAELoader",
|
||||
"_meta": {
|
||||
"title": "Load VAE"
|
||||
}
|
||||
},
|
||||
"152": {
|
||||
"inputs": {
|
||||
"lora_name": "Qwen-Image-Edit-2511-Lightning-4steps-V1.0-bf16.safetensors",
|
||||
"strength_model": 1,
|
||||
"model": [
|
||||
"145",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "LoraLoaderModelOnly",
|
||||
"_meta": {
|
||||
"title": "Load LoRA"
|
||||
}
|
||||
},
|
||||
"153": {
|
||||
"inputs": {
|
||||
"width": [
|
||||
"172",
|
||||
0
|
||||
],
|
||||
"height": [
|
||||
"172",
|
||||
0
|
||||
],
|
||||
"batch_size": 1
|
||||
},
|
||||
"class_type": "EmptyLatentImage",
|
||||
"_meta": {
|
||||
"title": "Empty Latent Image"
|
||||
}
|
||||
},
|
||||
"154": {
|
||||
"inputs": {
|
||||
"clip_name": "qwen_2.5_vl_7b_fp8_scaled.safetensors",
|
||||
"type": "qwen_image",
|
||||
"device": "default"
|
||||
},
|
||||
"class_type": "CLIPLoader",
|
||||
"_meta": {
|
||||
"title": "Load CLIP"
|
||||
}
|
||||
},
|
||||
"155": {
|
||||
"inputs": {
|
||||
"filename_prefix": "Qwen",
|
||||
"images": [
|
||||
"147",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "SaveImage",
|
||||
"_meta": {
|
||||
"title": "Save Image"
|
||||
}
|
||||
},
|
||||
"172": {
|
||||
"inputs": {
|
||||
"value": 1024
|
||||
},
|
||||
"class_type": "PrimitiveInt",
|
||||
"_meta": {
|
||||
"title": "Image Resolution"
|
||||
}
|
||||
},
|
||||
"173": {
|
||||
"inputs": {
|
||||
"lora_name": "QIE-2511-Studio-DeLight-5000.safetensors",
|
||||
"strength_model": 1,
|
||||
"model": [
|
||||
"152",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "LoraLoaderModelOnly",
|
||||
"_meta": {
|
||||
"title": "Load LoRA"
|
||||
}
|
||||
},
|
||||
"174": {
|
||||
"inputs": {
|
||||
"value": 1,
|
||||
"width": 1024,
|
||||
"height": 1024
|
||||
},
|
||||
"class_type": "SolidMask",
|
||||
"_meta": {
|
||||
"title": "SolidMask"
|
||||
}
|
||||
},
|
||||
"175": {
|
||||
"inputs": {
|
||||
"mask": [
|
||||
"174",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "MaskToImage",
|
||||
"_meta": {
|
||||
"title": "Convert Mask to Image"
|
||||
}
|
||||
},
|
||||
"176": {
|
||||
"inputs": {
|
||||
"mask": [
|
||||
"146",
|
||||
1
|
||||
]
|
||||
},
|
||||
"class_type": "InvertMask",
|
||||
"_meta": {
|
||||
"title": "Invert Mask"
|
||||
}
|
||||
},
|
||||
"177": {
|
||||
"inputs": {
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"resize_source": false,
|
||||
"destination": [
|
||||
"175",
|
||||
0
|
||||
],
|
||||
"source": [
|
||||
"146",
|
||||
0
|
||||
],
|
||||
"mask": [
|
||||
"176",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "ImageCompositeMasked",
|
||||
"_meta": {
|
||||
"title": "Image Composite Masked"
|
||||
}
|
||||
}
|
||||
}
|
||||
238
setup/Edit Image with QwenImageEdit2511.json
Normal file
238
setup/Edit Image with QwenImageEdit2511.json
Normal file
|
|
@ -0,0 +1,238 @@
|
|||
{
|
||||
"139": {
|
||||
"inputs": {
|
||||
"shift": 3.1,
|
||||
"model": [
|
||||
"152",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "ModelSamplingAuraFlow",
|
||||
"_meta": {
|
||||
"title": "ModelSamplingAuraFlow"
|
||||
}
|
||||
},
|
||||
"140": {
|
||||
"inputs": {
|
||||
"strength": 1,
|
||||
"pre_cfg": false,
|
||||
"model": [
|
||||
"139",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "CFGNorm",
|
||||
"_meta": {
|
||||
"title": "CFGNorm"
|
||||
}
|
||||
},
|
||||
"141": {
|
||||
"inputs": {
|
||||
"prompt": "",
|
||||
"clip": [
|
||||
"154",
|
||||
0
|
||||
],
|
||||
"vae": [
|
||||
"151",
|
||||
0
|
||||
],
|
||||
"image1": [
|
||||
"146",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "TextEncodeQwenImageEditPlus",
|
||||
"_meta": {
|
||||
"title": "TextEncodeQwenImageEditPlus"
|
||||
}
|
||||
},
|
||||
"143": {
|
||||
"inputs": {
|
||||
"seed": 1234,
|
||||
"steps": 4,
|
||||
"cfg": 1,
|
||||
"sampler_name": "euler",
|
||||
"scheduler": "simple",
|
||||
"denoise": 1,
|
||||
"model": [
|
||||
"140",
|
||||
0
|
||||
],
|
||||
"positive": [
|
||||
"149",
|
||||
0
|
||||
],
|
||||
"negative": [
|
||||
"150",
|
||||
0
|
||||
],
|
||||
"latent_image": [
|
||||
"153",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "KSampler",
|
||||
"_meta": {
|
||||
"title": "KSampler"
|
||||
}
|
||||
},
|
||||
"145": {
|
||||
"inputs": {
|
||||
"unet_name": "{diffusion_model}"
|
||||
},
|
||||
"class_type": "UnetLoaderGGUF",
|
||||
"_meta": {
|
||||
"title": "Unet Loader (GGUF)"
|
||||
}
|
||||
},
|
||||
"146": {
|
||||
"inputs": {
|
||||
"image": ""
|
||||
},
|
||||
"class_type": "LoadImage",
|
||||
"_meta": {
|
||||
"title": "Load Image"
|
||||
}
|
||||
},
|
||||
"147": {
|
||||
"inputs": {
|
||||
"tile_size": 128,
|
||||
"overlap": 64,
|
||||
"temporal_size": 64,
|
||||
"temporal_overlap": 8,
|
||||
"samples": [
|
||||
"143",
|
||||
0
|
||||
],
|
||||
"vae": [
|
||||
"151",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "VAEDecodeTiled",
|
||||
"_meta": {
|
||||
"title": "VAE Decode (Tiled)"
|
||||
}
|
||||
},
|
||||
"148": {
|
||||
"inputs": {
|
||||
"prompt": "",
|
||||
"clip": [
|
||||
"154",
|
||||
0
|
||||
],
|
||||
"vae": [
|
||||
"151",
|
||||
0
|
||||
],
|
||||
"image1": [
|
||||
"146",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "TextEncodeQwenImageEditPlus",
|
||||
"_meta": {
|
||||
"title": "TextEncodeQwenImageEditPlus (Positive)"
|
||||
}
|
||||
},
|
||||
"149": {
|
||||
"inputs": {
|
||||
"reference_latents_method": "index_timestep_zero",
|
||||
"conditioning": [
|
||||
"148",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "FluxKontextMultiReferenceLatentMethod",
|
||||
"_meta": {
|
||||
"title": "Edit Model Reference Method"
|
||||
}
|
||||
},
|
||||
"150": {
|
||||
"inputs": {
|
||||
"reference_latents_method": "index_timestep_zero",
|
||||
"conditioning": [
|
||||
"141",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "FluxKontextMultiReferenceLatentMethod",
|
||||
"_meta": {
|
||||
"title": "Edit Model Reference Method"
|
||||
}
|
||||
},
|
||||
"151": {
|
||||
"inputs": {
|
||||
"vae_name": "qwen_image_vae.safetensors"
|
||||
},
|
||||
"class_type": "VAELoader",
|
||||
"_meta": {
|
||||
"title": "Load VAE"
|
||||
}
|
||||
},
|
||||
"152": {
|
||||
"inputs": {
|
||||
"lora_name": "Qwen-Image-Edit-2511-Lightning-4steps-V1.0-bf16.safetensors",
|
||||
"strength_model": 1,
|
||||
"model": [
|
||||
"145",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "LoraLoaderModelOnly",
|
||||
"_meta": {
|
||||
"title": "Load LoRA"
|
||||
}
|
||||
},
|
||||
"153": {
|
||||
"inputs": {
|
||||
"width": [
|
||||
"156",
|
||||
0
|
||||
],
|
||||
"height": [
|
||||
"156",
|
||||
0
|
||||
],
|
||||
"batch_size": 1
|
||||
},
|
||||
"class_type": "EmptyLatentImage",
|
||||
"_meta": {
|
||||
"title": "Empty Latent Image"
|
||||
}
|
||||
},
|
||||
"154": {
|
||||
"inputs": {
|
||||
"clip_name": "qwen_2.5_vl_7b_fp8_scaled.safetensors",
|
||||
"type": "qwen_image",
|
||||
"device": "default"
|
||||
},
|
||||
"class_type": "CLIPLoader",
|
||||
"_meta": {
|
||||
"title": "Load CLIP"
|
||||
}
|
||||
},
|
||||
"155": {
|
||||
"inputs": {
|
||||
"filename_prefix": "Images/Image",
|
||||
"images": [
|
||||
"147",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "SaveImage",
|
||||
"_meta": {
|
||||
"title": "Save Image"
|
||||
}
|
||||
},
|
||||
"156": {
|
||||
"inputs": {
|
||||
"value": 1024
|
||||
},
|
||||
"class_type": "PrimitiveInt",
|
||||
"_meta": {
|
||||
"title": "Image Resolution"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"6": {
|
||||
"inputs": {
|
||||
"image": "Image_1024_00146_.png"
|
||||
"image": ""
|
||||
},
|
||||
"class_type": "Trellis2LoadImageWithTransparency",
|
||||
"_meta": {
|
||||
|
|
@ -70,10 +70,7 @@
|
|||
},
|
||||
"203": {
|
||||
"inputs": {
|
||||
"filename_prefix": [
|
||||
"219",
|
||||
0
|
||||
],
|
||||
"filename_prefix": "3DGenStudio",
|
||||
"file_format": "glb",
|
||||
"trimesh": [
|
||||
"202",
|
||||
|
|
@ -214,15 +211,6 @@
|
|||
"title": "Trellis2 - Simplify Mesh"
|
||||
}
|
||||
},
|
||||
"219": {
|
||||
"inputs": {
|
||||
"value": "LionShield"
|
||||
},
|
||||
"class_type": "PrimitiveString",
|
||||
"_meta": {
|
||||
"title": "Name"
|
||||
}
|
||||
},
|
||||
"232": {
|
||||
"inputs": {
|
||||
"model_file": [
|
||||
|
|
|
|||
328
setup/Gen TexturedMesh with Trellis2.json
Normal file
328
setup/Gen TexturedMesh with Trellis2.json
Normal file
|
|
@ -0,0 +1,328 @@
|
|||
{
|
||||
"6": {
|
||||
"inputs": {
|
||||
"image": ""
|
||||
},
|
||||
"class_type": "Trellis2LoadImageWithTransparency",
|
||||
"_meta": {
|
||||
"title": "Source Image"
|
||||
}
|
||||
},
|
||||
"39": {
|
||||
"inputs": {
|
||||
"modelname": "microsoft/TRELLIS.2-4B",
|
||||
"backend": "flash_attn",
|
||||
"device": "cuda",
|
||||
"low_vram": true,
|
||||
"keep_models_loaded": false,
|
||||
"conv_backend": "flex_gemm",
|
||||
"sparse_backend": "flash_attn",
|
||||
"use_reconviagen": false
|
||||
},
|
||||
"class_type": "Trellis2LoadModel",
|
||||
"_meta": {
|
||||
"title": "Trellis2 - LoadModel"
|
||||
}
|
||||
},
|
||||
"161": {
|
||||
"inputs": {
|
||||
"remesh_band": 1,
|
||||
"resolution": 1024,
|
||||
"remove_floaters": true,
|
||||
"remove_inner_faces": true,
|
||||
"mesh": [
|
||||
"217",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "Trellis2ReconstructMeshWithQuad",
|
||||
"_meta": {
|
||||
"title": "Trellis2 - Reconstruct Mesh With Quad"
|
||||
}
|
||||
},
|
||||
"194": {
|
||||
"inputs": {
|
||||
"padding": 10,
|
||||
"remove_background": false,
|
||||
"max_size": 1024,
|
||||
"image": [
|
||||
"6",
|
||||
2
|
||||
]
|
||||
},
|
||||
"class_type": "Trellis2PreProcessImage",
|
||||
"_meta": {
|
||||
"title": "Trellis2 - PreProcess Image"
|
||||
}
|
||||
},
|
||||
"203": {
|
||||
"inputs": {
|
||||
"filename_prefix": "3DGenStudio",
|
||||
"file_format": "glb",
|
||||
"trimesh": [
|
||||
"261",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "Trellis2ExportMesh",
|
||||
"_meta": {
|
||||
"title": "Trellis2 - Export Mesh"
|
||||
}
|
||||
},
|
||||
"209": {
|
||||
"inputs": {
|
||||
"value": 500000
|
||||
},
|
||||
"class_type": "PrimitiveInt",
|
||||
"_meta": {
|
||||
"title": "Target Face Number"
|
||||
}
|
||||
},
|
||||
"213": {
|
||||
"inputs": {
|
||||
"max_views": 1,
|
||||
"pipeline": [
|
||||
"39",
|
||||
0
|
||||
],
|
||||
"image": [
|
||||
"194",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "Trellis2ImageCondGenerator",
|
||||
"_meta": {
|
||||
"title": "Trellis2 - ImageCond Generator"
|
||||
}
|
||||
},
|
||||
"214": {
|
||||
"inputs": {
|
||||
"seed": 304843910,
|
||||
"sparse_structure_steps": 25,
|
||||
"sparse_structure_guidance_strength": 7.5,
|
||||
"sparse_structure_guidance_rescale": 0.7,
|
||||
"sparse_structure_rescale_t": 5,
|
||||
"sparse_structure_sampler": "heun",
|
||||
"sparse_structure_resolution": 32,
|
||||
"sparse_structure_guidance_interval_start": 0.6,
|
||||
"sparse_structure_guidance_interval_end": 1,
|
||||
"fill_holes": true,
|
||||
"hole_iterations": 1,
|
||||
"verbose": false,
|
||||
"dino_lock": 0.65,
|
||||
"dino_substeps": 2,
|
||||
"hole_fill_algorithm": "flood_fill",
|
||||
"dino_foundation_cap": 0.92,
|
||||
"keep_only_shell": true,
|
||||
"pipeline": [
|
||||
"213",
|
||||
2
|
||||
],
|
||||
"image_cond": [
|
||||
"213",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "Trellis2SparseGenerator",
|
||||
"_meta": {
|
||||
"title": "Trellis2 - Sparse Generator"
|
||||
}
|
||||
},
|
||||
"215": {
|
||||
"inputs": {
|
||||
"resolution": 512,
|
||||
"shape_steps": 12,
|
||||
"shape_guidance_strength": 7.5,
|
||||
"shape_guidance_rescale": 0.5,
|
||||
"shape_rescale_t": 3,
|
||||
"shape_sampler": "heun",
|
||||
"shape_guidance_interval_start": 0.1,
|
||||
"shape_guidance_interval_end": 1,
|
||||
"verbose": false,
|
||||
"dino_lock": 0.65,
|
||||
"dino_substeps": 2,
|
||||
"dino_foundation_cap": 0.92,
|
||||
"pipeline": [
|
||||
"214",
|
||||
2
|
||||
],
|
||||
"image_cond": [
|
||||
"213",
|
||||
0
|
||||
],
|
||||
"coords": [
|
||||
"214",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "Trellis2ShapeGenerator",
|
||||
"_meta": {
|
||||
"title": "Trellis2 - Shape Generator"
|
||||
}
|
||||
},
|
||||
"217": {
|
||||
"inputs": {
|
||||
"resolution": [
|
||||
"258",
|
||||
1
|
||||
],
|
||||
"use_tiled_decoder": true,
|
||||
"pipeline": [
|
||||
"260",
|
||||
1
|
||||
],
|
||||
"shape_slat": [
|
||||
"258",
|
||||
0
|
||||
],
|
||||
"texture_slat": [
|
||||
"260",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "Trellis2DecodeLatents",
|
||||
"_meta": {
|
||||
"title": "Trellis2 - Decode Latents"
|
||||
}
|
||||
},
|
||||
"218": {
|
||||
"inputs": {
|
||||
"target_face_num": [
|
||||
"209",
|
||||
0
|
||||
],
|
||||
"method": "Cumesh",
|
||||
"mesh": [
|
||||
"161",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "Trellis2SimplifyMesh",
|
||||
"_meta": {
|
||||
"title": "Trellis2 - Simplify Mesh"
|
||||
}
|
||||
},
|
||||
"232": {
|
||||
"inputs": {
|
||||
"model_file": [
|
||||
"203",
|
||||
0
|
||||
],
|
||||
"image": ""
|
||||
},
|
||||
"class_type": "Preview3D",
|
||||
"_meta": {
|
||||
"title": "Preview 3D & Animation"
|
||||
}
|
||||
},
|
||||
"258": {
|
||||
"inputs": {
|
||||
"from_resolution": [
|
||||
"215",
|
||||
1
|
||||
],
|
||||
"to_resolution": 1024,
|
||||
"sparse_structure_resolution": 32,
|
||||
"max_num_tokens": 999999,
|
||||
"shape_steps": 12,
|
||||
"shape_guidance_strength": 7.5,
|
||||
"shape_guidance_rescale": 0.5,
|
||||
"shape_rescale_t": 3,
|
||||
"shape_sampler": "heun",
|
||||
"shape_guidance_interval_start": 0.6,
|
||||
"shape_guidance_interval_end": 1,
|
||||
"verbose": false,
|
||||
"dino_lock": 0.65,
|
||||
"dino_substeps": 2,
|
||||
"dino_foundation_cap": 0.92,
|
||||
"pipeline": [
|
||||
"215",
|
||||
2
|
||||
],
|
||||
"image_cond": [
|
||||
"213",
|
||||
1
|
||||
],
|
||||
"shape_slat": [
|
||||
"215",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "Trellis2ShapeCascadeGenerator",
|
||||
"_meta": {
|
||||
"title": "Trellis2 - Shape Cascade Generator"
|
||||
}
|
||||
},
|
||||
"259": {
|
||||
"inputs": {
|
||||
"mesh": [
|
||||
"218",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "Trellis2FillHolesWithMeshlib",
|
||||
"_meta": {
|
||||
"title": "Trellis2 - Fill Holes with Meshlib"
|
||||
}
|
||||
},
|
||||
"260": {
|
||||
"inputs": {
|
||||
"resolution": 1024,
|
||||
"texture_steps": 12,
|
||||
"texture_guidance_strength": 1,
|
||||
"texture_guidance_rescale": 0,
|
||||
"texture_rescale_t": 3,
|
||||
"texture_sampler": "euler",
|
||||
"texture_guidance_interval_start": 0.6,
|
||||
"texture_guidance_interval_end": 0.9,
|
||||
"verbose": false,
|
||||
"dino_lock": 0,
|
||||
"dino_substeps": 2,
|
||||
"dino_foundation_cap": 0.92,
|
||||
"from_resolution": 0,
|
||||
"pipeline": [
|
||||
"258",
|
||||
2
|
||||
],
|
||||
"image_cond": [
|
||||
"213",
|
||||
1
|
||||
],
|
||||
"shape_slat": [
|
||||
"258",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "Trellis2TexSlatGenerator",
|
||||
"_meta": {
|
||||
"title": "Trellis2 - Tex Slat Generator"
|
||||
}
|
||||
},
|
||||
"261": {
|
||||
"inputs": {
|
||||
"mesh_cluster_threshold_cone_half_angle_rad": 60,
|
||||
"mesh_cluster_refine_iterations": 0,
|
||||
"mesh_cluster_global_iterations": 1,
|
||||
"mesh_cluster_smooth_strength": 1,
|
||||
"texture_size": 2048,
|
||||
"texture_alpha_mode": "OPAQUE",
|
||||
"double_side_material": false,
|
||||
"bake_on_vertices": false,
|
||||
"use_custom_normals": true,
|
||||
"inpainting": "telea",
|
||||
"reorient_vertices": "90 degrees",
|
||||
"mesh": [
|
||||
"259",
|
||||
0
|
||||
],
|
||||
"bvh": [
|
||||
"217",
|
||||
1
|
||||
]
|
||||
},
|
||||
"class_type": "Trellis2UnWrapAndRasterizer",
|
||||
"_meta": {
|
||||
"title": "Trellis2 - UV Unwrap and Rasterize"
|
||||
}
|
||||
}
|
||||
}
|
||||
333
setup/Inpainting with QwenImageEdit.json
Normal file
333
setup/Inpainting with QwenImageEdit.json
Normal file
|
|
@ -0,0 +1,333 @@
|
|||
{
|
||||
"1": {
|
||||
"inputs": {
|
||||
"prompt": "",
|
||||
"clip": [
|
||||
"33",
|
||||
0
|
||||
],
|
||||
"vae": [
|
||||
"10",
|
||||
0
|
||||
],
|
||||
"image1": [
|
||||
"158",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "TextEncodeQwenImageEditPlus",
|
||||
"_meta": {
|
||||
"title": "TextEncodeQwenImageEditPlus (Positive Prompt)"
|
||||
}
|
||||
},
|
||||
"10": {
|
||||
"inputs": {
|
||||
"vae_name": "qwen_image_vae.safetensors"
|
||||
},
|
||||
"class_type": "VAELoader",
|
||||
"_meta": {
|
||||
"title": "Load VAE"
|
||||
}
|
||||
},
|
||||
"11": {
|
||||
"inputs": {
|
||||
"image": ""
|
||||
},
|
||||
"class_type": "LoadImage",
|
||||
"_meta": {
|
||||
"title": "Source Image"
|
||||
}
|
||||
},
|
||||
"13": {
|
||||
"inputs": {
|
||||
"samples": [
|
||||
"152",
|
||||
0
|
||||
],
|
||||
"vae": [
|
||||
"10",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "VAEDecode",
|
||||
"_meta": {
|
||||
"title": "VAE Decode"
|
||||
}
|
||||
},
|
||||
"14": {
|
||||
"inputs": {
|
||||
"filename_prefix": "3DGenStudioInpainting",
|
||||
"images": [
|
||||
"13",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "SaveImage",
|
||||
"_meta": {
|
||||
"title": "Save Image"
|
||||
}
|
||||
},
|
||||
"24": {
|
||||
"inputs": {
|
||||
"lora_name": "Qwen-Image-Edit-2511-Lightning-4steps-V1.0-bf16.safetensors",
|
||||
"strength_model": 1,
|
||||
"model": [
|
||||
"160",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "LoraLoaderModelOnly",
|
||||
"_meta": {
|
||||
"title": "Load LoRA"
|
||||
}
|
||||
},
|
||||
"30": {
|
||||
"inputs": {
|
||||
"shift": 3.1,
|
||||
"model": [
|
||||
"24",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "ModelSamplingAuraFlow",
|
||||
"_meta": {
|
||||
"title": "ModelSamplingAuraFlow"
|
||||
}
|
||||
},
|
||||
"33": {
|
||||
"inputs": {
|
||||
"clip_name": "qwen_2.5_vl_7b_fp8_scaled.safetensors",
|
||||
"type": "qwen_image",
|
||||
"device": "default"
|
||||
},
|
||||
"class_type": "CLIPLoader",
|
||||
"_meta": {
|
||||
"title": "Load CLIP"
|
||||
}
|
||||
},
|
||||
"39": {
|
||||
"inputs": {
|
||||
"prompt": "",
|
||||
"clip": [
|
||||
"33",
|
||||
0
|
||||
],
|
||||
"vae": [
|
||||
"10",
|
||||
0
|
||||
],
|
||||
"image1": [
|
||||
"158",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "TextEncodeQwenImageEditPlus",
|
||||
"_meta": {
|
||||
"title": "TextEncodeQwenImageEditPlus (Negative Prompt)"
|
||||
}
|
||||
},
|
||||
"119": {
|
||||
"inputs": {
|
||||
"pixels": [
|
||||
"158",
|
||||
0
|
||||
],
|
||||
"vae": [
|
||||
"10",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "VAEEncode",
|
||||
"_meta": {
|
||||
"title": "VAE Encode"
|
||||
}
|
||||
},
|
||||
"126": {
|
||||
"inputs": {
|
||||
"samples": [
|
||||
"119",
|
||||
0
|
||||
],
|
||||
"mask": [
|
||||
"148",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "SetLatentNoiseMask",
|
||||
"_meta": {
|
||||
"title": "Set Latent Noise Mask"
|
||||
}
|
||||
},
|
||||
"128": {
|
||||
"inputs": {
|
||||
"expand": 0,
|
||||
"incremental_expandrate": 0,
|
||||
"tapered_corners": true,
|
||||
"flip_input": false,
|
||||
"blur_radius": 31.3,
|
||||
"lerp_alpha": 1,
|
||||
"decay_factor": 1,
|
||||
"fill_holes": false,
|
||||
"mask": [
|
||||
"161",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "GrowMaskWithBlur",
|
||||
"_meta": {
|
||||
"title": "Grow Mask With Blur"
|
||||
}
|
||||
},
|
||||
"129": {
|
||||
"inputs": {
|
||||
"pixels": [
|
||||
"138",
|
||||
0
|
||||
],
|
||||
"vae": [
|
||||
"10",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "VAEEncode",
|
||||
"_meta": {
|
||||
"title": "VAE Encode"
|
||||
}
|
||||
},
|
||||
"130": {
|
||||
"inputs": {
|
||||
"samples": [
|
||||
"129",
|
||||
0
|
||||
],
|
||||
"vae": [
|
||||
"10",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "VAEDecode",
|
||||
"_meta": {
|
||||
"title": "VAE Decode"
|
||||
}
|
||||
},
|
||||
"132": {
|
||||
"inputs": {
|
||||
"image": [
|
||||
"130",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "GetImageSize",
|
||||
"_meta": {
|
||||
"title": "Get Image Size"
|
||||
}
|
||||
},
|
||||
"138": {
|
||||
"inputs": {
|
||||
"upscale_method": "lanczos",
|
||||
"largest_size": 1024,
|
||||
"image": [
|
||||
"11",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "ImageScaleToMaxDimension",
|
||||
"_meta": {
|
||||
"title": "ImageScaleToMaxDimension"
|
||||
}
|
||||
},
|
||||
"148": {
|
||||
"inputs": {
|
||||
"width": [
|
||||
"132",
|
||||
0
|
||||
],
|
||||
"height": [
|
||||
"132",
|
||||
1
|
||||
],
|
||||
"keep_proportions": true,
|
||||
"upscale_method": "lanczos",
|
||||
"crop": "center",
|
||||
"mask": [
|
||||
"128",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "ResizeMask",
|
||||
"_meta": {
|
||||
"title": "Resize Mask"
|
||||
}
|
||||
},
|
||||
"152": {
|
||||
"inputs": {
|
||||
"seed": 12345,
|
||||
"steps": 4,
|
||||
"cfg": 1,
|
||||
"sampler_name": "euler",
|
||||
"scheduler": "simple",
|
||||
"denoise": 1,
|
||||
"model": [
|
||||
"30",
|
||||
0
|
||||
],
|
||||
"positive": [
|
||||
"1",
|
||||
0
|
||||
],
|
||||
"negative": [
|
||||
"39",
|
||||
0
|
||||
],
|
||||
"latent_image": [
|
||||
"126",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "KSampler",
|
||||
"_meta": {
|
||||
"title": "KSampler"
|
||||
}
|
||||
},
|
||||
"158": {
|
||||
"inputs": {
|
||||
"upscale_method": "lanczos",
|
||||
"width": [
|
||||
"132",
|
||||
0
|
||||
],
|
||||
"height": [
|
||||
"132",
|
||||
1
|
||||
],
|
||||
"crop": "center",
|
||||
"image": [
|
||||
"11",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "ImageScale",
|
||||
"_meta": {
|
||||
"title": "Upscale Image"
|
||||
}
|
||||
},
|
||||
"160": {
|
||||
"inputs": {
|
||||
"unet_name": "{diffusion_model}"
|
||||
},
|
||||
"class_type": "UnetLoaderGGUF",
|
||||
"_meta": {
|
||||
"title": "Unet Loader (GGUF)"
|
||||
}
|
||||
},
|
||||
"161": {
|
||||
"inputs": {
|
||||
"image": "",
|
||||
"channel": "red"
|
||||
},
|
||||
"class_type": "LoadImageMask",
|
||||
"_meta": {
|
||||
"title": "Source Mask"
|
||||
}
|
||||
}
|
||||
}
|
||||
44
setup/Remove Background with RMBG.json
Normal file
44
setup/Remove Background with RMBG.json
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
{
|
||||
"1": {
|
||||
"inputs": {
|
||||
"image": ""
|
||||
},
|
||||
"class_type": "LoadImage",
|
||||
"_meta": {
|
||||
"title": "Load Image"
|
||||
}
|
||||
},
|
||||
"2": {
|
||||
"inputs": {
|
||||
"model": "RMBG-2.0",
|
||||
"sensitivity": 1,
|
||||
"process_res": 1024,
|
||||
"mask_blur": 0,
|
||||
"mask_offset": 0,
|
||||
"invert_output": false,
|
||||
"refine_foreground": false,
|
||||
"background": "Alpha",
|
||||
"background_color": "#222222",
|
||||
"image": [
|
||||
"1",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "RMBG",
|
||||
"_meta": {
|
||||
"title": "Remove Background (RMBG)"
|
||||
}
|
||||
},
|
||||
"4": {
|
||||
"inputs": {
|
||||
"images": [
|
||||
"2",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "PreviewImage",
|
||||
"_meta": {
|
||||
"title": "Preview Image"
|
||||
}
|
||||
}
|
||||
}
|
||||
52
setup/Simplify Mesh with Trellis2.json
Normal file
52
setup/Simplify Mesh with Trellis2.json
Normal file
|
|
@ -0,0 +1,52 @@
|
|||
{
|
||||
"1": {
|
||||
"inputs": {
|
||||
"glb_path": ""
|
||||
},
|
||||
"class_type": "Trellis2LoadMesh",
|
||||
"_meta": {
|
||||
"title": "Trellis2 - Load Mesh"
|
||||
}
|
||||
},
|
||||
"3": {
|
||||
"inputs": {
|
||||
"target_face_num": 1000000,
|
||||
"method": "Cumesh",
|
||||
"trimesh": [
|
||||
"1",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "Trellis2SimplifyTrimesh",
|
||||
"_meta": {
|
||||
"title": "Trellis2 - Simplify Trimesh"
|
||||
}
|
||||
},
|
||||
"4": {
|
||||
"inputs": {
|
||||
"filename_prefix": "3DGenStudioSimplified",
|
||||
"file_format": "glb",
|
||||
"trimesh": [
|
||||
"3",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "Trellis2ExportMesh",
|
||||
"_meta": {
|
||||
"title": "Trellis2 - Export Mesh"
|
||||
}
|
||||
},
|
||||
"5": {
|
||||
"inputs": {
|
||||
"model_file": [
|
||||
"4",
|
||||
0
|
||||
],
|
||||
"image": ""
|
||||
},
|
||||
"class_type": "Preview3D",
|
||||
"_meta": {
|
||||
"title": "Preview 3D & Animation"
|
||||
}
|
||||
}
|
||||
}
|
||||
101
setup/setup.json
101
setup/setup.json
|
|
@ -20,7 +20,10 @@
|
|||
},
|
||||
"VAE": { "FileName": "qwen_image_vae.safetensors", "Url": "https://huggingface.co/Comfy-Org/Qwen-Image_ComfyUI/resolve/main/split_files/vae/qwen_image_vae.safetensors?download=true", "Size": 0.3 },
|
||||
"TextEncoder": { "FileName": "qwen_2.5_vl_7b_fp8_scaled.safetensors", "Url": "https://huggingface.co/Comfy-Org/HunyuanVideo_1.5_repackaged/resolve/main/split_files/text_encoders/qwen_2.5_vl_7b_fp8_scaled.safetensors?download=true", "Size": 9.4 },
|
||||
"LoRA": { "FileName": "Qwen-Image-Edit-2511-Lightning-4steps-V1.0-bf16.safetensors", "Url": "https://huggingface.co/lightx2v/Qwen-Image-Edit-2511-Lightning/resolve/main/Qwen-Image-Edit-2511-Lightning-4steps-V1.0-bf16.safetensors?download=true", "Size": 0.9 },
|
||||
"LoRA":[
|
||||
{ "FileName": "Qwen-Image-Edit-2511-Lightning-4steps-V1.0-bf16.safetensors", "Url": "https://huggingface.co/lightx2v/Qwen-Image-Edit-2511-Lightning/resolve/main/Qwen-Image-Edit-2511-Lightning-4steps-V1.0-bf16.safetensors?download=true", "Size": 0.9 },
|
||||
{ "FileName": "QIE-2511-Studio-DeLight-5000.safetensors", "Url": "https://huggingface.co/prithivMLmods/QIE-2511-Studio-DeLight/resolve/main/QIE-2511-Studio-DeLight-5000.safetensors?download=true", "Size": 0.2 }
|
||||
],
|
||||
"Workflows": [
|
||||
{
|
||||
"Name": "Mesh Projection with QwenImageEdit",
|
||||
|
|
@ -50,7 +53,46 @@
|
|||
"Outputs": [
|
||||
{ "Node": "35", "Name": "Save Image", "Type": "Image" }
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"Name": "Edit Image with QwenImageEdit",
|
||||
"File": "setup/Edit Image with QwenImageEdit2511.json",
|
||||
"Inputs": [
|
||||
{ "Node": "146", "Input": "image", "Name": "Input Image", "Type": "Image" },
|
||||
{ "Node": "148", "Input": "prompt", "Name": "Prompt", "Type": "String" },
|
||||
{ "Node": "143", "Input": "seed", "Name": "Seed", "Type": "Number" },
|
||||
{ "Node": "156", "Input": "value", "Name": "Image Resolution", "Type": "Number" }
|
||||
],
|
||||
"Outputs": [
|
||||
{ "Node": "155", "Name": "Save Image", "Type": "Image" }
|
||||
]
|
||||
},
|
||||
{
|
||||
"Name": "Inpainting with QwenImageEdit",
|
||||
"File": "setup/Inpainting with QwenImageEdit.json",
|
||||
"Inputs": [
|
||||
{ "Node": "11", "Input": "image", "Name": "Source Image", "Type": "Image" },
|
||||
{ "Node": "161", "Input": "image", "Name": "Source Mask", "Type": "Image" },
|
||||
{ "Node": "152", "Input": "seed", "Name": "Seed", "Type": "Number" },
|
||||
{ "Node": "138", "Input": "largest_size", "Name": "Image Scale To MaxDim", "Type": "Number" }
|
||||
],
|
||||
"Outputs": [
|
||||
{ "Node": "14", "Name": "Save Image", "Type": "Image" }
|
||||
]
|
||||
},
|
||||
{
|
||||
"Name": "Delight Image with QwenImageEdit",
|
||||
"File": "setup/Delight Image with QwenImageEdit2511.json",
|
||||
"Inputs": [
|
||||
{ "Node": "146", "Input": "image", "Name": "Source Image", "Type": "Image" },
|
||||
{ "Node": "148", "Input": "prompt", "Name": "Prompt", "Type": "String" },
|
||||
{ "Node": "143", "Input": "seed", "Name": "Seed", "Type": "Number" },
|
||||
{ "Node": "172", "Input": "value", "Name": "Image Resolution", "Type": "Number" }
|
||||
],
|
||||
"Outputs": [
|
||||
{ "Node": "155", "Name": "Save Image", "Type": "Image" }
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
@ -67,7 +109,9 @@
|
|||
},
|
||||
"VAE": { "FileName": "qwen_image_vae.safetensors", "Url": "https://huggingface.co/Comfy-Org/Qwen-Image_ComfyUI/resolve/main/split_files/vae/qwen_image_vae.safetensors?download=true", "Size": 0.3 },
|
||||
"TextEncoder": { "FileName": "qwen_2.5_vl_7b_fp8_scaled.safetensors", "Url": "https://huggingface.co/Comfy-Org/HunyuanVideo_1.5_repackaged/resolve/main/split_files/text_encoders/qwen_2.5_vl_7b_fp8_scaled.safetensors?download=true", "Size": 9.4 },
|
||||
"LoRA": { "FileName": "Qwen-Image-2512-Lightning-4steps-V1.0-bf16.safetensors", "Url": "https://huggingface.co/lightx2v/Qwen-Image-2512-Lightning/resolve/main/Qwen-Image-2512-Lightning-4steps-V1.0-bf16.safetensors?download=true", "Size": 0.9 },
|
||||
"LoRA":[
|
||||
{ "FileName": "Qwen-Image-2512-Lightning-4steps-V1.0-bf16.safetensors", "Url": "https://huggingface.co/lightx2v/Qwen-Image-2512-Lightning/resolve/main/Qwen-Image-2512-Lightning-4steps-V1.0-bf16.safetensors?download=true", "Size": 0.9 }
|
||||
],
|
||||
"Workflows": [
|
||||
{
|
||||
"Name": "Gen Image with Qwen 2512",
|
||||
|
|
@ -141,5 +185,56 @@
|
|||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"OtherWorkflows":[
|
||||
{
|
||||
"Name": "Remove Background with RMBG",
|
||||
"File": "setup/Remove Background with RMBG.json",
|
||||
"Inputs": [
|
||||
{ "Node": "1", "Input": "image", "Name": "Source Image", "Type": "Image" },
|
||||
{ "Node": "2", "Input": "mask_offset", "Name": "Mask Offset", "Type": "Number" }
|
||||
],
|
||||
"Outputs": [
|
||||
{ "Node": "4", "Name": "Save Image", "Type": "Image" }
|
||||
]
|
||||
},
|
||||
{
|
||||
"Name": "Gen MeshOnly with Trellis2",
|
||||
"File": "setup/Gen Mesh Only with Trellis2.json",
|
||||
"Inputs": [
|
||||
{ "Node": "6", "Input": "image", "Name": "Source Image", "Type": "Image" },
|
||||
{ "Node": "209", "Input": "value", "Name": "Target Face Number", "Type": "Number" },
|
||||
{ "Node": "214", "Input": "seed", "Name": "Seed", "Type": "Number" },
|
||||
{ "Node": "258", "Input": "to_resolution", "Name": "Cascade Resolution", "Type": "Number" }
|
||||
],
|
||||
"Outputs": [
|
||||
{ "Node": "232", "Name": "Save Mesh", "Type": "Mesh" }
|
||||
]
|
||||
},
|
||||
{
|
||||
"Name": "Gen TexturedMesh with Trellis2",
|
||||
"File": "setup/Gen TexturedMesh with Trellis2.json",
|
||||
"Inputs": [
|
||||
{ "Node": "6", "Input": "image", "Name": "Source Image", "Type": "Image" },
|
||||
{ "Node": "209", "Input": "value", "Name": "Target Face Number", "Type": "Number" },
|
||||
{ "Node": "214", "Input": "seed", "Name": "Seed", "Type": "Number" },
|
||||
{ "Node": "258", "Input": "to_resolution", "Name": "Cascade Resolution", "Type": "Number" },
|
||||
{ "Node": "261", "Input": "texture_size", "Name": "Texture Size", "Type": "Number" }
|
||||
],
|
||||
"Outputs": [
|
||||
{ "Node": "232", "Name": "Save Mesh", "Type": "Mesh" }
|
||||
]
|
||||
},
|
||||
{
|
||||
"Name": "Simplify Mesh with Trellis2",
|
||||
"File": "setup/Simplify Mesh with Trellis2.json",
|
||||
"Inputs": [
|
||||
{ "Node": "1", "Input": "glb_path", "Name": "Source Mesh", "Type": "Mesh" },
|
||||
{ "Node": "3", "Input": "target_face_num", "Name": "Target Face Number", "Type": "Number" }
|
||||
],
|
||||
"Outputs": [
|
||||
{ "Node": "5", "Name": "Save Mesh", "Type": "Mesh" }
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,16 @@
|
|||
.setup-wizard {
|
||||
.projects-page__modal.setup-wizard {
|
||||
max-width: 640px;
|
||||
max-height: 90vh;
|
||||
overflow-x: hidden;
|
||||
overflow-y: auto;
|
||||
scrollbar-width: thin;
|
||||
scrollbar-color: var(--outline) transparent;
|
||||
}
|
||||
|
||||
.projects-page__modal.setup-wizard::-webkit-scrollbar { width: 5px; }
|
||||
.projects-page__modal.setup-wizard::-webkit-scrollbar-track { background: transparent; }
|
||||
.projects-page__modal.setup-wizard::-webkit-scrollbar-thumb { background: var(--outline); border-radius: 10px; }
|
||||
|
||||
.setup-wizard__steps {
|
||||
list-style: none;
|
||||
display: flex;
|
||||
|
|
@ -228,30 +237,137 @@
|
|||
transition: width 0.2s ease;
|
||||
}
|
||||
|
||||
.setup-wizard__workflow-list {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
.setup-wizard__workflow-toolbar {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 0.75rem;
|
||||
}
|
||||
|
||||
.setup-wizard__workflow-counter {
|
||||
font-size: 0.7rem;
|
||||
font-family: var(--font-label);
|
||||
color: var(--on-surface-variant);
|
||||
}
|
||||
|
||||
.setup-wizard__workflow-toolbar-actions {
|
||||
display: flex;
|
||||
gap: 0.75rem;
|
||||
}
|
||||
|
||||
.setup-wizard__workflow-link {
|
||||
background: none;
|
||||
border: none;
|
||||
padding: 0;
|
||||
font-size: 0.72rem;
|
||||
color: var(--primary);
|
||||
font-family: var(--font-headline);
|
||||
font-weight: 600;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.setup-wizard__workflow-link:hover:not(:disabled) {
|
||||
filter: brightness(1.15);
|
||||
}
|
||||
|
||||
.setup-wizard__workflow-link:disabled {
|
||||
opacity: 0.5;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
.setup-wizard__workflow-list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.375rem;
|
||||
max-height: 280px;
|
||||
overflow-y: auto;
|
||||
padding-right: 6px;
|
||||
|
||||
scrollbar-width: thin;
|
||||
scrollbar-color: var(--outline) transparent;
|
||||
}
|
||||
|
||||
.setup-wizard__workflow-list li {
|
||||
.setup-wizard__workflow-list::-webkit-scrollbar { width: 5px; }
|
||||
.setup-wizard__workflow-list::-webkit-scrollbar-track { background: transparent; }
|
||||
.setup-wizard__workflow-list::-webkit-scrollbar-thumb { background: var(--outline); border-radius: 10px; }
|
||||
|
||||
.setup-wizard__workflow-empty {
|
||||
font-size: 0.75rem;
|
||||
color: var(--on-surface-variant);
|
||||
padding: 0.75rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.setup-wizard__workflow-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
gap: 0.625rem;
|
||||
font-size: 0.8rem;
|
||||
color: var(--on-surface);
|
||||
padding: 0.5rem 0.75rem;
|
||||
background: rgba(18, 19, 22, 0.45);
|
||||
border-radius: var(--radius-md);
|
||||
border: 1px solid rgba(71, 72, 74, 0.12);
|
||||
cursor: pointer;
|
||||
transition: border-color var(--transition-base), background var(--transition-base);
|
||||
}
|
||||
|
||||
.setup-wizard__workflow-list .material-symbols-outlined {
|
||||
font-size: 16px;
|
||||
color: var(--secondary);
|
||||
.setup-wizard__workflow-item:hover {
|
||||
border-color: rgba(143, 245, 255, 0.25);
|
||||
}
|
||||
|
||||
.setup-wizard__workflow-item input[type="checkbox"] {
|
||||
accent-color: var(--primary);
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
flex-shrink: 0;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.setup-wizard__workflow-item-body {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.125rem;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.setup-wizard__workflow-item-name {
|
||||
color: var(--on-surface);
|
||||
font-weight: 500;
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
.setup-wizard__workflow-item-meta {
|
||||
font-size: 0.66rem;
|
||||
color: var(--on-surface-variant);
|
||||
font-family: var(--font-label);
|
||||
letter-spacing: 0.02em;
|
||||
}
|
||||
|
||||
.setup-wizard__overwrite {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
font-size: 0.78rem;
|
||||
color: var(--on-surface-variant);
|
||||
padding: 0.625rem 0.75rem;
|
||||
border: 1px solid rgba(71, 72, 74, 0.18);
|
||||
border-radius: var(--radius-md);
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.setup-wizard__overwrite input[type="checkbox"] {
|
||||
accent-color: var(--primary);
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.setup-wizard__result-skipped {
|
||||
margin: 0.5rem 0 0;
|
||||
padding-left: 1rem;
|
||||
color: var(--on-surface-variant);
|
||||
font-size: 0.72rem;
|
||||
}
|
||||
|
||||
.setup-wizard__result {
|
||||
|
|
@ -261,8 +377,16 @@
|
|||
border-radius: var(--radius-md);
|
||||
background: rgba(18, 19, 22, 0.45);
|
||||
border: 1px solid rgba(71, 72, 74, 0.12);
|
||||
max-height: 70px;
|
||||
overflow-y: auto;
|
||||
scrollbar-width: thin;
|
||||
scrollbar-color: var(--outline) transparent;
|
||||
}
|
||||
|
||||
.setup-wizard__result::-webkit-scrollbar { width: 5px; }
|
||||
.setup-wizard__result::-webkit-scrollbar-track { background: transparent; }
|
||||
.setup-wizard__result::-webkit-scrollbar-thumb { background: var(--outline); border-radius: 10px; }
|
||||
|
||||
.setup-wizard__result-errors {
|
||||
margin: 0.5rem 0 0;
|
||||
padding-left: 1rem;
|
||||
|
|
|
|||
|
|
@ -44,8 +44,11 @@ function buildFileList(config, selections, comfyPathsByCategory) {
|
|||
addFile(comfyPathsByCategory.DiffusionModels, modelEntry)
|
||||
addFile(comfyPathsByCategory.VAE, diffusion.VAE)
|
||||
addFile(comfyPathsByCategory.TextEncoder, diffusion.TextEncoder)
|
||||
if (diffusion.LoRA) {
|
||||
addFile(comfyPathsByCategory.LoRA, diffusion.LoRA)
|
||||
const loras = Array.isArray(diffusion.LoRA)
|
||||
? diffusion.LoRA
|
||||
: (diffusion.LoRA ? [diffusion.LoRA] : [])
|
||||
for (const loraEntry of loras) {
|
||||
addFile(comfyPathsByCategory.LoRA, loraEntry)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -74,6 +77,9 @@ export default function SetupWizardModal({ onComplete, onClose }) {
|
|||
|
||||
const [installBusy, setInstallBusy] = useState(false)
|
||||
const [installResult, setInstallResult] = useState(null)
|
||||
const [workflowSelection, setWorkflowSelection] = useState({})
|
||||
const [overwriteWorkflows, setOverwriteWorkflows] = useState(false)
|
||||
const workflowSelectionPrimedRef = useRef(false)
|
||||
|
||||
useEffect(() => {
|
||||
let cancelled = false
|
||||
|
|
@ -157,6 +163,50 @@ export default function SetupWizardModal({ onComplete, onClose }) {
|
|||
[filesToDownload]
|
||||
)
|
||||
|
||||
const candidateWorkflows = useMemo(() => {
|
||||
if (!config) return []
|
||||
const items = []
|
||||
for (const sel of selections) {
|
||||
if (!sel.modelQuality) continue
|
||||
const diffusion = (config.DiffusionModels || []).find(d => d.Name === sel.diffusionName)
|
||||
for (const workflow of diffusion?.Workflows || []) {
|
||||
items.push({
|
||||
key: workflow.File,
|
||||
name: workflow.Name,
|
||||
workflowFile: workflow.File,
|
||||
subtitle: diffusion.Name,
|
||||
diffusionName: diffusion.Name,
|
||||
modelQuality: sel.modelQuality
|
||||
})
|
||||
}
|
||||
}
|
||||
for (const workflow of config.OtherWorkflows || []) {
|
||||
items.push({
|
||||
key: workflow.File,
|
||||
name: workflow.Name,
|
||||
workflowFile: workflow.File,
|
||||
subtitle: 'Other',
|
||||
diffusionName: null,
|
||||
modelQuality: null
|
||||
})
|
||||
}
|
||||
return items
|
||||
}, [config, selections])
|
||||
|
||||
useEffect(() => {
|
||||
if (stepId !== 'workflows') {
|
||||
workflowSelectionPrimedRef.current = false
|
||||
return
|
||||
}
|
||||
if (workflowSelectionPrimedRef.current) return
|
||||
workflowSelectionPrimedRef.current = true
|
||||
const next = {}
|
||||
for (const item of candidateWorkflows) {
|
||||
next[item.key] = true
|
||||
}
|
||||
setWorkflowSelection(next)
|
||||
}, [stepId, candidateWorkflows])
|
||||
|
||||
const handleSkip = async () => {
|
||||
try {
|
||||
await updateSettings({ ...settings, initialSetupComplete: true })
|
||||
|
|
@ -279,17 +329,24 @@ export default function SetupWizardModal({ onComplete, onClose }) {
|
|||
setInstallBusy(true)
|
||||
setInstallResult(null)
|
||||
try {
|
||||
const payloadSelections = selections.filter(s => s.modelQuality)
|
||||
const payloadWorkflows = candidateWorkflows
|
||||
.filter(item => workflowSelection[item.key])
|
||||
.map(item => ({
|
||||
workflowFile: item.workflowFile,
|
||||
diffusionName: item.diffusionName,
|
||||
modelQuality: item.modelQuality
|
||||
}))
|
||||
|
||||
const res = await fetch(`${API_BASE}/setup/install-workflows`, {
|
||||
method: 'POST',
|
||||
headers: { 'Content-Type': 'application/json' },
|
||||
body: JSON.stringify({ selections: payloadSelections })
|
||||
body: JSON.stringify({ workflows: payloadWorkflows, overwrite: overwriteWorkflows })
|
||||
})
|
||||
const data = await res.json()
|
||||
if (!res.ok) throw new Error(data?.error || 'Failed to install workflows')
|
||||
setInstallResult(data)
|
||||
} catch (err) {
|
||||
setInstallResult({ installed: [], errors: [{ workflow: '*', error: err.message || String(err) }] })
|
||||
setInstallResult({ installed: [], skipped: [], errors: [{ workflow: '*', error: err.message || String(err) }] })
|
||||
} finally {
|
||||
setInstallBusy(false)
|
||||
}
|
||||
|
|
@ -395,7 +452,7 @@ export default function SetupWizardModal({ onComplete, onClose }) {
|
|||
{stepId === 'models' && config && (
|
||||
<div className="setup-wizard__body">
|
||||
<p className="setup-wizard__hint">
|
||||
Pick one quality per model you want to install — or leave it as “Don’t install”. Sizes include the model file and its required VAE / Text Encoder / LoRA.
|
||||
Pick one quality per model you want to install — or leave everything as “Don’t install” to skip downloads and jump straight to importing workflows. Sizes include the model file and its required VAE / Text Encoder / LoRA(s).
|
||||
</p>
|
||||
|
||||
<div className="setup-wizard__model-list">
|
||||
|
|
@ -457,7 +514,7 @@ export default function SetupWizardModal({ onComplete, onClose }) {
|
|||
type="button"
|
||||
className="projects-page__btn-primary"
|
||||
onClick={handleStartDownload}
|
||||
disabled={checkingFiles || selections.every(s => !s.modelQuality)}
|
||||
disabled={checkingFiles}
|
||||
>
|
||||
{filesToDownload.length === 0 ? 'Next' : 'Download'}
|
||||
</button>
|
||||
|
|
@ -522,28 +579,86 @@ export default function SetupWizardModal({ onComplete, onClose }) {
|
|||
{stepId === 'workflows' && (
|
||||
<div className="setup-wizard__body">
|
||||
<p className="setup-wizard__hint">
|
||||
Install the workflows for the models you selected. The downloaded diffusion model is wired into each workflow.
|
||||
Pick the workflows to import. Diffusion-tied workflows are wired to the model you downloaded.
|
||||
</p>
|
||||
|
||||
<ul className="setup-wizard__workflow-list">
|
||||
{selections.filter(s => s.modelQuality).flatMap(sel => {
|
||||
const diffusion = (config?.DiffusionModels || []).find(d => d.Name === sel.diffusionName)
|
||||
return (diffusion?.Workflows || []).map(workflow => (
|
||||
<li key={`${sel.diffusionName}::${workflow.Name}`}>
|
||||
<span className="material-symbols-outlined">graph_3</span>
|
||||
{workflow.Name}
|
||||
</li>
|
||||
))
|
||||
})}
|
||||
</ul>
|
||||
<div className="setup-wizard__workflow-toolbar">
|
||||
<span className="setup-wizard__workflow-counter">
|
||||
{Object.values(workflowSelection).filter(Boolean).length} / {candidateWorkflows.length} selected
|
||||
</span>
|
||||
<div className="setup-wizard__workflow-toolbar-actions">
|
||||
<button
|
||||
type="button"
|
||||
className="setup-wizard__workflow-link"
|
||||
onClick={() => setWorkflowSelection(
|
||||
Object.fromEntries(candidateWorkflows.map(item => [item.key, true]))
|
||||
)}
|
||||
disabled={installBusy}
|
||||
>
|
||||
Select all
|
||||
</button>
|
||||
<button
|
||||
type="button"
|
||||
className="setup-wizard__workflow-link"
|
||||
onClick={() => setWorkflowSelection({})}
|
||||
disabled={installBusy}
|
||||
>
|
||||
Select none
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className="setup-wizard__workflow-list">
|
||||
{candidateWorkflows.length === 0 && (
|
||||
<div className="setup-wizard__workflow-empty">No workflows available for the current selection.</div>
|
||||
)}
|
||||
{candidateWorkflows.map(item => (
|
||||
<label key={item.key} className="setup-wizard__workflow-item">
|
||||
<input
|
||||
type="checkbox"
|
||||
checked={Boolean(workflowSelection[item.key])}
|
||||
onChange={(e) =>
|
||||
setWorkflowSelection(prev => ({ ...prev, [item.key]: e.target.checked }))
|
||||
}
|
||||
disabled={installBusy}
|
||||
/>
|
||||
<span className="setup-wizard__workflow-item-body">
|
||||
<span className="setup-wizard__workflow-item-name">{item.name}</span>
|
||||
<span className="setup-wizard__workflow-item-meta">{item.subtitle}</span>
|
||||
</span>
|
||||
</label>
|
||||
))}
|
||||
</div>
|
||||
|
||||
<label className="setup-wizard__overwrite">
|
||||
<input
|
||||
type="checkbox"
|
||||
checked={overwriteWorkflows}
|
||||
onChange={(e) => setOverwriteWorkflows(e.target.checked)}
|
||||
disabled={installBusy}
|
||||
/>
|
||||
<span>Overwrite existing workflows with the same name</span>
|
||||
</label>
|
||||
|
||||
{installResult && (
|
||||
<div className="setup-wizard__result">
|
||||
<div>Installed: <strong>{installResult.installed?.length || 0}</strong></div>
|
||||
<div>
|
||||
Installed: <strong>{installResult.installed?.length || 0}</strong>
|
||||
{installResult.skipped?.length > 0 && (
|
||||
<> · Skipped: <strong>{installResult.skipped.length}</strong></>
|
||||
)}
|
||||
</div>
|
||||
{installResult.skipped?.length > 0 && (
|
||||
<ul className="setup-wizard__result-skipped">
|
||||
{installResult.skipped.map((s, i) => (
|
||||
<li key={i}>{s.name} — already installed (enable overwrite to replace)</li>
|
||||
))}
|
||||
</ul>
|
||||
)}
|
||||
{installResult.errors?.length > 0 && (
|
||||
<ul className="setup-wizard__result-errors">
|
||||
{installResult.errors.map((e, i) => (
|
||||
<li key={i}>{e.workflow || e.diffusionName || 'error'}: {e.error}</li>
|
||||
<li key={i}>{e.workflow || e.workflowFile || 'error'}: {e.error}</li>
|
||||
))}
|
||||
</ul>
|
||||
)}
|
||||
|
|
@ -564,7 +679,7 @@ export default function SetupWizardModal({ onComplete, onClose }) {
|
|||
type="button"
|
||||
className="projects-page__btn-primary"
|
||||
onClick={handleInstallWorkflows}
|
||||
disabled={installBusy}
|
||||
disabled={installBusy || Object.values(workflowSelection).every(v => !v)}
|
||||
>
|
||||
{installBusy ? 'Installing…' : 'Install Workflows'}
|
||||
</button>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue