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 branch 'claude/fuobe-parity-4' into o/archive-restore

Claudee2641d3694c1
diff --cc src/components/studio/mode-switch-studio.tsx
index 3382dccf,f394ae99..4245a6bc
--- a/src/components/studio/mode-switch-studio.tsx
+++ b/src/components/studio/mode-switch-studio.tsx
@@@ -28,9 -28,9 +28,10 @@@ import { DubStudio } from "@/components
import { TrimTool } from "@/components/av/trim-tool";
import { RemoveObjectTool } from "@/components/remove-object/remove-object-tool";
import { EvolutionTool } from "@/components/evolution/evolution-tool";
+import { RestoreTool } from "@/components/restore/restore-tool";
import { AudioJoinTool, AudioLoopTool } from "@/components/audio-tools/audio-tools";
import { SplitSoundtrackTool } from "@/components/audio-tools/split-tool";
+ import { RemoveDialogueTool } from "@/components/audio-tools/remove-dialogue-tool";
import { ModeStudio, ModeTabs } from "./mode-studio";
import type { StudioConfig } from "./studio-context";
@@@ -55,7 -55,7 +56,7 @@@ const CONFIGS: Record<HubKind, Record<s
},
};
- /** Modes that are their own tool rather than a composer studio (Translate & dub, Loop / extend, Join, Split soundtrack, Remove object, Evolution, Restore & colourise, Captions, Trim). */
-/** Modes that are their own tool rather than a composer studio (Translate & dub, Loop / extend, Join, Split soundtrack, Remove object, Remove dialogue, Evolution, Captions, Trim). */
++/** Modes that are their own tool rather than a composer studio (Translate & dub, Loop / extend, Join, Split soundtrack, Remove object, Remove dialogue, Evolution, Restore & colourise, Captions, Trim). */
const TOOLS: Partial<Record<HubKind, Record<string, (p: { tabs: React.ReactNode }) => React.ReactNode>>> = {
audio: {
translate: ({ tabs }) => <DubStudio tabs={tabs} />,
@@@ -65,8 -65,8 +66,9 @@@
},
"video-tools": {
"remove-object": ({ tabs }) => <RemoveObjectTool tabs={tabs} />,
+ "remove-dialogue": ({ tabs }) => <RemoveDialogueTool tabs={tabs} />,
evolution: ({ tabs }) => <EvolutionTool tabs={tabs} />,
+ restore: ({ tabs }) => <RestoreTool tabs={tabs} />,
captions: ({ tabs }) => <CaptionsStudio tabs={tabs} />,
trim: ({ tabs }) => <TrimTool tabs={tabs} />,
},
diff --cc src/components/studio/result-actions.tsx
index 0ee3baf8,71113139..3f088575
--- a/src/components/studio/result-actions.tsx
+++ b/src/components/studio/result-actions.tsx
@@@ -18,9 -18,9 +18,10 @@@ import
Heart,
ImagePlus,
Layers2,
+ Palette,
LayoutDashboard,
Mic2,
+ MicOff,
MoreHorizontal,
Pin,
Repeat,
diff --cc src/lib/hubs.ts
index 86697c8f,94e96448..9b4d8465
--- a/src/lib/hubs.ts
+++ b/src/lib/hubs.ts
@@@ -29,8 -29,8 +29,9 @@@ export const HUB_MODES: Record<HubKind
"video-tools": [
{ id: "matte", label: "Remove background" },
{ id: "remove-object", label: "Remove object" },
+ { id: "remove-dialogue", label: "Remove dialogue" },
{ id: "evolution", label: "Evolution" },
+ { id: "restore", label: "Restore & colourise" },
{ id: "relight", label: "Relight" },
{ id: "depth", label: "Depth map" },
{ id: "captions", label: "Captions" },
diff --cc src/lib/output-actions.ts
index 2fe09081,848a2cdd..d27cc802
--- a/src/lib/output-actions.ts
+++ b/src/lib/output-actions.ts
@@@ -124,10 -125,9 +126,11 @@@ export function outputActions(g: Genera
link("reframe", "Reframe", `/reframe?video=${q(o.url)}`);
link("lipsync", "Lipsync", `/lipsync?video=${q(o.url)}`);
link("upscale", "Upscale", `/upscale/video?video=${q(o.url)}`);
+ // Old, faded or black-and-white footage (Fuobe Restore): Video tools → Restore & colourise with the clip in.
+ link("restore-video", "Restore & colourise", `/video-tools/restore?video=${q(o.url)}`);
link("add-sound", "Add sound", `/audio/video?video=${q(o.url)}`);
link("split-soundtrack", "Split soundtrack", `/audio/split?video=${q(o.url)}`);
+ link("remove-dialogue", "Remove dialogue", `/video-tools/remove-dialogue?video=${q(o.url)}`);
// A Fuobe DoP colour-grade effect: the clip opens in Color grading with its grade picked (one click to export).
const dopGrade = gradeOf(o);
link("grade", dopGrade ? `Apply the ${dopGrade.name} grade` : "Color grade", `/color-grade?video=${q(o.url)}${dopGrade ? `&preset=${q(dopGrade.id)}` : ""}`);
diff --cc tests/library-pure.test.ts
index e7ba37b1,ce4b8dfc..68db130c
--- a/tests/library-pure.test.ts
+++ b/tests/library-pure.test.ts
@@@ -110,9 -110,9 +110,10 @@@ describe("outputActions", () =>
"menu:reframe",
"menu:lipsync",
"menu:upscale",
+ "menu:restore-video",
"menu:add-sound",
"menu:split-soundtrack",
+ "menu:remove-dialogue",
"menu:grade",
"menu:genjutsu",
"menu:finalize",