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 main: Create, Studios, Apps and Motions & effects pages, Canvas ready boards, Click to Ad end cards
Adarsh86deb03ab617
diff --cc src/components/canvas/node-icon.tsxindex 00000000,988df2dc..78f901d0mode 000000,100644..100644--- a/src/components/canvas/node-icon.tsx+++ b/src/components/canvas/node-icon.tsx@@@ -1,0 -1,84 +1,91 @@@+ "use client";++ // The icons of node types and templates, by lucide name. Its own file: the template cards and pages show them without+ // loading the canvas editor's context (and through it the model catalog).+ import {+ AtSign,++ Orbit,++ Rotate3d,+ AudioLines,+ AudioWaveform,+ Building2,+ Castle,+ Clapperboard,+ Columns3,+ Combine,+ Dog,+ Eraser,+ Feather,+ Film,+ Fish,+ Frame,+ GalleryHorizontal,+ Gem,+ ImageIcon,+ Languages,++ LayoutDashboard,+ MessageSquareText,+ Mic2,+ MonitorPlay,+ Package,+ Palette,+ Sparkles,+ Star,+ StickyNote,+ Swords,+ Table,+ Type,+ UserRound,+ Waves,+ ZoomIn,+ type LucideIcon,+ Box,+ } from "lucide-react";++ export const ICONS: Record<string, LucideIcon> = {+ Type,++ LayoutDashboard,+ ImageIcon,+ Film,+ AudioLines,+ AtSign,+ Sparkles,+ Combine,+ Frame,+ ZoomIn,+ Eraser,+ Mic2,+ MonitorPlay,+ StickyNote,+ Clapperboard,+ MessageSquareText,+ Package,+ GalleryHorizontal,+ Columns3,+ AudioWaveform,+ UserRound,+ Languages,+ Table,++ // Camera path and Fly around++ Orbit,++ Rotate3d,+ // Blockout to film+ Box,+ // Effects 2.0 chains (src/lib/catalog/canvas.ts EFFECT_CHAINS)+ Swords,+ Feather,+ Gem,+ Palette,+ Castle,+ Waves,+ Star,+ Building2,+ Fish,+ Dog,+ };++ /** A node type's or template's icon, by lucide name. */+ export function NodeIcon({ name, className }: { name: string; className?: string }) {+ const Icon: LucideIcon = ICONS[name] ?? Sparkles;+ return <Icon className={className} />;+ }diff --cc src/lib/catalog/canvas.tsindex f55b9362,980ddc16..75d4a5d8--- a/src/lib/catalog/canvas.ts+++ b/src/lib/catalog/canvas.ts@@@ -2112,52 -1913,7 +2134,57 @@@ const BLOCKOUT_OPEN = tpl],);+/** Keyframes → animation: three keyframes and a table of their two gaps into one In-between node (Fuobe Animation). */+const keyframesAnimation = tpl(+ [+ { id: "key1", type: "image-input", x: 0, y: 0, data: { label: "Keyframe 1" } },+ { id: "key2", type: "image-input", x: 0, y: ROW, data: { label: "Keyframe 2" } },+ { id: "key3", type: "image-input", x: 0, y: ROW * 2, data: { label: "Keyframe 3" } },+ {+ id: "timing",+ type: "table",+ x: COL,+ y: ROW * 2 + 40,+ data: { label: "Gaps (frames, speed ×1–×4, words)", columns: TIMING_COLUMNS, rows: [["37", "1", "she turns toward us"], ["17", "3", "she waves"]] },+ },+ {+ id: "animate",+ type: "model",+ x: COL * 2,+ y: ROW - 40,+ data: { mediaKind: "video", label: "In-between", op: "keyframes", prompt: "A character animation, clean lines", params: { aspectRatio: "16:9", extra: { stillMouth: true } } },+ models: { cloud: "fuobe-animation", open: "fuobe-animation" },+ },+ { id: "out", type: "output", x: COL * 3, y: ROW - 20, data: { label: "Animation" } },+ ],+ [+ ["key1", "animate", "images"],+ ["key2", "animate", "images"],+ ["key3", "animate", "images"],+ ["timing", "animate", "prompt"],+ ["animate", "out"],+ ],+ );+export const CANVAS_TEMPLATES: CanvasTemplate[] = [+ {+ id: "keyframes-animation",+ name: "Keyframes → animation",+ description: "Your keyframes in, the in-betweens drawn, one animation: a table times each gap",+ icon: "Sparkles",+ hue: 320,++ rank: 99,++ starter: false,++ makes: "One animation through your keyframes, each gap timed as the table says.",++ flow: ["Keyframes", "Timing", "Animation"],++ steps: ["Your keyframes go in, in order.", "A table gives each gap its length, speed and what happens in it.", "An animation model draws the in-betweens and joins them into one animation."],+ // Fuobe Animation runs on both engines: the node takes the template's.+ build: (engine) => {+ const g = keyframesAnimation(engine);+ for (const n of g.nodes) if (n.id === "animate") n.data.engine = engine;+ return g;+ },+ },{id: "image-animate",name: "Image → Animate",diff --cc src/server/marketing.tsindex ad06c108,c519c3ae..9588ce4a--- a/src/server/marketing.ts+++ b/src/server/marketing.ts@@@ -48,9 -48,8 +48,10 @@@ import} from "@/lib/catalog/marketing";import { dualEngine } from "@/lib/catalog/engines";import { routesFor } from "@/lib/catalog/plan";-import { themeFrom } from "@/components/ads/layout";+import { themeFrom, type AdLayout } from "@/components/ads/layout";+import { adDraft } from "@/lib/layout-surfaces";+import { LAYOUT_PARAM } from "@/lib/layout-prompt";+ import { END_CARD_VARIANTS } from "@/lib/motion/scenes/end-card/shared";import type { ChainSlot, Engine, GenerationRequest, ModelDef, Operation } from "@/lib/catalog/types";import { getBrand, getProduct } from "./brand";import { createPipeline, type PipelineStep } from "./chains";