The open creative studio on ComfyUI: images, video, 3D and audio on open weights, on your own GPU or the cloud. Camera motions, effects, apps, Cinema, Layers, Image to 3D and an AI agent.
TypeScript ai-videocomfyuicreative-toolsgenerative-aiideogramimage-generationimage-to-3dimage-to-videoltx-videominimax-h3nextjsopen-sourceopen-weightsqwen-imagetext-to-imagevideo-generationwan
Kandinsky 6.0: the GPU check finds the vocoder, asks for Pro and the prompt helper only when picked, and VSR refuses factors and clip sizes it can't take
Claude804cd545fe49
diff --git a/scripts/comfy/build-library.mjs b/scripts/comfy/build-library.mjsindex 7227e1f1..94d44284 100644--- a/scripts/comfy/build-library.mjs+++ b/scripts/comfy/build-library.mjs@@ -394,8 +394,12 @@ async function main() {// Files a loader reads by a name with no extension (DBSLoader: models/dbs/<model>/config.json + model.safetensors), which the// loop above can't see: listed like any model, so install help and the presence check (GET /models/<folder>) know them.// Then files a model control can pick instead (FILM for RIFE): listed as optional, so missing-model help names them.+ // A file the graph loads can be optional too: one its nodes load only when a control asks (Kandinsky 6.0's Prompt helper).for (const [file, optional] of [...(spec.requiredModels || []).map((f) => [f, false]), ...(spec.optionalModels || []).map((f) => [f, true])]) {- if (models.has(file)) continue;+ if (models.has(file)) {+ if (optional) models.get(file).optional = true;+ continue;+ }const known = KNOWN_MODELS[file];if (!known?.url) {errs.push(`${optional ? 'optional' : 'required'} model ${file}: no download URL known`);diff --git a/scripts/comfy/build-requirements.mjs b/scripts/comfy/build-requirements.mjsindex 2a42e93e..a2ba7348 100644--- a/scripts/comfy/build-requirements.mjs+++ b/scripts/comfy/build-requirements.mjs@@ -116,6 +116,10 @@ export function buildIndex({ manifest, graphs, subset, packs, pins, packClasses}const packFolder = new Map();for (const [name, p] of Object.entries(packs)) for (const f of p.folders ?? []) packFolder.set(f, name);+ // A pack that registers models/<folder> under another name (kandinsky6: models/audio_vae as kandinsky6_audio_vae):+ // ComfyUI lists the folder only under that name, so the presence check reads that listing.+ const listAs = new Map();+ for (const p of Object.values(packs)) for (const [f, as] of Object.entries(p.listAs ?? {})) listAs.set(f, as);const files = {};for (const key of [...refs.keys()].sort()) {@@ -149,6 +153,7 @@ export function buildIndex({ manifest, graphs, subset, packs, pins, packClasses...(pin?.sha256 && (ext !== '.safetensors' || !hfParts(url)) && { sha256: pin.sha256 }),gated: r.gated,...(packFolder.has(r.folder) && { packFolder: packFolder.get(r.folder) }),+ ...(listAs.has(r.folder) && { listFolder: listAs.get(r.folder) }),presence,...(loaders.size && { loaders: [...loaders.values()].sort((a, b) => (a[0] + a[1]).localeCompare(b[0] + b[1])) }),};@@ -223,7 +228,7 @@ export function buildIndex({ manifest, graphs, subset, packs, pins, packClassesv: 1,hash: '',comfyui: { min: manifest.comfyuiVersion, testedCommit: String(manifest.comfyuiCommit ?? '').slice(0, 8) },- folders: uniq(Object.values(files).map((f) => f.folder)),+ folders: uniq(Object.values(files).map((f) => f.listFolder ?? f.folder)),sentinels,packs: indexPacks,files,diff --git a/scripts/comfy/library.spec.mjs b/scripts/comfy/library.spec.mjsindex d95d7080..555bd9e6 100644--- a/scripts/comfy/library.spec.mjs+++ b/scripts/comfy/library.spec.mjs@@ -4836,7 +4836,8 @@ export const SPEC = [outputs: [{ node: '12', kind: 'video' }],defaults: { width: 864, height: 480, frames: 121, fps: 24, frameStep: 4, unet: 'Kandinsky-6.0-Lite-distill-5s-Diffusers/transformer/diffusion_pytorch_model.safetensors' },limits: { maxFrames: 121, dimensionMultiple: 16, maxWidth: 2048, maxHeight: 2048 },- optionalModels: ['Kandinsky-6.0-Pro-distill-5s-Diffusers/transformer/diffusion_pytorch_model.safetensors'],+ // Pro (Quality) and the Prompt helper's Qwen3.5 9B (off by default: its nodes are taken out) are needed only when picked.+ optionalModels: ['Kandinsky-6.0-Pro-distill-5s-Diffusers/transformer/diffusion_pytorch_model.safetensors', 'qwen3.5_9b_bf16.safetensors'],requiredModels: ['bigvgan_vocoder/bigvgan_generator.pt', 'bigvgan_vocoder/config.json'],vramGb: 24,license: K6_LICENSE,@@ -4857,7 +4858,8 @@ export const SPEC = [outputs: [{ node: '12', kind: 'video' }],defaults: { width: 864, height: 480, frames: 121, fps: 24, frameStep: 4, unet: 'Kandinsky-6.0-Lite-distill-5s-Diffusers/transformer/diffusion_pytorch_model.safetensors' },limits: { maxFrames: 121, dimensionMultiple: 16, maxWidth: 2048, maxHeight: 2048 },- optionalModels: ['Kandinsky-6.0-Pro-distill-5s-Diffusers/transformer/diffusion_pytorch_model.safetensors'],+ // Pro (Quality) and the Prompt helper's Qwen3.5 9B (off by default: its nodes are taken out) are needed only when picked.+ optionalModels: ['Kandinsky-6.0-Pro-distill-5s-Diffusers/transformer/diffusion_pytorch_model.safetensors', 'qwen3.5_9b_bf16.safetensors'],requiredModels: ['bigvgan_vocoder/bigvgan_generator.pt', 'bigvgan_vocoder/config.json'],vramGb: 24,license: K6_LICENSE,diff --git a/scripts/gen-cloud-models.py b/scripts/gen-cloud-models.pyindex 35b05909..f9b8fff5 100644--- a/scripts/gen-cloud-models.py+++ b/scripts/gen-cloud-models.py@@ -1303,7 +1303,8 @@ K6_PRICES = {v: {op: K6_REC[f"fal-ai/kandinsky6-{v}/{kind}"]["pricing"]["byStepsK6_QUALITY = {"param": "quality", "label": "Quality","values": [f"{v}-{t}" for v in K6_STEPS for t in K6_STEPS[v]], "default": "pro-standard",- "labels": {f"{v}-{t}": f"{'Pro' if v == 'pro' else 'Lite'} · {t.capitalize()}, {n} steps" for v in K6_STEPS for t, n in K6_STEPS[v].items()},+ # fal's Lite endpoints take no negative prompt: their labels say so, as the field stays for Pro.+ "labels": {f"{v}-{t}": f"{'Pro' if v == 'pro' else 'Lite'} · {t.capitalize()}, {n} steps{'' if v == 'pro' else ' · no negative prompt'}" for v in K6_STEPS for t, n in K6_STEPS[v].items()},"sets": {f"{v}-{t}": {"variant": v, "num_inference_steps": n} for v in K6_STEPS for t, n in K6_STEPS[v].items()},}for _v, _tiers in K6_STEPS.items():@@ -1333,7 +1334,8 @@ model("kandinsky-vsr", "Kandinsky VSR", "Kandinsky Lab", "kandinsky", "video",[("upscale-video", "fal-ai/kandinsky6-vsr")], badges=["new", "fast"], defaults={"resolution": "2.25x"}, upscale_tiers=["2x", "2.25x", "4x"],pricing=("video", 0.09, "$0.00036 per output megapixel per frame: about $0.09 for 5 s of 480p to 1080p, $0.29 at 4x",{"outputFrames": {"usd": K6_REC["fal-ai/kandinsky6-vsr"]["pricing"]["usd"], "fps": 24, "maxFrames": 121, "assume": {"width": 848, "height": 480}}}),- options={"maxSourceSeconds": 5}, licence=K6_LICENCE)+ # fal's page: "For 2x and 4x upscaling, width and height must be multiples of 16" (2.25x pads the clip itself).+ options={"maxSourceSeconds": 5, "sideMultiple": {"of": 16, "factors": ["2x", "4x"]}}, licence=K6_LICENCE)# Its routes take different values (fal's reference-to-video stops at 720p), so each lists its own (fit_values).model("grok-imagine-video-1-5", "Grok Imagine Video 1.5", "xAI", "grok", "video", "xAI's video model with references and audio",[("t2v", "xai/grok-imagine-video/v1.5/text-to-video"), ("i2v", "xai/grok-imagine-video/v1.5/image-to-video"),diff --git a/src/lib/av/upscale.ts b/src/lib/av/upscale.tsindex f9296a85..3376b230 100644--- a/src/lib/av/upscale.ts+++ b/src/lib/av/upscale.ts@@ -22,6 +22,33 @@ export function factorTier(resolution: string | undefined): number | undefined {return m ? Number(m[1]) : undefined;}+/**+ * A model that upscales by factors only (Kandinsky VSR's 2x, 2.25x and 4x, on both engines) and a resolution that isn't one of+ * them (an API call, a chain, Reuse from another upscaler): refused before the run, in the words the server answers with.+ */+export function factorTierProblem(name: string, offered: string[] | undefined, resolution: string | undefined): string | null {+ if (!offered?.length || resolution === undefined || offered.includes(resolution)) return null;+ if (!offered.every((r) => factorTier(r) !== undefined)) return null;+ return `${name} upscales by ${offered.slice(0, -1).join(", ")} or ${offered.at(-1)}: pick one of those`;+}++/**+ * A clip whose sides a factor can't take (ModelOptions.sideMultiple: fal's Kandinsky VSR needs widths and heights in+ * multiples of 16 at 2x and 4x), with the factor that can, in the words the composer shows and the server refuses with.+ */+export function sideMultipleProblem(+ name: string,+ rule: { of: number; factors: string[] } | undefined,+ offered: string[] | undefined,+ resolution: string | undefined,+ source: { width: number; height: number } | undefined,+): string | null {+ if (!rule || !resolution || !rule.factors.includes(resolution) || !source?.width || !source.height) return null;+ if (source.width % rule.of === 0 && source.height % rule.of === 0) return null;+ const other = (offered ?? []).find((r) => !rule.factors.includes(r));+ return `${name} at ${resolution} needs a clip whose width and height are multiples of ${rule.of} (this one is ${source.width}×${source.height})${other ? `: pick ${other}, or resize the clip first` : ": resize the clip first"}`;+}+/*** The factor an upscaler that takes one needs to reach `resolution` from a clip of `source` size: target ÷* shorter edge, kept within the API's min–max and rounded to 3 decimals (1080p → 1440p is 1.333, which lands ondiff --git a/src/lib/catalog/cloud-models.generated.ts b/src/lib/catalog/cloud-models.generated.tsindex 5390066d..6718f0b5 100644--- a/src/lib/catalog/cloud-models.generated.ts+++ b/src/lib/catalog/cloud-models.generated.ts@@ -16858,9 +16858,9 @@ export const CLOUD_MODELS: ModelDef[] = ["pro-fast": "Pro \u00b7 Fast, 8 steps","pro-standard": "Pro \u00b7 Standard, 20 steps","pro-best": "Pro \u00b7 Best, 50 steps",- "lite-fast": "Lite \u00b7 Fast, 4 steps",- "lite-standard": "Lite \u00b7 Standard, 10 steps",- "lite-best": "Lite \u00b7 Best, 16 steps"+ "lite-fast": "Lite \u00b7 Fast, 4 steps \u00b7 no negative prompt",+ "lite-standard": "Lite \u00b7 Standard, 10 steps \u00b7 no negative prompt",+ "lite-best": "Lite \u00b7 Best, 16 steps \u00b7 no negative prompt"},"sets": {"pro-fast": {@@ -16989,7 +16989,14 @@ export const CLOUD_MODELS: ModelDef[] = [],"seed": true,"promptless": true,- "maxSourceSeconds": 5+ "maxSourceSeconds": 5,+ "sideMultiple": {+ "of": 16,+ "factors": [+ "2x",+ "4x"+ ]+ }},"badges": ["new",diff --git a/src/lib/catalog/plan.ts b/src/lib/catalog/plan.tsindex d76ae89e..eaf15b9b 100644--- a/src/lib/catalog/plan.ts+++ b/src/lib/catalog/plan.ts@@ -1,5 +1,5 @@import { FORMAT_INFO, formatList } from "@/lib/av/formats";-import { factorTier } from "@/lib/av/upscale";+import { factorTier, factorTierProblem } from "@/lib/av/upscale";import type {Engine,GenerationRequest,@@ -555,6 +555,8 @@ export function planGeneration(if (tooMany) throw new Error(tooMany);const tooLong = sourceLengthProblem(model, params.sourceDuration);if (tooLong) throw new Error(tooLong);+ const tier = op === "upscale-video" ? factorTierProblem(model.name, model.options.resolutions, params.resolution) : null;+ if (tier) throw new Error(tier);// Soul Cinema's 21:9 (research §4.5: a crop option): made at 16:9 on both engines, then cropped to 21:9 with// its grade after generation (meta.crop).diff --git a/src/lib/catalog/types.ts b/src/lib/catalog/types.tsindex fb3866c8..7c4702c7 100644--- a/src/lib/catalog/types.ts+++ b/src/lib/catalog/types.ts@@ -674,6 +674,11 @@ export interface ModelOptions {* before it runs, never cut short.*/maxSourceSeconds?: number;+ /**+ * Factors that need the clip's sides in multiples of a number (fal's Kandinsky VSR: 16 at 2x and 4x; the open pack pads+ * the clip itself): such a clip is refused before it runs, with the factor that takes it.+ */+ sideMultiple?: { of: number; factors: string[] };/*** LoRAs the model's recipe always loads (Fuobe Try-On's try-on LoRA): every run carries them before the user's own* (an API's LoRA cap leaves out the user's first), their trigger words leading the prompt. A ComfyUI graph that loadsdiff --git a/src/lib/comfy.ts b/src/lib/comfy.tsindex d0149117..42938b8b 100644--- a/src/lib/comfy.ts+++ b/src/lib/comfy.ts@@ -595,6 +595,12 @@ export const PROMPT_HELPER_GRAPHS: ReadonlySet<string> = new Set(["flux3-klein-t*/export const PROMPT_HELPER_OPT_IN: ReadonlySet<string> = new Set(["kandinsky6-t2av", "kandinsky6-i2av"]);+/** The file an opt-in helper loads (an optional file of its graph): a run with the helper on needs it on that ComfyUI. */+export const PROMPT_HELPER_FILES: Readonly<Record<string, string>> = {+ "kandinsky6-t2av": "text_encoders/qwen3.5_9b_bf16.safetensors",+ "kandinsky6-i2av": "text_encoders/qwen3.5_9b_bf16.safetensors",+};+/** params.extra.promptHelper: "on" (the graph's default) or "off". */export const PROMPT_HELPER_PARAM = "promptHelper";diff --git a/src/lib/composer.ts b/src/lib/composer.tsindex 3988949a..82500523 100644--- a/src/lib/composer.ts+++ b/src/lib/composer.ts@@ -5,7 +5,7 @@*/import { FORMAT_INFO } from "./av/formats";import { fpsPlan, fpsSummary } from "./av/fps";-import { targetShortEdge, upscaledSize, upscaleFactorFor, upscaleTier } from "./av/upscale";+import { sideMultipleProblem, targetShortEdge, upscaledSize, upscaleFactorFor, upscaleTier } from "./av/upscale";import { wholeClipProblem, wholeClipTool } from "./av/video-finish";import { clipFpsProblem, clipSizeProblem, clipWindowProblem } from "./catalog/clip-windows";import { clipBilling, sourceLengthProblem } from "./catalog/plan";@@ -315,7 +315,8 @@ export function clipBlocker(if (!facts?.width || !facts.height || !model) return null;if (op === "upscale-video") {const tier = upscaleTier(params.resolution ?? model.defaults?.resolution, model.options.resolutions, { width: facts.width, height: facts.height }, params.resolution !== undefined);- return "error" in tier ? tier.error : null;+ if ("error" in tier) return tier.error;+ return sideMultipleProblem(model.name ?? "This model", model.options.sideMultiple, model.options.resolutions, tier.resolution, { width: facts.width, height: facts.height });}if (model.engine !== "open" || !ramBytes || !facts.duration || !facts.fps) return null;const target = params.targetFps ?? model.defaults?.targetFps;diff --git a/src/lib/gpu/gather.ts b/src/lib/gpu/gather.tsindex dbdc0225..1fc58d91 100644--- a/src/lib/gpu/gather.ts+++ b/src/lib/gpu/gather.ts@@ -298,8 +298,9 @@ export async function gatherInventory(t: ComfyTransport, idx: RequirementIndex,const folders = o.folders ?? idx.folders;const indexNames = new Map<string, Map<string, string>>();for (const f of Object.values(idx.files)) {- if (!indexNames.has(f.folder)) indexNames.set(f.folder, new Map());- indexNames.get(f.folder)!.set(key(f.file), f.file);+ const listed = f.listFolder ?? f.folder;+ if (!indexNames.has(listed)) indexNames.set(listed, new Map());+ indexNames.get(listed)!.set(key(f.file), f.file);}const loraWanted = new Map((o.loraNames ?? []).map((n) => [key(n), basename(n)]));const listFolders = [...new Set([...folders, ...(loraWanted.size ? ["loras"] : [])])];diff --git a/src/lib/gpu/readiness.ts b/src/lib/gpu/readiness.tsindex c161883d..e2534b12 100644--- a/src/lib/gpu/readiness.ts+++ b/src/lib/gpu/readiness.ts@@ -33,7 +33,7 @@ export type FileState = "present" | "partial" | "missing" | "unknown" | "unobser/** Is this index file on that ComfyUI: by its loader's combo list first, then the folder listing. */export function filePresence(f: IndexFile, inv: GpuInventory): FileState {if (f.presence === "unobservable") return "unobservable";- const listing = inv.models[f.folder];+ const listing = inv.models[f.listFolder ?? f.folder];const size = listing && !listing.folderMissing ? listing.have[f.file] : undefined;const short = typeof size === "number" && f.sizeBytes > 0 && size < 0.99 * f.sizeBytes;if (f.presence === "loader") {@@ -339,7 +339,7 @@ export function needTargets(needs: Need[], idx: RequirementIndex): { classes: stif (n.file) {const f = idx.files[n.file];const { folder } = splitKey(n.file);- folders.add(folder);+ folders.add(f?.listFolder ?? folder);for (const [cls] of f?.loaders ?? []) classes.add(cls);}if (n.lora) folders.add("loras");diff --git a/src/lib/gpu/types.ts b/src/lib/gpu/types.tsindex b29fdbf9..7048f17b 100644--- a/src/lib/gpu/types.ts+++ b/src/lib/gpu/types.ts@@ -62,6 +62,8 @@ export interface IndexFile {gated: boolean;/** The pack that registers this file's folder. */packFolder?: string;+ /** The name ComfyUI lists the folder under when its pack registers it as another (kandinsky6: audio_vae → kandinsky6_audio_vae). */+ listFolder?: string;presence: Presence;/** [class_type, input] of the loader nodes that pick this file (presence "loader"). */loaders?: [cls: string, input: string][];diff --git a/src/lib/kandinsky-prompt.ts b/src/lib/kandinsky-prompt.tsindex 1866431e..6fe21739 100644--- a/src/lib/kandinsky-prompt.ts+++ b/src/lib/kandinsky-prompt.ts@@ -26,12 +26,13 @@ export function kandinskyPrompt(words: string): string {let picture = text;let sound = "";const m = SOUND.exec(text);- if (m && m.index > 0) {+ if (m) {sound = m[1].trim();picture = text.slice(0, m.index).trim();}picture = picture.replace(QUOTED, (_, a, b, c, d) => `<S>${String(a ?? b ?? c ?? d).trim()}<E>`);- return sound ? `${picture} <AUDCAP>${sound}<ENDAUDCAP>` : picture;+ // A prompt that is only a sound line ("Sound: rain") is the sound caption alone.+ return sound ? `${picture ? `${picture} ` : ""}<AUDCAP>${sound}<ENDAUDCAP>` : picture;}/** The prompt box's hint for Kandinsky 6.0: how to give a character words, and the shot its sound. */diff --git a/src/server/generations.ts b/src/server/generations.tsindex 672fe15f..0dcf6dab 100644--- a/src/server/generations.ts+++ b/src/server/generations.ts@@ -10,7 +10,7 @@ import { withSignatureWords } from "@/lib/catalog/palettes";import { applySketch, stripMotionPaths } from "@/lib/catalog/sketch";import { cueText, type Cue } from "@/lib/cues";import { HELPER_FEATURES, HELPER_SUFFIX, isReviewStatus, type AssetUse, type ReviewFilter } from "@/lib/library";-import { upscaleTier } from "@/lib/av/upscale";+import { sideMultipleProblem, upscaleTier } from "@/lib/av/upscale";import { chainedWaitMessage, framesWait, keyframeChain } from "@/lib/catalog/keyframes";import { clipFpsProblem, clipSizeProblem, clipTotalProblem, clipWindowProblem, elementClipProblem, sourceFrames } from "@/lib/catalog/clip-windows";import { avatarSeconds, clipEditSeconds, estimateCost, inferOperation, movedAppRequest, planGeneration, presetRoute, routeLoras, routesFor, sourceLengthProblem, withoutTriggers } from "@/lib/catalog/plan";@@ -1707,6 +1707,9 @@ async function submitNow(if (plan.model.options.promptFormat === "kandinsky6" && prompt) prompt = kandinskyPrompt(prompt);const input: GenInput = {...plan.params,+ // The clip's size is only ever its header's (below): a size the request states (params.sourceSize) prices the run+ // before it starts, never what an upscaler's factor is made from.+ sourceSize: undefined,prompt,negativePrompt: req.negativePrompt,images: (await Promise.all((req.inputs?.images ?? []).map((ref, i) => (i === 0 ? prepCropped(ref) : prep(ref))))).filter(Boolean) as string[],@@ -1797,6 +1800,8 @@ async function submitNow(input.resolution = tier.resolution;if (providerId !== "mock" && plan.model.engine !== "open") update(id, { cost_usd: estimateCost(plan.model, { ...plan.params, resolution: tier.resolution }, 1, plan.op) });}+ const sides = sideMultipleProblem(plan.model.name, plan.model.options.sideMultiple, plan.model.options.resolutions, input.resolution, input.sourceSize);+ if (sides) throw new Error(sides);}// LoRA files: ComfyUI gets the ones it lacks downloaded into its loras folder; a cloud run gets a civitai// file mirrored once to the provider's storage (the civitai key never leaves this server).diff --git a/src/server/gpu/gate.ts b/src/server/gpu/gate.tsindex 80cdf5ce..bbf24551 100644--- a/src/server/gpu/gate.ts+++ b/src/server/gpu/gate.ts@@ -1,10 +1,13 @@import "server-only";import crypto from "node:crypto";import { resolveWorkflowId } from "@/lib/comfy-variants";+import { PROMPT_HELPER_FILES, PROMPT_HELPER_PARAM } from "@/lib/comfy";+import { getModel } from "@/lib/catalog";+import { controlSets } from "@/lib/catalog/plan";import { fixPlan } from "@/lib/gpu/plan";import { CLEAN_VAE, DECODER_PARAM, GPU_PARAM } from "@/lib/qwen21-speed";import { deviceLabel, needTargets, toolReadiness } from "@/lib/gpu/readiness";-import type { FixPlan, ToolReadiness, ToolRef } from "@/lib/gpu/types";+import type { FileKey, FixPlan, ToolReadiness, ToolRef } from "@/lib/gpu/types";import type { GenerationRequest } from "@/lib/catalog/types";import { authEnabled, crossSite, hostAllowed, validToken } from "../auth";import { loadIndex, preflightOn } from "./index-file";@@ -56,21 +59,28 @@ export async function gateGeneration(t: GpuTarget, g: GateInput): Promise<GateRehas,});if (!has(id)) return { ok: true };- // Qwen-Image 2.1's Options → Decoder "Clean" loads the Texture-Fix VAE, an optional file of the graph: this run needs it.- const vae = `vae/${CLEAN_VAE}`;- if ((extra[DECODER_PARAM] === "clean" || extra.vae === CLEAN_VAE) && idx.files[vae] && !idx.workflows[id].files.includes(vae)) {- idx = { ...idx, workflows: { ...idx.workflows, [id]: { ...idx.workflows[id], files: [...idx.workflows[id].files, vae] } } };- }+ // Optional files of the graph this run picks are needed too: Qwen-Image 2.1's Options → Decoder "Clean" (the Texture-Fix+ // VAE), a file a control's setting names (Kandinsky 6.0's Quality "pro" sets unet to the Pro transformer), and the file+ // an opt-in Prompt helper loads when it is on.+ const runFiles = new Set<FileKey>();+ if (extra[DECODER_PARAM] === "clean" || extra.vae === CLEAN_VAE) runFiles.add(`vae/${CLEAN_VAE}`);+ const model = getModel(g.modelId);+ const set = model ? (controlSets(model, { ...req.params, extra }).extra ?? {}) : extra;+ const named = new Set(Object.values(set).filter((v): v is string => typeof v === "string"));+ for (const k of idx.workflows[id].optional ?? []) if (idx.files[k] && named.has(idx.files[k].file)) runFiles.add(k);+ if (PROMPT_HELPER_FILES[id] && extra[PROMPT_HELPER_PARAM] === "on") runFiles.add(PROMPT_HELPER_FILES[id] as FileKey);+ const add = [...runFiles].filter((k) => idx.files[k] && !idx.workflows[id].files.includes(k));+ if (add.length) idx = { ...idx, workflows: { ...idx.workflows, [id]: { ...idx.workflows[id], files: [...idx.workflows[id].files, ...add] } } };// The preset's route on the run's model (the one its preview was made with, or its own): its LoRAs are checked too.const preset = req.presetId ? presetTool(req.presetId, { modelId: g.modelId }) : null;- const model = modelTool(g.modelId, g.op);- const ref: ToolRef = preset?.ref ?? model?.ref ?? `workflow:${id}`;- const name = preset?.name ?? model?.name ?? id;- const loras = preset?.loras ?? model?.loras ?? [];- const ctx = { ...contextFor(t), kind: model?.kind };+ const tool = modelTool(g.modelId, g.op);+ const ref: ToolRef = preset?.ref ?? tool?.ref ?? `workflow:${id}`;+ const name = preset?.name ?? tool?.name ?? id;+ const loras = preset?.loras ?? tool?.loras ?? [];+ const ctx = { ...contextFor(t), kind: tool?.kind };let snap = readSnapshot(t);if (!snap?.inventory.reachable) return { ok: true };- let r = toolReadiness(ref, name, [id], loras, snap.inventory, idx, ctx, model?.cloud);+ let r = toolReadiness(ref, name, [id], loras, snap.inventory, idx, ctx, tool?.cloud);if (!blocks(r)) return { ok: true };// A ComfyUI on the person's computer is read by their tab, which checks the tool right before the run: only a check// from the last 10 s counts as confirmed (an older one never blocks; ComfyUI's own answer has the last word).@@ -82,7 +92,7 @@ export async function gateGeneration(t: GpuTarget, g: GateInput): Promise<GateReif (!fresh?.reachable) return { ok: true };snap = readSnapshot(t);if (!snap?.inventory.reachable) return { ok: true };- r = toolReadiness(ref, name, [id], loras, snap.inventory, idx, ctx, model?.cloud);+ r = toolReadiness(ref, name, [id], loras, snap.inventory, idx, ctx, tool?.cloud);if (!blocks(r)) return { ok: true };}const dev = snap.inventory.devices[0];diff --git a/tests/helpers/fake-local-comfy.ts b/tests/helpers/fake-local-comfy.tsindex efb90da4..f2f3c248 100644--- a/tests/helpers/fake-local-comfy.ts+++ b/tests/helpers/fake-local-comfy.ts@@ -87,7 +87,7 @@ export interface LiveRenderLog extends Omit<LiveRender, "data"> {/** The parts of a requirement index (src/lib/gpu/types.ts) the stand-in reads. */export interface IndexLike {folders: string[];- files: Record<string, { folder: string; file: string; sizeBytes?: number; presence?: string; loaders?: [string, string][] }>;+ files: Record<string, { folder: string; file: string; listFolder?: string; sizeBytes?: number; presence?: string; loaders?: [string, string][] }>;workflows: Record<string, { core: string[]; packs: Record<string, string[]> }>;}@@ -103,8 +103,10 @@ function install(idx: IndexLike) {}const folders = new Map<string, { name: string; size: number }[]>(idx.folders.map((f) => [f, []]));for (const f of Object.values(idx.files)) {- if (!folders.has(f.folder)) folders.set(f.folder, []);- folders.get(f.folder)!.push({ name: f.file, size: f.sizeBytes ?? 1 });+ // A pack's folder is listed under the name the pack registers it as (kandinsky6: audio_vae as kandinsky6_audio_vae).+ const listed = f.listFolder ?? f.folder;+ if (!folders.has(listed)) folders.set(listed, []);+ folders.get(listed)!.push({ name: f.file, size: f.sizeBytes ?? 1 });if (f.presence === "loader") for (const [cls, input] of f.loaders ?? []) ((node(cls).input.required[input] ??= [[]])[0] as string[]).push(f.file);}return { info, folders };diff --git a/tests/kandinsky6.test.ts b/tests/kandinsky6.test.tsindex ea261c87..6fe8ed77 100644--- a/tests/kandinsky6.test.ts+++ b/tests/kandinsky6.test.ts@@ -8,7 +8,7 @@ import { estimateCost, planGeneration, routesFor, sourceLengthProblem } from "@/import type { GenerationRequest, GenInput, ModelDef, ModelRoute, Operation } from "@/lib/catalog/types";import { PROMPT_HELPER_GRAPHS, PROMPT_HELPER_OPT_IN, skipPromptHelper, type ComfyWorkflow, type Manifest } from "@/lib/comfy";import { clipBlocker, clipOutcome, relatedHref } from "@/lib/composer";-import { factorTier, upscaleFactorFor, upscaledSize } from "@/lib/av/upscale";+import { factorTier, factorTierProblem, sideMultipleProblem, upscaleFactorFor, upscaledSize } from "@/lib/av/upscale";import { inKandinskyForm, kandinskyPrompt } from "@/lib/kandinsky-prompt";import { NODE_PACKS } from "@/lib/licences";import type { MediaInfo } from "@/lib/media-probe";@@ -81,7 +81,12 @@ describe("Kandinsky 6.0's graphs in the library", () => {expect(pro).toMatchObject({ folder: "diffusion_models", optional: true, sizeGb: 60.34 });expect(t2v.models.find((m) => m.file === "v1-44.pth")).toMatchObject({ folder: "audio_vae" });expect(t2v.models.map((m) => m.file)).toEqual(expect.arrayContaining(["bigvgan_vocoder/bigvgan_generator.pt", "bigvgan_vocoder/config.json", "qwen_2.5_vl_7b.safetensors", "clip_l.safetensors", "hunyuan_video_vae_bf16.safetensors"]));- expect(requirements.workflows["kandinsky6-t2av"].optional).toEqual(["diffusion_models/Kandinsky-6.0-Pro-distill-5s-Diffusers/transformer/diffusion_pytorch_model.safetensors"]);+ // Pro and the Prompt helper's 19 GB Qwen3.5 9B are needed only when picked (Quality "pro", Prompt helper "on").+ for (const id of ["kandinsky6-t2av", "kandinsky6-i2av"]) {+ expect(requirements.workflows[id].optional, id).toEqual(["diffusion_models/Kandinsky-6.0-Pro-distill-5s-Diffusers/transformer/diffusion_pytorch_model.safetensors", "text_encoders/qwen3.5_9b_bf16.safetensors"]);+ expect(requirements.workflows[id].files, id).not.toContain("text_encoders/qwen3.5_9b_bf16.safetensors");+ }+ expect(t2v.models.find((m) => m.file === "qwen3.5_9b_bf16.safetensors")).toMatchObject({ optional: true });const g = graph("kandinsky6-t2av");expect(g["8"].inputs).toMatchObject({ steps: 10, cfg: 1, denoise: 1 });expect(g["2"].inputs).toMatchObject({ clip_name1: "qwen_2.5_vl_7b.safetensors", clip_name2: "clip_l.safetensors", type: "kandinsky5" });@@ -249,6 +254,38 @@ describe("Kandinsky VSR on both engines", () => {});});+describe("Kandinsky VSR's factors and clip sizes", () => {+ it("refuses a resolution that isn't one of its factors before the run, on both engines", () => {+ for (const m of [vsrOpen, vsrCloud]) {+ expect(() => plan({ modelId: m.id, prompt: "", inputs: { video: "/api/files/c.mp4" }, params: { resolution: "1080p" } }), m.id).toThrow("Kandinsky VSR upscales by 2x, 2.25x or 4x: pick one of those");+ expect(() => plan({ modelId: m.id, prompt: "", inputs: { video: "/api/files/c.mp4" }, params: { resolution: "4x" } }), m.id).not.toThrow();+ expect(() => plan({ modelId: m.id, prompt: "", inputs: { video: "/api/files/c.mp4" } }), m.id).not.toThrow();+ }+ // Upscalers that take sizes are unchanged.+ expect(factorTierProblem("SeedVR2", ["720p", "1080p", "1440p", "2160p"], "4x")).toBeNull();+ });++ it("in the cloud, 2x and 4x take sides in multiples of 16 and say to pick 2.25x; your GPU pads the clip itself", () => {+ expect(vsrCloud.options.sideMultiple).toEqual({ of: 16, factors: ["2x", "4x"] });+ expect(vsrOpen.options.sideMultiple).toBeUndefined();+ const clip = { width: 854, height: 480, duration: 5 };+ expect(clipBlocker("upscale-video", clip, { resolution: "2x" }, vsrCloud, undefined)).toBe(+ "Kandinsky VSR at 2x needs a clip whose width and height are multiples of 16 (this one is 854×480): pick 2.25x, or resize the clip first",+ );+ expect(clipBlocker("upscale-video", clip, { resolution: "4x" }, vsrCloud, undefined)).toMatch(/at 4x needs .* multiples of 16/);+ expect(clipBlocker("upscale-video", clip, { resolution: "2.25x" }, vsrCloud, undefined)).toBeNull();+ expect(clipBlocker("upscale-video", clip, {}, vsrCloud, undefined)).toBeNull(); // the default, 2.25x+ expect(clipBlocker("upscale-video", { width: 848, height: 480, duration: 5 }, { resolution: "2x" }, vsrCloud, undefined)).toBeNull();+ expect(clipBlocker("upscale-video", clip, { resolution: "2x" }, vsrOpen, undefined)).toBeNull();+ expect(sideMultipleProblem("X", undefined, [], "2x", { width: 854, height: 480 })).toBeNull();+ });++ it("the cloud's Lite says it takes no negative prompt", () => {+ const labels = cloud.options.controls!.find((c) => c.param === "quality")!.labels!;+ for (const [k, v] of Object.entries(labels)) expect(v.includes("no negative prompt"), k).toBe(k.startsWith("lite"));+ });+});+describe("Kandinsky's spoken lines and sound", () => {it("turns quoted words into spoken lines and a closing Sound: line into the sound caption", () => {expect(kandinskyPrompt("She smiles and says “Look over there!” Sound: rain on the window")).toBe("She smiles and says <S>Look over there!<E> <AUDCAP>rain on the window<ENDAUDCAP>");@@ -258,8 +295,8 @@ describe("Kandinsky's spoken lines and sound", () => {const tagged = "He says <S>Hi<E> <AUDCAP>wind<ENDAUDCAP>";expect(inKandinskyForm(tagged)).toBe(true);expect(kandinskyPrompt(tagged)).toBe(tagged);- // A prompt that is only a sound line keeps its words.- expect(kandinskyPrompt("Sound: thunder")).toBe("Sound: thunder");+ // A prompt that is only a sound line is the sound caption alone.+ expect(kandinskyPrompt("Sound: thunder")).toBe("<AUDCAP>thunder<ENDAUDCAP>");});});@@ -283,3 +320,71 @@ describe("Where Kandinsky shows up", () => {expect(new Set(STUDIO_ROWS.map((r) => r.href)).size).toBe(STUDIO_ROWS.length);});});++describe("the GPU pre-flight on Kandinsky 6.0", () => {+ const SITE = "http://127.0.0.1:3370";+ const T2V = "kandinsky6-t2av";+ const AUDIO = ["audio_vae/v1-44.pth", "audio_vae/bigvgan_vocoder/bigvgan_generator.pt", "audio_vae/bigvgan_vocoder/config.json"];++ it("reads the audio files where the pack lists them (kandinsky6_audio_vae), so a ComfyUI with the pack reads Ready", async () => {+ const { parseIndex } = await import("@/lib/gpu/requirements");+ const { gatherInventory } = await import("@/lib/gpu/gather");+ const { fetchTransport } = await import("@/lib/gpu/transport");+ const { filePresence, workflowReadiness } = await import("@/lib/gpu/readiness");+ const { startLocalComfy } = await import("./helpers/fake-local-comfy");+ const idx = parseIndex(read("requirements.json"));+ for (const k of AUDIO) expect(idx.files[k as `${string}/${string}`], k).toMatchObject({ folder: "audio_vae", listFolder: "kandinsky6_audio_vae" });+ expect(idx.folders).toContain("kandinsky6_audio_vae");+ expect(idx.folders).not.toContain("audio_vae"); // ComfyUI has no folder of that name+ const fake = await startLocalComfy({ cors: SITE, has: idx as never });+ try {+ const t = fetchTransport("browser", fake.url, (url, init = {}) => fetch(url, { ...init, headers: { ...(init.headers as Record<string, string>), origin: SITE, "sec-fetch-site": "cross-site" } }), { decodes: true });+ const inv = await gatherInventory(t, idx, { where: "computer" });+ expect(Object.keys(inv.models.kandinsky6_audio_vae.have).sort()).toEqual(["bigvgan_vocoder/bigvgan_generator.pt", "bigvgan_vocoder/config.json", "v1-44.pth"]);+ expect(filePresence(idx.files["audio_vae/bigvgan_vocoder/bigvgan_generator.pt"], inv)).toBe("present");+ for (const id of [T2V, "kandinsky6-i2av"]) expect(workflowReadiness(id, inv, idx, { account: true }).state, id).toBe("ready");+ // The vocoder gone from that listing: the one thing it needs.+ delete inv.models.kandinsky6_audio_vae.have["bigvgan_vocoder/bigvgan_generator.pt"];+ const r = workflowReadiness(T2V, inv, idx, { account: true });+ expect(r.needs.map((n) => n.file)).toEqual(["audio_vae/bigvgan_vocoder/bigvgan_generator.pt"]);+ expect(r.needs[0].detail).toBe("bigvgan_vocoder/bigvgan_generator.pt → models/audio_vae"); // downloaded where the pack reads it+ } finally {+ await fake.close();+ }+ });++ it("asks for Pro's file only on Quality Pro and the helper's only with the Prompt helper on", async () => {+ const { parseIndex } = await import("@/lib/gpu/requirements");+ const { writeSnapshot, dropSnapshots } = await import("@/server/gpu/snapshots");+ const { gateGeneration } = await import("@/server/gpu/gate");+ const idx = parseIndex(read("requirements.json"));+ const INSTALL = { kind: "install", key: "install", via: "server" } as const;+ const at = Date.now();+ const models: Record<string, { have: Record<string, number | null>; total: number }> = {};+ for (const folder of idx.folders) models[folder] = { have: {}, total: 0 };+ const combos: Record<string, string[]> = {};+ for (const k of idx.workflows[T2V].files) {+ const f = idx.files[k];+ models[f.listFolder ?? f.folder].have[f.file] = f.sizeBytes;+ for (const [cls, input] of f.loaders ?? []) (combos[`${cls}.${input}`] ??= []).push(f.file);+ }+ for (const f of Object.values(idx.files)) for (const [cls, input] of f.loaders ?? []) combos[`${cls}.${input}`] ??= [];+ writeSnapshot(INSTALL, {+ v: 1, via: "server", checkedAt: at, tookMs: 5, reachable: true,+ devices: [{ name: "GPU", type: "cuda", index: 0, vramTotal: 24 * 2 ** 30, vramFree: 24 * 2 ** 30 }],+ manager: { api: "none" }, nodes: { have: [], missing: [], total: 1, readAt: at, how: "object_info" },+ combos, packs: {}, models, loras: {}, fingerprint: "x", errors: [],+ } as never);+ const gate = (extra: Record<string, unknown>) =>+ gateGeneration(INSTALL, { request: { feature: "video", modelId: open.id, prompt: "a fox", params: { extra } }, route: { provider: "comfyui", endpoint: T2V }, op: "t2v", modelId: open.id, actor: "owner" });+ try {+ expect(await gate({})).toEqual({ ok: true });+ expect(await gate({ quality: "lite", promptHelper: "off" })).toEqual({ ok: true });+ expect(await gate({ quality: "pro" })).toMatchObject({ ok: true, warning: expect.stringMatching(/needs 1 more thing/) });+ expect(await gate({ promptHelper: "on" })).toMatchObject({ ok: true, warning: expect.stringMatching(/needs 1 more thing/) });+ expect(await gate({ quality: "pro", promptHelper: "on" })).toMatchObject({ ok: true, warning: expect.stringMatching(/needs 2 more things/) });+ } finally {+ dropSnapshots("install");+ }+ });+});diff --git a/tests/video-finish.test.ts b/tests/video-finish.test.tsindex 2ae72ee4..36b15536 100644--- a/tests/video-finish.test.ts+++ b/tests/video-finish.test.ts@@ -683,6 +683,16 @@ describe("demo mode", () => {expect(JSON.parse(sent.provider_input_json)).toMatchObject({ resolution: "1440p", sourceSize: { width: 1920, height: 1080 } });}, 40_000);+ it("an upscaler's factor comes from the clip's own header, never from a size the request states", async () => {+ // A clip whose header can't be read, and a request that says it is 640×360: the run gets no size from the request.+ const video = saveFile({ data: Buffer.alloc(256, 7), contentType: "video/mp4", source: "upload" }).url;+ const [g] = gens.createGenerations({ feature: "upscale", modelId: "topaz-video", op: "upscale-video", inputs: { video }, params: { resolution: "1440p", sourceSize: { width: 640, height: 360 } } });+ await settled(g.id);+ const sent = db().prepare("SELECT provider_input_json FROM generations WHERE id = ?").get(g.id) as { provider_input_json: string | null };+ expect(sent.provider_input_json).toBeTruthy();+ expect(JSON.parse(sent.provider_input_json!).sourceSize).toBeUndefined();+ }, 40_000);+it("an EXR export keeps its frames as a zip in the Library", async () => {const video = saveFile({ data: fs.readFileSync(path.join(process.cwd(), "public/samples/demo-square.mp4")), contentType: "video/mp4", source: "upload" }).url;const [g] = gens.createGenerations({ feature: "export-video", modelId: "oss-export-video", op: "export-video", inputs: { video }, params: { format: "exr", sourceDuration: 4 } });diff --git a/workflows/comfyui/manifest.json b/workflows/comfyui/manifest.jsonindex deae4e58..951b51d2 100644--- a/workflows/comfyui/manifest.json+++ b/workflows/comfyui/manifest.json@@ -1,6 +1,6 @@{"version": 1,- "generatedAt": "2026-11-02T11:09:06.011Z",+ "generatedAt": "2026-11-02T15:38:07.911Z","comfyuiCommit": "fc04da91b2ab12f99e4716371a7e4f98ac982597","comfyuiVersion": "0.41.0","workflowTemplatesVersion": "0.11.86",@@ -22526,7 +22526,8 @@"file": "qwen3.5_9b_bf16.safetensors","folder": "text_encoders","url": "https://huggingface.co/Comfy-Org/Qwen3.5/resolve/5d50a2252bf1bcd49e5fee9b5f296986d442682b/text_encoders/qwen3.5_9b_bf16.safetensors",- "sizeGb": 19.31+ "sizeGb": 19.31,+ "optional": true},{"file": "bigvgan_vocoder/bigvgan_generator.pt",@@ -22695,7 +22696,8 @@"file": "qwen3.5_9b_bf16.safetensors","folder": "text_encoders","url": "https://huggingface.co/Comfy-Org/Qwen3.5/resolve/5d50a2252bf1bcd49e5fee9b5f296986d442682b/text_encoders/qwen3.5_9b_bf16.safetensors",- "sizeGb": 19.31+ "sizeGb": 19.31,+ "optional": true},{"file": "bigvgan_vocoder/bigvgan_generator.pt",diff --git a/workflows/comfyui/packs.json b/workflows/comfyui/packs.jsonindex 018d34bc..964ae77d 100644--- a/workflows/comfyui/packs.json+++ b/workflows/comfyui/packs.json@@ -304,7 +304,8 @@"requirementsTxt": true,"isolated": false,"subdir": "comfyui",- "folders": ["audio_vae"]+ "folders": ["audio_vae"],+ "listAs": { "audio_vae": "kandinsky6_audio_vae" }},"kandinsky6-sr": {"repo": "https://github.com/kandinskylab/kandinsky-6-sr",diff --git a/workflows/comfyui/requirements.json b/workflows/comfyui/requirements.jsonindex 807918c7..b02cd125 100644--- a/workflows/comfyui/requirements.json+++ b/workflows/comfyui/requirements.json@@ -1,8 +1,8 @@{"v": 1,- "hash": "d3ca9ea5f0efe4c3765e238ed5094d2922fea286880f4f863f52982fa1d550a6",+ "hash": "6703f1813ea1cb1d513c1e04cb646e3573749f5fdc5b412b19d5c23ed4390fb8","comfyui": {"min":"0.41.0","testedCommit":"fc04da91"},- "folders": ["audio_encoders","audio_vae","background_removal","checkpoints","clip_vision","dbs","diffusion_models","facerestore_models","foley","frame_interpolation","geometry_estimation","insightface","latent_upscale_models","loras","mmaudio","model_patches","optical_flow","reuse","text_encoders","thinksound","upscale_models","vae"],+ "folders": ["audio_encoders","background_removal","checkpoints","clip_vision","dbs","diffusion_models","facerestore_models","foley","frame_interpolation","geometry_estimation","insightface","kandinsky6_audio_vae","latent_upscale_models","loras","mmaudio","model_patches","optical_flow","reuse","text_encoders","thinksound","upscale_models","vae"],"sentinels": ["AILab_Qwen3ASRSubtitle","AILab_Qwen3TTSVoiceClone_Advanced","AILab_Qwen3TTSVoiceDesign_Advanced","AUSBOSS_NODES_CropForInpaint","AUSBOSS_NODES_ImageCropRotatePad","AUSBOSS_NODES_StitchInpaint","Add Subtitles To Frames","Apply Whisper","CFGOverride","ClothesSegment","ComfyMathExpression","CropFuobeLive","DBSLoader","DBSSeparate","DownloadAndLoadWav2VecModel","DualModelGuider","FL_ChatterboxDialogTTS","FL_ChatterboxMultilingualTTS","FL_ChatterboxVC","GetImageRangeFromBatch","GetImageSizeAndCount","GrowMaskWithBlur","H3AdaLNLoRAFix","H3CharacterSwapAssemble","H3CharacterSwapController","H3CharacterSwapExpandMask","H3CharacterSwapModels","H3CharacterSwapPrepareVideo","H3CharacterSwapRecoverMasks","H3CharacterSwapSelectSubject","H3CharacterSwapSettings","H3CharacterSwapShot","H3CharacterSwapWindowPlan","H3RelayAppendWindow","H3RelayApplyEditMask","H3RelayApplyHistory","H3RelayExpandMask","H3RelayFinishWindows","H3RelayPrepareSource","H3RelayRecoverMasks","H3RelayReviewWindows","H3RelaySamplingMemory","H3RelaySelectMask","H3RelayTextMemory","H3RelayWindowInputs","H3RelayWindowPlan","H3SLAAttention","HunyuanDependenciesLoader","HunyuanFoleySampler","HunyuanModelLoader","INTConstant","Ideogram4Scheduler","ImageBatchExtendWithOverlap","ImageGridtoBatch","ImageResizeKJv2","IndexTTS2Simple","Kandinsky6AudioVAEDecode","Kandinsky6AudioVAELoader","Kandinsky6BeautifyPrompt","Kandinsky6EmptyLatent","Kandinsky6ImageToVideoAudio","Kandinsky6LatentUpscalerLoader","Kandinsky6RemoveReferenceLatent","Kandinsky6SRVAELoader","Kandinsky6Sampler","Kandinsky6TextEncode","Kandinsky6VSRUpscale","Krea2EditGroundedEncode","Krea2EditModelPatch","Krea2OstrisEditModelPatch","LTXAVTextEncoderLoader","LTXAddVideoICLoRAGuide","LTXICLoRALoaderModelOnly","LTXVAddGuide","LTXVAudioVAEDecode","LTXVAudioVAELoader","LTXVConcatAVLatent","LTXVConditioning","LTXVCropGuides","LTXVDualCFGGuider","LTXVEmptyLatentAudio","LTXVImgToVideoInplace","LTXVLatentUpsampler","LTXVPreprocess","LTXVScheduler","LTXVSeparateAVLatent","LTXVTiledFusionSampler","LatentSyncNode","LoadBackgroundRemovalModel","LoadImageFuobeLive","LoadVideoDepthAnythingModel","MMAudioFeatureUtilsLoader","MMAudioModelLoader","MMAudioSampler","MelBandRoFormerModelLoader","MelBandRoFormerSampler","MiniMaxH3TurboLoRA","MiniMaxH3TurboSampler","MultiTalkModelLoader","MultiTalkWav2VecEmbeds","OpenH3RegenFastVAEDecode","OpenH3RegenFinish","OpenH3RegenLora","OpenH3RegenPrepareDraft","OpenH3RegenRefineLatent","OpenH3RegenSigmas","OpenH3RegenUpscale","OpenH3SaveRefinedLatent","PasteBackFuobeLive","Qwen21EncodeFuobeLive","Qwen21ReferenceFuobeLive","QwenImage21Cache","REUSEEnhance","REUSELoader","RIFE VFI","RMBG","ReActorFaceSwap","RemoveBackground","SAM3_Detect","SAM3_TrackToMask","SAM3_VideoTrack","SaveImageFuobeLive","SeedVR2Conditioning","SeedVR2PostProcessing","SeedVR2Preprocess","TS_ImageToSVGStringColor_Vtracer","TS_SVGStringToSVGBytesIO","TextEncodeFibo2","TextEncodeKrea2OstrisEdit","TextEncodeQwenImage21","ThinkSoundFeatureUtilsLoader","ThinkSoundModelLoader","ThinkSoundSampler","Trellis2Conditioning","Trellis2ShapeStage","Trellis2TextureStage","Trellis2UpsampleStage","VHS_BatchManager","VHS_LoadAudioUpload","VHS_LoadVideo","VHS_SelectEveryNthImage","VHS_VideoCombine","VHS_VideoInfo","VHS_VideoInfoLoaded","VideoDepthAnythingOutput","VideoDepthAnythingProcess","VideoLengthAdjuster","VoxCPM2_Clone","VoxCPM2_TTS","WanVideoBlockSwap","WanVideoClipVisionEncode","WanVideoDecode","WanVideoEncode","WanVideoImageToVideoMultiTalk","WanVideoLoraSelect","WanVideoModelLoader","WanVideoPassImagesFromSamples","WanVideoSampler","WanVideoTextEncodeCached","WanVideoVAELoader","ZenImage21AdapterLoader","ZenImage21TextEncode"],"packs": {"ComfyUI-DBS": {"repo":"https://github.com/hiroki-abe-58/ComfyUI-DBS","commit":"f656e53434b5485c148a2866fbd6ddc6b6152ed6","registry":{"id":"dbs-soundtrack-separation","version":""},"classes":["DBSLoader","DBSSeparate"],"folders":["dbs"],"isolated":false,"requirementsTxt":true,"install":"manual"},@@ -44,9 +44,9 @@"files": {"audio_encoders/wav2vec2-chinese-base_fp16.safetensors": {"folder":"audio_encoders","file":"wav2vec2-chinese-base_fp16.safetensors","url":"https://huggingface.co/Kijai/wav2vec2_safetensors/resolve/main/wav2vec2-chinese-base_fp16.safetensors","pinnedUrl":"https://huggingface.co/Kijai/wav2vec2_safetensors/resolve/87847d3bc53702afda44078249e7c33e867827c4/wav2vec2-chinese-base_fp16.safetensors","sizeBytes":190115368,"gated":false,"presence":"loader","loaders":[["AudioEncoderLoader","audio_encoder_name"]]},"audio_encoders/wav2vec2_large_english_fp16.safetensors": {"folder":"audio_encoders","file":"wav2vec2_large_english_fp16.safetensors","url":"https://huggingface.co/Comfy-Org/Wan_2.2_ComfyUI_Repackaged/resolve/main/split_files/audio_encoders/wav2vec2_large_english_fp16.safetensors","pinnedUrl":"https://huggingface.co/Comfy-Org/Wan_2.2_ComfyUI_Repackaged/resolve/ee6f4a40737a995bf5818954cfce6d59443b0f04/split_files/audio_encoders/wav2vec2_large_english_fp16.safetensors","sizeBytes":630997322,"gated":false,"presence":"loader","loaders":[["AudioEncoderLoader","audio_encoder_name"]]},- "audio_vae/bigvgan_vocoder/bigvgan_generator.pt": {"folder":"audio_vae","file":"bigvgan_vocoder/bigvgan_generator.pt","url":"https://huggingface.co/nvidia/bigvgan_v2_44khz_128band_512x/resolve/95a9d1dcb12906c03edd938d77b9333d6ded7dfb/bigvgan_generator.pt","pinnedUrl":"https://huggingface.co/nvidia/bigvgan_v2_44khz_128band_512x/resolve/95a9d1dcb12906c03edd938d77b9333d6ded7dfb/bigvgan_generator.pt","sizeBytes":489041291,"sha256":"d9fe7ec6bd0b44ed9d66973d5012d8181c1570b01e5c72df51973e241dccd357","gated":false,"packFolder":"kandinsky6","presence":"list"},- "audio_vae/bigvgan_vocoder/config.json": {"folder":"audio_vae","file":"bigvgan_vocoder/config.json","url":"https://huggingface.co/nvidia/bigvgan_v2_44khz_128band_512x/resolve/95a9d1dcb12906c03edd938d77b9333d6ded7dfb/config.json","pinnedUrl":"https://huggingface.co/nvidia/bigvgan_v2_44khz_128band_512x/resolve/95a9d1dcb12906c03edd938d77b9333d6ded7dfb/config.json","sizeBytes":1403,"gated":false,"packFolder":"kandinsky6","presence":"unobservable"},- "audio_vae/v1-44.pth": {"folder":"audio_vae","file":"v1-44.pth","url":"https://huggingface.co/hkchengrex/MMAudio/resolve/eb13a1a98fdbec91753775c57b074ccdfc60587c/ext_weights/v1-44.pth","pinnedUrl":"https://huggingface.co/hkchengrex/MMAudio/resolve/eb13a1a98fdbec91753775c57b074ccdfc60587c/ext_weights/v1-44.pth","sizeBytes":1221942998,"sha256":"ab6cc15dc31947675f75c950c41f4dcfd0d6d1817555ac871f809ec388e4651a","gated":false,"packFolder":"kandinsky6","presence":"loader","loaders":[["Kandinsky6AudioVAELoader","tod_vae"]]},+ "audio_vae/bigvgan_vocoder/bigvgan_generator.pt": {"folder":"audio_vae","file":"bigvgan_vocoder/bigvgan_generator.pt","url":"https://huggingface.co/nvidia/bigvgan_v2_44khz_128band_512x/resolve/95a9d1dcb12906c03edd938d77b9333d6ded7dfb/bigvgan_generator.pt","pinnedUrl":"https://huggingface.co/nvidia/bigvgan_v2_44khz_128band_512x/resolve/95a9d1dcb12906c03edd938d77b9333d6ded7dfb/bigvgan_generator.pt","sizeBytes":489041291,"sha256":"d9fe7ec6bd0b44ed9d66973d5012d8181c1570b01e5c72df51973e241dccd357","gated":false,"packFolder":"kandinsky6","listFolder":"kandinsky6_audio_vae","presence":"list"},+ "audio_vae/bigvgan_vocoder/config.json": {"folder":"audio_vae","file":"bigvgan_vocoder/config.json","url":"https://huggingface.co/nvidia/bigvgan_v2_44khz_128band_512x/resolve/95a9d1dcb12906c03edd938d77b9333d6ded7dfb/config.json","pinnedUrl":"https://huggingface.co/nvidia/bigvgan_v2_44khz_128band_512x/resolve/95a9d1dcb12906c03edd938d77b9333d6ded7dfb/config.json","sizeBytes":1403,"gated":false,"packFolder":"kandinsky6","listFolder":"kandinsky6_audio_vae","presence":"unobservable"},+ "audio_vae/v1-44.pth": {"folder":"audio_vae","file":"v1-44.pth","url":"https://huggingface.co/hkchengrex/MMAudio/resolve/eb13a1a98fdbec91753775c57b074ccdfc60587c/ext_weights/v1-44.pth","pinnedUrl":"https://huggingface.co/hkchengrex/MMAudio/resolve/eb13a1a98fdbec91753775c57b074ccdfc60587c/ext_weights/v1-44.pth","sizeBytes":1221942998,"sha256":"ab6cc15dc31947675f75c950c41f4dcfd0d6d1817555ac871f809ec388e4651a","gated":false,"packFolder":"kandinsky6","listFolder":"kandinsky6_audio_vae","presence":"loader","loaders":[["Kandinsky6AudioVAELoader","tod_vae"]]},"background_removal/birefnet.safetensors": {"folder":"background_removal","file":"birefnet.safetensors","url":"https://huggingface.co/Comfy-Org/BiRefNet/resolve/main/background_removal/birefnet.safetensors","pinnedUrl":"https://huggingface.co/Comfy-Org/BiRefNet/resolve/884af709e9b795d89dafbf97f29c8d6a2386f5c6/background_removal/birefnet.safetensors","sizeBytes":444473596,"gated":false,"presence":"loader","loaders":[["LoadBackgroundRemovalModel","bg_removal_name"]]},"checkpoints/ace_step_1.5_turbo_aio.safetensors": {"folder":"checkpoints","file":"ace_step_1.5_turbo_aio.safetensors","url":"https://huggingface.co/Comfy-Org/ace_step_1.5_ComfyUI_files/resolve/main/checkpoints/ace_step_1.5_turbo_aio.safetensors","pinnedUrl":"https://huggingface.co/Comfy-Org/ace_step_1.5_ComfyUI_files/resolve/371bb1680f8c88d8c1083f6ffb6330d3d55bff76/checkpoints/ace_step_1.5_turbo_aio.safetensors","sizeBytes":10025478736,"gated":false,"presence":"loader","loaders":[["CheckpointLoaderSimple","ckpt_name"]]},"checkpoints/flux1-dev-fp8.safetensors": {"folder":"checkpoints","file":"flux1-dev-fp8.safetensors","url":"https://huggingface.co/Comfy-Org/flux1-dev/resolve/main/flux1-dev-fp8.safetensors","pinnedUrl":"https://huggingface.co/Comfy-Org/flux1-dev/resolve/10cf201a3d49f7ff4de84d6a97d6a32cdfa8cb86/flux1-dev-fp8.safetensors","sizeBytes":17246524772,"gated":false,"presence":"loader","loaders":[["CheckpointLoaderSimple","ckpt_name"]]},@@ -310,8 +310,8 @@"interpolate-rife": {"core":["ComfyMathExpression","CreateVideo","FrameInterpolate","FrameInterpolationModelLoader","GetVideoComponents","LoadVideo","PrimitiveInt","SaveVideo"],"packs":{},"files":["frame_interpolation/rife_v4.26.safetensors"],"optional":[],"vramGb":2,"isolated":false,"firstRun":[],"validated":true},"interpolate-rife-fps": {"core":["ComfyMathExpression","CreateVideo","FrameInterpolate","FrameInterpolationModelLoader","GetVideoComponents","ImageBatch","ImageFromBatch","LoadVideo","PrimitiveFloat","PrimitiveInt","SaveVideo"],"packs":{"ComfyUI-VideoHelperSuite":["VHS_SelectEveryNthImage"]},"files":["frame_interpolation/rife_v4.26.safetensors"],"optional":["frame_interpolation/film_net_fp16.safetensors"],"vramGb":2,"isolated":false,"firstRun":[],"validated":true},"interpolate-rife-vfi": {"core":["ComfyMathExpression","PrimitiveInt"],"packs":{"ComfyUI-Frame-Interpolation":["RIFE VFI"],"ComfyUI-VideoHelperSuite":["VHS_LoadVideo","VHS_VideoCombine","VHS_VideoInfo"]},"files":[],"optional":[],"vramGb":2,"isolated":false,"firstRun":["RIFE VFI downloads rife49.pth into custom_nodes/ComfyUI-Frame-Interpolation/ckpts/rife on first run"],"validated":true},- "kandinsky6-i2av": {"core":["CLIPLoader","CreateVideo","DualCLIPLoader","ImageScale","LoadImage","SaveVideo","UNETLoader","VAEDecode","VAEEncode","VAELoader"],"packs":{"kandinsky6":["Kandinsky6AudioVAEDecode","Kandinsky6AudioVAELoader","Kandinsky6BeautifyPrompt","Kandinsky6EmptyLatent","Kandinsky6ImageToVideoAudio","Kandinsky6RemoveReferenceLatent","Kandinsky6Sampler","Kandinsky6TextEncode"]},"files":["audio_vae/bigvgan_vocoder/bigvgan_generator.pt","audio_vae/bigvgan_vocoder/config.json","audio_vae/v1-44.pth","diffusion_models/Kandinsky-6.0-Lite-distill-5s-Diffusers/transformer/diffusion_pytorch_model.safetensors","text_encoders/clip_l.safetensors","text_encoders/qwen3.5_9b_bf16.safetensors","text_encoders/qwen_2.5_vl_7b.safetensors","vae/hunyuan_video_vae_bf16.safetensors"],"optional":["diffusion_models/Kandinsky-6.0-Pro-distill-5s-Diffusers/transformer/diffusion_pytorch_model.safetensors"],"vramGb":24,"isolated":false,"firstRun":[]},- "kandinsky6-t2av": {"core":["CLIPLoader","CreateVideo","DualCLIPLoader","SaveVideo","UNETLoader","VAEDecode","VAELoader"],"packs":{"kandinsky6":["Kandinsky6AudioVAEDecode","Kandinsky6AudioVAELoader","Kandinsky6BeautifyPrompt","Kandinsky6EmptyLatent","Kandinsky6Sampler","Kandinsky6TextEncode"]},"files":["audio_vae/bigvgan_vocoder/bigvgan_generator.pt","audio_vae/bigvgan_vocoder/config.json","audio_vae/v1-44.pth","diffusion_models/Kandinsky-6.0-Lite-distill-5s-Diffusers/transformer/diffusion_pytorch_model.safetensors","text_encoders/clip_l.safetensors","text_encoders/qwen3.5_9b_bf16.safetensors","text_encoders/qwen_2.5_vl_7b.safetensors","vae/hunyuan_video_vae_bf16.safetensors"],"optional":["diffusion_models/Kandinsky-6.0-Pro-distill-5s-Diffusers/transformer/diffusion_pytorch_model.safetensors"],"vramGb":24,"isolated":false,"firstRun":[]},+ "kandinsky6-i2av": {"core":["CLIPLoader","CreateVideo","DualCLIPLoader","ImageScale","LoadImage","SaveVideo","UNETLoader","VAEDecode","VAEEncode","VAELoader"],"packs":{"kandinsky6":["Kandinsky6AudioVAEDecode","Kandinsky6AudioVAELoader","Kandinsky6BeautifyPrompt","Kandinsky6EmptyLatent","Kandinsky6ImageToVideoAudio","Kandinsky6RemoveReferenceLatent","Kandinsky6Sampler","Kandinsky6TextEncode"]},"files":["audio_vae/bigvgan_vocoder/bigvgan_generator.pt","audio_vae/bigvgan_vocoder/config.json","audio_vae/v1-44.pth","diffusion_models/Kandinsky-6.0-Lite-distill-5s-Diffusers/transformer/diffusion_pytorch_model.safetensors","text_encoders/clip_l.safetensors","text_encoders/qwen_2.5_vl_7b.safetensors","vae/hunyuan_video_vae_bf16.safetensors"],"optional":["diffusion_models/Kandinsky-6.0-Pro-distill-5s-Diffusers/transformer/diffusion_pytorch_model.safetensors","text_encoders/qwen3.5_9b_bf16.safetensors"],"vramGb":24,"isolated":false,"firstRun":[]},+ "kandinsky6-t2av": {"core":["CLIPLoader","CreateVideo","DualCLIPLoader","SaveVideo","UNETLoader","VAEDecode","VAELoader"],"packs":{"kandinsky6":["Kandinsky6AudioVAEDecode","Kandinsky6AudioVAELoader","Kandinsky6BeautifyPrompt","Kandinsky6EmptyLatent","Kandinsky6Sampler","Kandinsky6TextEncode"]},"files":["audio_vae/bigvgan_vocoder/bigvgan_generator.pt","audio_vae/bigvgan_vocoder/config.json","audio_vae/v1-44.pth","diffusion_models/Kandinsky-6.0-Lite-distill-5s-Diffusers/transformer/diffusion_pytorch_model.safetensors","text_encoders/clip_l.safetensors","text_encoders/qwen_2.5_vl_7b.safetensors","vae/hunyuan_video_vae_bf16.safetensors"],"optional":["diffusion_models/Kandinsky-6.0-Pro-distill-5s-Diffusers/transformer/diffusion_pytorch_model.safetensors","text_encoders/qwen3.5_9b_bf16.safetensors"],"vramGb":24,"isolated":false,"firstRun":[]},"kenburns-still": {"core":["ComfyMathExpression","ConcatenateVideo","CreateVideo","EndLoop","GetImageSize","ImageCrop","ImageScale","ImageScaleBy","LoadImage","PrimitiveFloat","PrimitiveInt","RebatchImages","SaveVideo","StartLoop"],"packs":{},"files":[],"optional":[],"vramGb":0,"isolated":false,"firstRun":[],"validated":true},"krea2-edit-general": {"core":["CLIPLoader","EmptySD3LatentImage","KSampler","LoadImage","LoraLoaderModelOnly","SaveImage","UNETLoader","VAEDecode","VAEEncode","VAELoader"],"packs":{"comfyui-krea2edit":["Krea2EditGroundedEncode","Krea2EditModelPatch"]},"files":["diffusion_models/krea2_turbo_fp8_scaled.safetensors","loras/krea2_general_edit_v2.safetensors","text_encoders/qwen3vl_4b_fp8_scaled.safetensors","vae/qwen_image_vae.safetensors"],"optional":[],"vramGb":20,"isolated":false,"firstRun":[]},"krea2-edit-identity": {"core":["CLIPLoader","EmptySD3LatentImage","KSampler","LoadImage","LoraLoaderModelOnly","SaveImage","UNETLoader","VAEDecode","VAEEncode","VAELoader"],"packs":{"comfyui-krea2edit":["Krea2EditGroundedEncode","Krea2EditModelPatch"]},"files":["diffusion_models/krea2_turbo_fp8_scaled.safetensors","loras/krea2_identity_edit_v2.safetensors","text_encoders/qwen3vl_4b_fp8_scaled.safetensors","vae/qwen_image_vae.safetensors"],"optional":[],"vramGb":20,"isolated":false,"firstRun":[]},