Skip to content

armgit / fuobe

Public Imported from GitHub
0

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.

Merge claude/fuobe-parity-4 into o/dbs-d8

Claudebf4a8a9684c5
diff --cc src/lib/catalog/canvas.ts
index 2122a4ed,88413966..6efb6d06
--- a/src/lib/catalog/canvas.ts
+++ b/src/lib/catalog/canvas.ts
@@@ -16,7 -16,8 +16,9 @@@ import { chainedWaitMessage, keyframeCh
import { estimateCost, inferOperation, planGeneration, routesFor, type Plan } from "./plan";
import { replacedBy, replacementOf } from "./replaced";
import { REGEN_COPY, REGEN_MODEL } from "./regenerate";
+import { CLOUD_ONLY_PROBLEM, CLOUD_SPLIT_PROBLEM, SPLIT_MODEL, STEMS, type StemId } from "@/lib/av/split";
+ import { compileWords, LAYOUT_PARAM, readLayout, type LayoutDraft } from "@/lib/layout-prompt";
+ import { fillLayout, layoutPlaceholders } from "@/lib/layout-surfaces";
import {
OPERATION_LABELS,
OPERATION_OUTPUT,
@@@ -480,9 -485,11 +494,12 @@@ export function modelChoices(n: Pick<Ca
return MODELS.filter((m) => !m.hidden && (!kind || m.kind === kind) && !needsMarks(m) && m.routes.some((r) => !UNSUPPORTED_OPS.has(r.op)));
}
if (n.type === "concat") return Object.values(CONCAT_MODELS).flatMap((id) => getModel(id) ?? []);
+ if (n.type === "split-soundtrack") return splitModels();
const ops = nodeOps(n);
- return MODELS.filter((m) => ops.some((op) => supportsOp(m, op)) && (!m.hidden || ops.includes("frame")) && !needsMarks(m));
+ // Clean up voice offers only what runs on your GPU (RE-USE): the hosted cleaners share its op but are Clean up
+ // dialogue's cloud engine (defaultModelForNode).
+ const own = (m: ModelDef) => n.type !== "clean-voice" || runsOn(m, "open");
+ return MODELS.filter((m) => ops.some((op) => supportsOp(m, op)) && (!m.hidden || ops.includes("frame")) && !needsMarks(m) && own(m));
}
// ---------------------------------------------------------------------------
@@@ -865,9 -781,10 +882,10 @@@ export function singleInput(graph: Canv
type Source =
| { kind: "text"; text: string }
+ | { kind: "layout"; draft: LayoutDraft }
| { kind: "media"; url: string }
| { kind: "element"; handle: string }
- | { kind: "node"; nodeId: string };
+ | { kind: "node"; nodeId: string; stem?: StemId };
const SLOT: Record<InputPortId, ChainSlot["slot"] | null> = {
prompt: "prompt",
diff --cc src/server/canvas.ts
index 1ae0d74d,778863d8..84c1af61
--- a/src/server/canvas.ts
+++ b/src/server/canvas.ts
@@@ -104,8 -105,8 +106,9 @@@ const NODE_TYPES =
"clone-voice",
"translate",
"concat",
+ "restore",
"table",
+ "layout",
"output",
"note",
] as const satisfies readonly CanvasNodeType[];