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
Placeholder results: Remove object opens the connect card too, and the MOSS check reads the switch
Adarsh25893a0b1a72
diff --git a/src/server/remove-object.ts b/src/server/remove-object.tsindex 1de2205f..11f6ad09 100644--- a/src/server/remove-object.ts+++ b/src/server/remove-object.ts@@ -25,7 +25,7 @@ import {import type { PlanStep } from "@/lib/catalog/shorts";import type { Engine, GenParams, Generation, PixelPoint } from "@/lib/catalog/types";import { createPipeline } from "./chains";-import { previewChained } from "./generations";+import { ConnectComfyError, previewChained } from "./generations";import { ACCESS_PLACE } from "@/lib/model-access";import { isOffered, offeredLoras } from "./model-access";import { decodePng } from "./png";@@ -252,6 +252,7 @@ function price(steps: PlanStep[], source: RemoveSource): { costUsd: number | nultry {p = previewChained(withChain(s), s.after?.length ?? 0);} catch (e) {+ if (e instanceof ConnectComfyError) throw e;throw new ShortsError((e as Error).message, 422);}demo ||= p.demo;@@ -305,6 +306,7 @@ function run(steps: PlanStep[]) {try {return createPipeline(steps);} catch (e) {+ if (e instanceof ConnectComfyError) throw e;throw new ShortsError((e as Error).message, 422);}}diff --git a/tests/e2e/moss-image.mjs b/tests/e2e/moss-image.mjsindex fe87a1b2..4a2fa980 100644--- a/tests/e2e/moss-image.mjs+++ b/tests/e2e/moss-image.mjs@@ -29,8 +29,8 @@ const flat = (s) => String(s ?? "").replace(/\s+/g, " ").trim();const status = await (await fetch(`${app}/api/status`)).json().catch(() => ({}));const fal = !!status.providers?.fal?.configured;const comfy = !!status.providers?.comfyui?.configured;-// Demo mode (the default) runs a model whose providers aren't connected as a free placeholder; with it off, nothing does.-const demo = status.demoMode !== "off";+// Placeholder results (Settings, off by default) make every run a free placeholder; with them off, nothing does.+const demo = status.demoMode === "on";if (!fal) console.log('note: no fal key on this server: the cloud composer shows "Placeholder · free" (start it with FAL_KEY=anything for the hosted price)');if (!comfy) console.log('note: ComfyUI is unreachable from this server: the open engine shows "Placeholder · free" too (Free once it is reachable)');if (argv.includes("--fal")) check("server: a fal key is set (--fal), so the hosted price is checked", fal);