From a8331a23574ff7a17773fc431eb4cc98776d6f1b Mon Sep 17 00:00:00 2001 From: Andreas Date: Wed, 13 Aug 2025 15:48:10 +0000 Subject: [PATCH 1/2] feat: add qwen-image to base model constants.js --- static/js/utils/constants.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/static/js/utils/constants.js b/static/js/utils/constants.js index 4c7520f9..9b6fd763 100644 --- a/static/js/utils/constants.js +++ b/static/js/utils/constants.js @@ -35,6 +35,7 @@ export const BASE_MODELS = { ILLUSTRIOUS: "Illustrious", PONY: "Pony", HIDREAM: "HiDream", + QWEN: "Qwen", // Video models SVD: "SVD", @@ -93,6 +94,7 @@ export const BASE_MODEL_CLASSES = { [BASE_MODELS.ILLUSTRIOUS]: "il", [BASE_MODELS.PONY]: "pony", [BASE_MODELS.HIDREAM]: "hidream", + [BASE_MODELS.QWEN]: "qwen", // Default [BASE_MODELS.UNKNOWN]: "unknown" @@ -161,4 +163,4 @@ export const NODE_TYPE_ICONS = { }; // Default ComfyUI node color when bgcolor is null -export const DEFAULT_NODE_COLOR = "#353535"; \ No newline at end of file +export const DEFAULT_NODE_COLOR = "#353535"; From 112b3abc26acd782c73f972e67953c3bcafe0e58 Mon Sep 17 00:00:00 2001 From: Andreas Date: Wed, 13 Aug 2025 15:49:30 +0000 Subject: [PATCH 2/2] feat: add qwen-image base model to ModelMetadata --- static/js/components/shared/ModelMetadata.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static/js/components/shared/ModelMetadata.js b/static/js/components/shared/ModelMetadata.js index a8dc4e7d..960ffa7d 100644 --- a/static/js/components/shared/ModelMetadata.js +++ b/static/js/components/shared/ModelMetadata.js @@ -183,7 +183,7 @@ export function setupBaseModelEditing(filePath) { BASE_MODELS.PIXART_A, BASE_MODELS.PIXART_E, BASE_MODELS.HUNYUAN_1, BASE_MODELS.LUMINA, BASE_MODELS.KOLORS, BASE_MODELS.NOOBAI, BASE_MODELS.ILLUSTRIOUS, BASE_MODELS.PONY, BASE_MODELS.HIDREAM, - BASE_MODELS.UNKNOWN + BASE_MODELS.QWEN, BASE_MODELS.UNKNOWN ] }; @@ -426,4 +426,4 @@ export function setupFileNameEditing(filePath) { fileNameWrapper.classList.remove('editing'); editBtn.classList.remove('visible'); } -} \ No newline at end of file +}