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.

1.1 KB
Raw Blame
import type { Metadata } from "next";
import { StoryboardView } from "@/components/storyboard-view";
import { getModel } from "@/lib/catalog";
import { STORYBOARD_LOOK_MODEL, STORYBOARD_MODELS, STORYBOARD_NEXT_SCENE, STORYBOARD_PARTNERS } from "@/lib/catalog/storyboard";
import { starterCards, starterFills } from "@/lib/starters/catalog";

export const metadata: Metadata = { title: "Storyboard" };

/** Display names for the few models a storyboard uses, so the view needs no catalog in the browser. */
const MODEL_NAMES = Object.fromEntries(
  [...Object.values(STORYBOARD_MODELS), ...Object.values(STORYBOARD_PARTNERS)]
    .flatMap((m) => [m.first, m.firstWithRefs, m.next])
    .concat(STORYBOARD_LOOK_MODEL, ...Object.values(STORYBOARD_NEXT_SCENE))
    .map((id) => [id, getModel(id)?.name ?? id]),
);

export default function Page() {
  // The ready stories with their real cover, and what each puts into the composer; the owner's view loads the rest.
  return <StoryboardView modelNames={MODEL_NAMES} starters={starterCards("storyboard")} fills={starterFills("storyboard")} />;
}