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
Merge main's newer work (pairing shows who approved it, Fuobe Connect checks links into dropdowns)
Adarshd9ea408f1967
diff --cc docs/gpu-workers.mdindex 43632bd5,5f430442..76d9afc6--- a/docs/gpu-workers.md+++ b/docs/gpu-workers.md@@@ -62,12 -75,8 +75,13 @@@ Connect get a refusal that asks them tThe token acts only as that person's own computer. The ComfyUI gets that person's jobs, and nobody else's. The jobsrun with no Fuobe tab open. Fuobe Connect pairs only with a studio the person trusts (or `https://fuobe.com`), and- checks every job as in direct mode before ComfyUI sees it. If the poll answer names the approving account, ComfyUI- shows it. The person can pause jobs in ComfyUI. When the owner pairs a ComfyUI, the studio's ComfyUI jobs move to the- owner's computer, as before, unless they run on workers or hosted runs are on (`FUOBE_HOSTED_RUNS=1`). Then the pairing- changes nothing of where they run: the paired ComfyUI takes the owner's jobs once the owner chooses the computer in- Settings → ComfyUI. Every change of that setting is in the admin log (`settings.comfy_where`, with the value before and- after). The person can disconnect the ComfyUI in Settings → Your GPU (`DELETE /api/gpu/paired/<id>`)+ checks every job as in direct mode before ComfyUI sees it. The approved poll answer names the approving account,-masked (`a•••@example.com`, or "the studio's owner"), and ComfyUI shows it. The person can pause jobs in ComfyUI. The person can disconnect the ComfyUI in Settings → Your GPU (`DELETE /api/gpu/paired/<id>`)++masked (`a•••@example.com`, or "the studio's owner"), and ComfyUI shows it. The person can pause jobs in ComfyUI. When++the owner pairs a ComfyUI, the studio's ComfyUI jobs move to the owner's computer, as before, unless they run on workers++or hosted runs are on (`FUOBE_HOSTED_RUNS=1`). Then the pairing changes nothing of where they run: the paired ComfyUI++takes the owner's jobs once the owner chooses the computer in Settings → ComfyUI. Every change of that setting is in++the admin log (`settings.comfy_where`, with the value before and after). The person can disconnect the ComfyUI in++Settings → Your GPU (`DELETE /api/gpu/paired/<id>`)or press Disconnect in ComfyUI (`POST /api/gpu/computer/unpair`). A disconnected token gets 401 at its next call.## Workers (the owner's shared GPUs)diff --cc tests/workers-pairing.test.tsindex ef135946,0015790d..05e148ff--- a/tests/workers-pairing.test.ts+++ b/tests/workers-pairing.test.ts@@@ -111,17 -115,11 +115,18 @@@ describe("pairing a ComfyUI", () =>expect(workers.pollPairing(s.id, s.secret).state).toBe("gone");});- it("the owner can pair too: ComfyUI then runs on the owner's computer", async () => {- setSetting("comfyWhere", "server");+ it("the owner can pair too; where the studio's ComfyUI jobs run stays the owner's choice in Settings", async () => {+ setSetting("comfyWhere", "workers");+ const logged = () => db().prepare("SELECT detail_json FROM admin_audit WHERE action = 'settings.comfy_where' ORDER BY id").all() as { detail_json: string }[];+ const before = logged().length;const p = await pair("owner");+ expect(p.account).toBe("the studio's owner");- expect(getSetting("comfyWhere")).toBe("computer");+ expect(getSetting("comfyWhere")).toBe("workers");+ expect(logged().length).toBe(before);+ // It takes the owner's jobs once the owner moves them to the owner's computer in Settings.+ expect((principalOf(program("/api/gpu/computer/beat", p.token)) as Response).status).toBe(409);+ // Every change of it is in the admin log, with the values before and after; setting the same value again is not.+ setSetting("comfyWhere", "computer");const req = program("/api/gpu/computer/beat", p.token);expect(principalOf(req)).toBe("owner");expect(requestWorker(req)?.id).toBe(p.id);