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
Merge branch 'r3b/shorts-mixed' into claude/fuobe-parity-3
Claude2f4afeb88668
diff --cc src/server/db.tsindex 08d5e570,75383a4e..604f6a09--- a/src/server/db.ts+++ b/src/server/db.ts@@@ -175,29 -175,30 +175,53 @@@ const MIGRATIONS: string[] =edited_at INTEGER);CREATE INDEX IF NOT EXISTS canvases_updated ON canvases(updated_at DESC);`,+ // Layers projects: one source image, saved versions of its layer document, and the AI jobs its tools started.+ `CREATE TABLE IF NOT EXISTS layer_projects (+ id TEXT PRIMARY KEY,+ name TEXT NOT NULL,+ source_url TEXT NOT NULL,+ cover_url TEXT,+ width INTEGER NOT NULL,+ height INTEGER NOT NULL,+ head_version_id TEXT,+ jobs_json TEXT NOT NULL DEFAULT '[]',+ created_at INTEGER NOT NULL,+ updated_at INTEGER NOT NULL+ );+ CREATE INDEX IF NOT EXISTS layer_projects_updated ON layer_projects(updated_at DESC);+ CREATE TABLE IF NOT EXISTS layer_versions (+ id TEXT PRIMARY KEY,+ project_id TEXT NOT NULL,+ label TEXT NOT NULL,+ doc_json TEXT NOT NULL,+ created_at INTEGER NOT NULL,+ updated_at INTEGER NOT NULL+ );+ CREATE INDEX IF NOT EXISTS layer_versions_project ON layer_versions(project_id, created_at DESC);`,+ // Shorts Studio: sessions (a clip cut into segments, each with its takes and the chosen one, plus the stitches) and custom presets.+ `CREATE TABLE IF NOT EXISTS shorts_sessions (+ id TEXT PRIMARY KEY,+ title TEXT NOT NULL,+ engine TEXT NOT NULL,+ batch_id TEXT NOT NULL,+ look_json TEXT NOT NULL,+ source_json TEXT NOT NULL,+ range_json TEXT NOT NULL,+ settings_json TEXT NOT NULL,+ segments_json TEXT NOT NULL DEFAULT '[]',+ stitches_json TEXT NOT NULL DEFAULT '[]',+ created_at INTEGER NOT NULL,+ updated_at INTEGER NOT NULL+ );+ CREATE INDEX IF NOT EXISTS shorts_sessions_updated ON shorts_sessions(updated_at DESC);+ CREATE TABLE IF NOT EXISTS shorts_presets (+ id TEXT PRIMARY KEY,+ name TEXT NOT NULL,+ description TEXT NOT NULL DEFAULT '',+ references_json TEXT NOT NULL DEFAULT '[]',+ created_at INTEGER NOT NULL,+ updated_at INTEGER NOT NULL+ );`,];declare global {diff --cc src/server/generations.tsindex 3e0e2944,ff313d16..e0d9054b--- a/src/server/generations.ts+++ b/src/server/generations.ts@@@ -208,8 -208,8 +208,10 @@@ const ASSET_REFS: { table: string; cols{ table: "cinema_projects", cols: ["cover_url", "palettes_json", "director_json", "chat_json", "brief_body"] },{ table: "cinema_items", cols: ["meta_json"], except: "generation_id" },{ table: "canvases", cols: ["graph_json"] },+ { table: "layer_projects", cols: ["source_url", "cover_url"] },+ { table: "layer_versions", cols: ["doc_json"] },+ { table: "shorts_sessions", cols: ["source_json", "look_json"] },+ { table: "shorts_presets", cols: ["references_json"] },];/** Whether anything still refers to this stored file (see ASSET_REFS). */