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.

534 B
Raw Blame
import { makeMask, MaskSchema } from "@/server/swap-studio";
import { jobRoute } from "@/server/swap-studio-account";

const run = jobRoute(MaskSchema, "Pick a shot, a frame and who to swap", makeMask);

/**
 * Who to swap, as a mask: Track shot (from a frame to the shot's end) or Update frame — a new mask version. An account's
 * on its own GPU or key (src/server/swap-studio-account.ts).
 */
export async function POST(request: Request, ctx: RouteContext<"/api/swap-studio/projects/[id]/masks">) {
  return run(request, ctx);
}