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: Genjutsu's transcription on an account's own ComfyUI makes a run for each send, as before
Adarsh6473137baf36
diff --git a/tests/account-genjutsu.test.ts b/tests/account-genjutsu.test.tsindex faa7ecab..03e27521 100644--- a/tests/account-genjutsu.test.ts+++ b/tests/account-genjutsu.test.ts@@ -314,7 +314,8 @@ describe("an account runs Genjutsu on its own ComfyUI", () => {const other = await transcribeRoute.POST(json("/api/genjutsu/transcribe", "POST", { engine: "open", source: { url: clip, duration: 12 } }, "b"));expect(other.status).toBe(403);expect((await other.json()).code).toBe("input-not-yours");- // One press sent twice (the page's id in its header) is one transcription.+ // On its own ComfyUI a press sent twice (the page's id in its header) makes a transcription each time, as before the+ // page sent an id: only a run on this install's GPUs is kept once.const press = () => {const req = json("/api/genjutsu/transcribe", "POST", { engine: "open", source: { url: clip, duration: 12 } }, "a");req.headers.set("x-request-id", "press-words-0001");@@ -324,8 +325,10 @@ describe("an account runs Genjutsu on its own ComfyUI", () => {expect(first.status, await first.clone().text()).toBe(201);const n = (db().prepare("SELECT COUNT(*) AS n FROM generations").get() as { n: number }).n;const again = await press();- expect(((await again.json()) as { id: string }).id).toBe(((await first.json()) as { id: string }).id);- expect((db().prepare("SELECT COUNT(*) AS n FROM generations").get() as { n: number }).n).toBe(n);+ expect(again.status, await again.clone().text()).toBe(201);+ expect(((await again.json()) as { id: string }).id).not.toBe(((await first.json()) as { id: string }).id);+ expect((db().prepare("SELECT COUNT(*) AS n FROM generations").get() as { n: number }).n).toBe(n + 1);+ expect(db().prepare("SELECT COUNT(*) AS n FROM run_requests").get()).toEqual({ n: 0 });});it("From picture's describer runs on an account's own GPU before From picture opens here; a first frame counts only for whoever made it", async () => {