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
Tests: Faceless's Regenerate to 1080p runs on an account's own GPU that says it has 48 GB
Adarsha79b740ed44e
diff --git a/tests/account-content.test.ts b/tests/account-content.test.tsindex df087488..32643a7c 100644--- a/tests/account-content.test.ts+++ b/tests/account-content.test.ts@@ -110,7 +110,8 @@ let c = "";const cookies: Record<string, string> = {};const voices: Record<string, string> = {};beforeAll(async () => {- fake = await startFakeComfy({ loras: [], delayMs: 0, mixed: true });+ // A 48 GB card, as each account's own GPU says when it is connected: Regenerate to 1080p (a 48 GB item) runs on it.+ fake = await startFakeComfy({ loras: [], delayMs: 0, mixed: true, vramGb: 48 });globalThis.__fuobeTestGpuPort = fake.port;auth.setPassword("install password");for (const [k, email] of [diff --git a/tests/helpers/fake-comfy-runner.ts b/tests/helpers/fake-comfy-runner.tsindex 68850a25..d9f7885d 100644--- a/tests/helpers/fake-comfy-runner.ts+++ b/tests/helpers/fake-comfy-runner.ts@@ -37,6 +37,8 @@ export interface FakeComfyOptions {/** /prompt answers "not in list" for a graph with a node of this class (a file that node loads isn't there). */refuseClass?: string;echo?: boolean;+ /** The memory its GPU says it has in /system_stats, in GB (24 unless set). */+ vramGb?: number;/** A text result (SaveText, node 5): these words in the history and in the .txt file /view serves. */text?: string;/** The history lists one video under each of these node ids instead of node 900 (a graph's declared outputs, e.g. a take and its master). */@@ -209,7 +211,7 @@ export function startFakeComfy(opts: FakeComfyOptions = {}, port = 0): Promise<Fres.writeHead(said.status, { "content-type": said.contentType ?? "text/html" });return res.end(said.body ?? "");}- if (p === "/system_stats") return json(200, { system: { comfyui_version: "0.3.fake", ram_total: 64 * 2 ** 30 }, devices: [{ name: "Fake GPU", vram_total: 24 * 2 ** 30 }] });+ if (p === "/system_stats") return json(200, { system: { comfyui_version: "0.3.fake", ram_total: 64 * 2 ** 30 }, devices: [{ name: "Fake GPU", vram_total: (opts.vramGb ?? 24) * 2 ** 30 }] });if (p === "/models/loras") return json(200, opts.loras ?? []);if (p === "/object_info") return json(200, {});if (p === "/upload/image" && req.method === "POST") {