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
Hosted runs tests: the refused tool example is Restore's prompt writer
Adarshffe3bde769c6
diff --git a/tests/hosted-runs.test.ts b/tests/hosted-runs.test.tsindex 670aef9b..2959322b 100644--- a/tests/hosted-runs.test.ts+++ b/tests/hosted-runs.test.ts@@ -97,7 +97,7 @@ describe("hosted runs on", () => {it("a studio run reaches the route; other tools still need the account's own GPU", async () => {const r = await viaProxy("/api/generations");expect(r.status).not.toBe(403);- const other = await viaProxy("/api/enhance");+ const other = await viaProxy("/api/restore/prompt");expect(other.status).toBe(403);expect(((await other.json()) as { code: string }).code).toBe("own-gpu-tool");});diff --git a/tests/hosted-tool-runs.test.ts b/tests/hosted-tool-runs.test.tsindex 8443ca77..5597284e 100644--- a/tests/hosted-tool-runs.test.ts+++ b/tests/hosted-tool-runs.test.ts@@ -158,7 +158,7 @@ describe("hosted runs on", () => {it("a tool's run reaches its route for an account with no GPU of its own; other tools still say so", async () => {expect(passed(await viaProxy("/api/storyboards", "none"))).toBe(true);- const other = await viaProxy("/api/enhance", "none");+ const other = await viaProxy("/api/restore/prompt", "none");expect(other.status).toBe(403);expect(((await other.json()) as { code: string }).code).toBe("own-gpu-tool");});