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 remote-tracking branch 'origin/claude/fuobe-parity-4' into o/nm10-kling-4
Claude241bc076cc5c
diff --cc src/components/studio/composer.tsxindex fe3f205f,bd1be573..5ab5e0a4--- a/src/components/studio/composer.tsx+++ b/src/components/studio/composer.tsx@@@ -739,8 -768,8 +768,8 @@@ export function Composer({ docked }: {};// Enhance writes a scene; a tool's optional words (FLUX.3 Upscale's details) stay as typed.const baseShape = settingsShape(model, effectiveOp, config.kind, showPrompt && !config.hidePrompt, p, config.ops, studioFormats);- const shape = framesCtx ? framesShape(baseShape, framesCtx.chained) : baseShape;+ const shape = framesCtx ? framesShape(baseShape, framesCtx.chained) : layoutOn ? layoutShape(baseShape) : baseShape;- const outcome = config.clipFacts && draft.slots.video?.ref ? clipOutcome(effectiveOp, facts, p, model) : null;+ const outcome = config.clipFacts && draft.slots.video?.ref ? clipOutcome(effectiveOp, facts, p, model, today) : null;const video = draft.slots.video?.ref;const alternative = config.comfyOnly?.alternative;const alternativeHref = alternative && `${alternative.href}${video?.startsWith("/api/files/") ? `&video=${encodeURIComponent(video)}` : ""}`;@@@ -1077,10 -1178,13 +1178,14 @@@value={draft.prompt}onChange={(v) => setDraft({ prompt: v })}onSubmit={submit}- placeholder={preset?.promptPlaceholder ?? (config.hidePrompt && config.modelPrompt ? config.modelPrompt : config.placeholder)}+ placeholder={+ layoutOn+ ? "Describe the whole picture… the boxes say what goes where"+ : (preset?.promptPlaceholder ?? (config.hidePrompt && config.modelPrompt ? config.modelPrompt : config.placeholder))+ }elements={elements}collapsed={collapsed}+ elementsNote={elementsNote(model)}/>)}diff --cc src/lib/catalog/plan.tsindex b284c0e7,4eeada8d..fdc13385--- a/src/lib/catalog/plan.ts+++ b/src/lib/catalog/plan.ts@@@ -14,8 -14,10 +14,10 @@@ import { editClipsProblem, sourceSecondimport { chainGapProblem, chainTiming, FIRST_AT_ZERO, frameTimes, keyframeChain, MAX_KEYFRAMES, spread } from "./keyframes";import { cloudPath, fitLoras, gated, localOnly, loraCapacity, needsToken, routeLoraField, triggerOf } from "./loras";import { anglesPrompt, anglesWords, ANGLES_ORIGINAL } from "./open-tools";-import { askedSize, numFramesValue, sizeValue } from "./payload";+import { askedSize, clipWords, numFramesValue, sizeValue } from "./payload";import { characterScale, CINEMA_CROP, soulKind, soulMegapixels, soulRecipe, soulSize, type SoulOverlay } from "./soul";+ import { computeDimensions, fitCanvas } from "@/lib/comfy";+ import { carriesLayout, layoutCompilerFor, LAYOUT_MAX_SIDE, LAYOUT_MULTIPLE, LAYOUT_PARAM, readLayout, validateLayout, type LayoutDraft, type LayoutFormat } from "@/lib/layout-prompt";import { pricingOn, type PriceClock } from "./promo";import { presetRoutes } from "./preset-recipe-routes";diff --cc src/lib/composer.tsindex 8394df9a,85be98ea..bf259c5b--- a/src/lib/composer.ts+++ b/src/lib/composer.ts@@@ -15,8 -14,8 +15,9 @@@ import { pricingOn, type PriceClock } fimport { soulPostStep } from "./catalog/soul";import { appModels, ownRoute, presetRoutes, type HasModel, type RecipePreset } from "./catalog/preset-recipe-routes";import { COLORMAPS, type Engine, type GenParams, type InputSlot, type MatteOutput, type MediaKind, type ModelDef, type Operation, type Preset, type PresetRoute, type VideoFormat } from "./catalog/types";+import { formatCost } from "./format";import { spokenLanguageName } from "./speech-languages";+ import { LAYOUT_MAX_PIXELS, LAYOUT_MAX_SIDE, LAYOUT_PARAM, readLayout, readsBoxes, type LayoutDraft } from "./layout-prompt";// ---------------------------------------------------------------------------// Settings summary ("16:9 · 720p · 5s · ×1")