AI media harness for planning, generating, and editing locally
TypeScript
Add default Prompt video scene type
Bittia5508f0ad03c
diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.mdindex 79a0c52..2eb5464 100644--- a/RELEASE_NOTES.md+++ b/RELEASE_NOTES.md@@ -4,6 +4,7 @@ This alpha update adds SeedVR2 and Real-ESRGAN export upscaling, Long Shot and B## What's new+- **Prompt video scenes.** New ordinary video scenes default to Prompt, with text and reference guidance but no start- or last-frame selectors. First & last frame remains available for frame conditioning.- **Agent image drafts and generation.** Ask the agent to prepare multiple images in the image bar for later, edit a selected draft, or generate it with a chosen generator. Preparation is saved before rendering, and the agent resumes after generation with the saved result.- **Sol attention in Settings.** Choose Sol attention under a generator's Performance settings for generation on CUDA GPUs. The selection is saved per generator and included in shared generator files.- **Zoom image template (formerly Extend).** Draw or resize the output box, choose a generation resolution, and optionally describe the new surroundings. Output follows the box's aspect ratio and selected pixel budget, resizing the source to fit. Boxes inside the source regenerate the selected crop with refined detail at the target resolution. Positioned source conditioning keeps the scene anchored. SlopFab 1.28 refines new surroundings with Langevin iterations and blends edges with a Gaussian mask.diff --git a/docs/scene-types.md b/docs/scene-types.mdindex 1543ad8..1752a26 100644--- a/docs/scene-types.md+++ b/docs/scene-types.md@@ -2,7 +2,8 @@The Scene panel saves a type on each scene:-- **First & Last Frame** keeps the existing shot descriptions, speech, Look, sound, music and optional frame anchors. Older scenes without a type use this type.+- **Prompt** is the default for ordinary video scenes. It supports shot descriptions, speech, Look, sound, music and references cited in prompts, without start- or last-frame selectors. Stored frame anchors and continuation links are inactive.+- **First & Last Frame** adds optional start- and last-frame anchors to the same controls. Older scenes without a type retain this type when they have frame selections; otherwise they use Prompt. Switching types retains saved frame selections for later use.- **Backdrop** generates the described subject and action against a selected green, blue, black or white background (green by default). The compiled prompt requests a uniform color across all shots, with no scenery, floor, horizon, texture, gradients or backdrop shadows. Prompt references guide the subject; their original settings are replaced. Stored frame anchors and continuation links are inactive. Apply Chroma Key to the generated timeline clip and select the matching backdrop or Auto to remove it. Generation still produces ordinary video: transparency is applied by the effect. Choose a color absent from the subject and describe action that fits inside the frame.- **Continue** uses another scene's saved latents. Choose the source scene, beginning or end (default: end), and overlap in frames (default: 22; increments of 17 at 24 fps). Generate the source first, or use Generate All to render dependencies in order. Scene length controls the new segment. The saved video keeps Slopfab's full joined video and audio; adjacent source and continuation clips use that shared decode in preview and export, while trims remain relative to each scene. Regenerate older Continue scenes to preserve both sides of the decoded boundary. Old Previous scene selections become Continue scenes linked to their original source; reordering scenes keeps that link.- **Animate** uses an Animate generator, one driving video and one repainted scene frame. It does not send a text prompt.diff --git a/src-tauri/src/project/commands/scenes.rs b/src-tauri/src/project/commands/scenes.rsindex 16caf0b..5ad65e0 100644--- a/src-tauri/src/project/commands/scenes.rs+++ b/src-tauri/src/project/commands/scenes.rs@@ -82,10 +82,11 @@ pub(super) fn apply(if let Some(value) = start_frame_reference_id.value() {job.start_frame_reference_id = value.clone();job.use_previous_scene_last_frame = None;- if job.scene_type.as_deref() == Some("continue") { job.scene_type = Some("first-last-frame".into()); }+ if job.scene_type.as_deref() == Some("continue") || (job.scene_type.as_deref() == Some("prompt") && value.is_some()) { job.scene_type = Some("first-last-frame".into()); }}if let Some(value) = end_frame_reference_id.value() {job.end_frame_reference_id = value.clone();+ if job.scene_type.as_deref() == Some("prompt") && value.is_some() { job.scene_type = Some("first-last-frame".into()); }}if let Some(value) = use_previous_scene_last_frame {job.scene_type = Some("first-last-frame".into());diff --git a/src-tauri/src/project/validation/scenes.rs b/src-tauri/src/project/validation/scenes.rsindex 2619868..998cecf 100644--- a/src-tauri/src/project/validation/scenes.rs+++ b/src-tauri/src/project/validation/scenes.rs@@ -22,7 +22,7 @@ pub(super) fn validate(config: &mut ProjectConfig) -> Result<(), String> {if job.scene_type.as_deref().is_some_and(|value| {!matches!(value,- "first-last-frame" | "continue" | "animate" | "pose" | "character-replace" | "extend" | "bridge" | "backdrop" | "long-shot"+ "prompt" | "first-last-frame" | "continue" | "animate" | "pose" | "character-replace" | "extend" | "bridge" | "backdrop" | "long-shot")}) {return Err(format!("Scene '{}' has an unsupported scene type.", job.id));diff --git a/src-tauri/src/tests/scenes.rs b/src-tauri/src/tests/scenes.rsindex 3138544..3fbb8ef 100644--- a/src-tauri/src/tests/scenes.rs+++ b/src-tauri/src/tests/scenes.rs@@ -342,6 +342,7 @@ fn a_shot_name_survives_the_project_round_trip() {#[test]fn scene_types_and_character_replacement_inputs_survive_save_and_reopen() {for scene_type in [+ "prompt","first-last-frame","animate","pose",diff --git a/src/components/workspace/GeneratorView.test.tsx b/src/components/workspace/GeneratorView.test.tsxindex e4d9d8a..388a042 100644--- a/src/components/workspace/GeneratorView.test.tsx+++ b/src/components/workspace/GeneratorView.test.tsx@@ -32,6 +32,31 @@ beforeEach(() => {});afterEach(cleanup);+it("defaults to Prompt and switches frame conditioning off and back on without losing selections", () => {+ const initial = project();+ initial.references = [{ id: "still", kind: "image", name: "Still", description: "", intendedUse: [], sourcePath: "C:/still.png", createdAt: initial.createdAt }];+ const state = setup(initial);+ expect(comboValue(screen.getByRole("combobox", { name: "Scene type" }))).toBe("prompt");+ expect(screen.queryByLabelText("Start frame for this scene")).toBeNull();+ expect(screen.queryByLabelText("Last frame for this scene")).toBeNull();+ choose("Scene type", "First & last frame");+ chooseReference("Start frame for this scene", "Still");+ chooseReference("Last frame for this scene", "Still");+ choose("Scene type", "Prompt");+ expect(screen.queryByLabelText("Start frame for this scene")).toBeNull();+ expect(screen.queryByLabelText("Last frame for this scene")).toBeNull();+ fireEvent.click(within(screen.getByRole("region", { name: "First scene" })).getByRole("button", { name: "Generate" }));+ const snapshot = JSON.parse(state.latest().generationJobs[0].generationSnapshot!);+ expect(snapshot.referencePaths).toEqual([]);+ expect(snapshot.prompt).not.toContain("first frame");+ choose("Scene type", "First & last frame");+ expect(state.latest().generationJobs[0]).toMatchObject({ startFrameReferenceId: "still", endFrameReferenceId: "still" });+ expect(screen.getByLabelText("Start frame for this scene")).toBeInTheDocument();+ fireEvent.click(screen.getByRole("button", { name: "Add scene" }));+ expect(state.latest().generationJobs.at(-1)?.sceneType).toBe("prompt");+ expect(comboValue(screen.getByRole("combobox", { name: "Scene type" }))).toBe("prompt");+});+it("queues Long Shot anchors before their intervening bridges", () => {const initial = project();initial.generationJobs = Array.from({ length: 7 }, (_, i) => createDraftGenerationJob("Keep walking", { id: String(i + 1), sceneType: "long-shot" }));@@ -207,7 +232,7 @@ it("saves scene types and submits Character Replace with the exact selected refeonChange={setConfig} onGenerate={submitted} onOpenTimeline={() => undefined} />;}render(<Harness />);- expect(comboValue(screen.getByRole("combobox", { name: "Scene type" }))).toBe("first-last-frame");+ expect(comboValue(screen.getByRole("combobox", { name: "Scene type" }))).toBe("prompt");choose("Scene type", "Character replace");expect(latest.generationJobs[0].sceneType).toBe("character-replace");expect(screen.queryByLabelText("Start frame for this scene")).toBeNull();@@ -496,6 +521,7 @@ describe("Generator scene controls", () => {const state = setup(parseProjectConfig(initial));expect(optionNames(screen.getByRole("combobox", { name: "The look of this scene" }))).toContain("None");+ choose("Scene type", "First & last frame");chooseReference("Start frame for this scene", "Opening still");expect(state.latest().generationJobs[0].startFrameReferenceId).toBe("ref-opening");@@ -510,6 +536,7 @@ describe("Generator scene controls", () => {const initial = project();initial.references = [{ id: "closing", kind: "image", name: "Closing still", description: "", relativePath: "references/closing.png", intendedUse: [], createdAt: initial.createdAt }];const state = setup(initial);+ choose("Scene type", "First & last frame");chooseReference("Last frame for this scene", "Closing still");expect(state.latest().generationJobs[0].endFrameReferenceId).toBe("closing");fireEvent.click(within(screen.getByRole("region", { name: "First scene" })).getByRole("button", { name: "Generate" }));@@ -575,6 +602,7 @@ describe("Generator scene controls", () => {const initial = project();initial.generationJobs[0] = { ...initial.generationJobs[0], status: "completed", outputRelativePath: "media/generated/work-original.mp4", latentRelativePath: "latents/work-original.safetensors" };const state = setup(initial);+ choose("Scene type", "First & last frame");fireEvent.click(screen.getByRole("button", { name: "Start frame for this scene" }));expect(screen.queryByRole("option", { name: "Previous scene" })).toBeNull();fireEvent.click(screen.getByRole("button", { name: "Start frame for this scene" }));diff --git a/src/components/workspace/GeneratorView.tsx b/src/components/workspace/GeneratorView.tsxindex 8b8bd63..ce4fa64 100644--- a/src/components/workspace/GeneratorView.tsx+++ b/src/components/workspace/GeneratorView.tsx@@ -4,7 +4,7 @@ export { templateSceneBlocker } from "../../lib/sceneGeneration";import type { GenerationSubmission } from "../../lib/workQueue";import { loadLoras, subscribeLoras } from "../../lib/loras";import { refreshDownloadedLoras } from "../../lib/weightDownloads";-import { continuationBlocker, continuationSceneId, isVideoTransition, sceneGenerationSteps, type SceneType } from "../../lib/project";+import { continuationBlocker, continuationSceneId, isVideoTransition, sceneGenerationSteps, sceneTypeFor } from "../../lib/project";import { Add16, Delete16, GridView16, GridView16Filled, ListView16, ListView16Filled, Scene16, Scene32, Sparkle16, Stop14, Wand16 } from "../ui/icons";import { invoke } from "@tauri-apps/api/core";import { useEffect, useMemo, useRef, useState, useSyncExternalStore } from "react";@@ -63,7 +63,6 @@ export function GeneratorView({ config, folderPath, runtime = null, generationCoconst jobs = config.generationJobs;const [templateSettings, setTemplateSettings] = useState(loadGeneratorTemplateSettings);const selectedTemplate = defaultGeneratorTemplate(templateSettings);- const sceneTypeFor = (job: GenerationJob): SceneType => job.sceneType ?? "first-last-frame";const defaultGenerationSteps = selectedTemplate.defaultSteps;const [generatorRuntime, setGeneratorRuntime] = useState<SlopfabStatus | null>(runtime);const [runtimeError, setRuntimeError] = useState<string | null>(null);@@ -359,7 +358,7 @@ export function GeneratorView({ config, folderPath, runtime = null, generationCoreferences already named by its shots. */const newScene = () => {const job = createDraftGenerationJob("", { steps: defaultGenerationSteps,- sceneType: selectedTemplate.mode === "animate" ? "animate" : selected?.sceneType === "long-shot" ? "long-shot" : "first-last-frame" });+ sceneType: selectedTemplate.mode === "animate" ? "animate" : selected?.sceneType === "long-shot" ? "long-shot" : "prompt" });onChange({ ...config, generationJobs: [...jobs, job] });setSelection({ jobId: job.id, shotId: null });};diff --git a/src/components/workspace/SceneEditor.tsx b/src/components/workspace/SceneEditor.tsxindex 23c3d71..68ebbd5 100644--- a/src/components/workspace/SceneEditor.tsx+++ b/src/components/workspace/SceneEditor.tsx@@ -20,6 +20,7 @@ import {referenceToken,sceneBriefText,sceneDurationSeconds,+ sceneTypeFor,sceneGenerationSeed,sceneGenerationSteps,MAX_AUDIO_GENERATION_STEPS,@@ -266,6 +267,7 @@ function CharacterReplaceInputs({ shot, references, disabled, onChange }: {/* --- The scene, opened from its own header -------------------------------- */const SCENE_TYPES: { value: SceneType; label: string }[] = [+ { value: "prompt", label: "Prompt" },{ value: "first-last-frame", label: "First & last frame" },{ value: "backdrop", label: "Backdrop" },{ value: "long-shot", label: "Long Shot" },@@ -281,7 +283,7 @@ const SCENE_TYPES: { value: SceneType; label: string }[] = [* §4.1), and the two sound fields defined per prompt (§4.6, §4.7). Length* lives in the scene header where it stays visible. Simple label + control* pairs are inspector rows; the free-text fields stay full width. */-export function SceneInspector({ job, shots, references, folderPath = "", scenes = [], defaultSteps, effectiveSteps, template, defaultLook, disabled, importAvailable, importError, onAddStartFrame, onAddEndFrame, onChange, onShots, sceneType = job.sceneType ?? "first-last-frame" }: {+export function SceneInspector({ job, shots, references, folderPath = "", scenes = [], defaultSteps, effectiveSteps, template, defaultLook, disabled, importAvailable, importError, onAddStartFrame, onAddEndFrame, onChange, onShots, sceneType = sceneTypeFor(job) }: {sceneType?: SceneType;defaultLook?: string | null;job: GenerationJob;@@ -437,7 +439,7 @@ export function SceneInspector({ job, shots, references, folderPath = "", scenes/></PropRow>}{!animate && !chosen && defaultLook && <p className="prop-caption">Using project Look: {look.options.find((option) => option.id === defaultLook)?.label ?? defaultLook}.</p>}- {!transition && !pose && !continuing && !backdrop && !longShot && <>+ {(sceneType === "first-last-frame" || animate) && <><PropRow label={animate ? "Repainted frame" : "Start frame"} htmlFor={`${id}-start`} tooltip={animate ? "A frame of the driving video with the character repainted. Keep its pose, framing, background and lighting." : undefined}><ReferenceSelectorid={`${id}-start`}@@ -459,7 +461,7 @@ export function SceneInspector({ job, shots, references, folderPath = "", scenes{addImageButton(animate ? "Add repainted frame" : "Add start frame", onAddStartFrame)}</PropRow></>}- {!animate && !transition && !pose && !continuing && !backdrop && !longShot && <PropRow label="Last frame" htmlFor={`${id}-end`}>+ {sceneType === "first-last-frame" && <PropRow label="Last frame" htmlFor={`${id}-end`}><ReferenceSelector id={`${id}-end`} value={job.endFrameReferenceId ?? ""} disabled={disabled} aria-label="Last frame for this scene"references={references} accept={["image"]} folderPath={folderPath}onChange={(value) => onChange({ endFrameReferenceId: value || undefined })} />diff --git a/src/lib/agentGeneration.ts b/src/lib/agentGeneration.tsindex 2b5ac4d..9c2483c 100644--- a/src/lib/agentGeneration.ts+++ b/src/lib/agentGeneration.ts@@ -4,7 +4,7 @@ import { compileImagePrompt } from "./imagePrompt";import { compileImageEdits } from "./imageEditing";import { imageScenePrompt } from "./imageScene";import { longShotBlocker } from "./longShot";-import { continuationBlocker, continuationSceneId, generationAssetId, sceneGenerationSnapshot } from "./project";+import { continuationBlocker, continuationSceneId, generationAssetId, sceneGenerationSnapshot, sceneTypeFor } from "./project";import type { ProjectSession } from "./projectSession";import { sceneGenerationRequest, sendBlocker, templateSceneBlocker } from "./sceneGeneration";import { loadGeneratorTemplateSettings, templateUsable } from "./settings";@@ -92,7 +92,7 @@ export async function generateAgentScene(queue: WorkQueue, session: ProjectSessiconst blocker = continuationBlocker(job, config.generationJobs)?? longShotBlocker(job, config)?? (source && (!source.latentRelativePath || source.status !== "completed") ? "Generate the selected source scene first." : null)- ?? templateSceneBlocker(job.sceneType ?? "first-last-frame", template) ?? sendBlocker(job, config.references);+ ?? templateSceneBlocker(sceneTypeFor(job), template) ?? sendBlocker(job, config.references);if (blocker) throw new Error(blocker);const request = sceneGenerationRequest(job, config, session.record.folderPath, template.defaultSteps, template);const [id] = queue.enqueue(session, [{ job, request, snapshot: sceneGenerationSnapshot(job, request) }], template);diff --git a/src/lib/project.prompt.test.ts b/src/lib/project.prompt.test.tsnew file mode 100644index 0000000..82ce381--- /dev/null+++ b/src/lib/project.prompt.test.ts@@ -0,0 +1,38 @@+import { expect, it } from "vitest";+import { compileGenerationJobPrompt, createDraftGenerationJob, createProjectConfig, parseProjectConfig, sceneGenerationReferences, sceneTypeFor, type ProjectReference } from "./project";+import { sceneGenerationRequest } from "./sceneGeneration";++it("defaults ordinary scenes to Prompt while preserving legacy frame-based scenes", () => {+ const job = createDraftGenerationJob("A dancer spins.");+ expect(sceneTypeFor(job)).toBe("prompt");+ expect(sceneTypeFor({ ...job, startFrameReferenceId: "start" })).toBe("first-last-frame");+ expect(sceneTypeFor({ ...job, endFrameReferenceId: "end" })).toBe("first-last-frame");+ expect(sceneTypeFor({ ...job, sceneType: "first-last-frame" })).toBe("first-last-frame");+});++it("saves Prompt scenes and uses cited references without stale frame or continuation conditioning", () => {+ const config = createProjectConfig({ name: "Prompt", prompt: "A dancer spins.", resolution: "416p", aspectRatio: "16:9", targetDurationSeconds: 10 });+ const references: ProjectReference[] = ["start", "end", "subject"].map((id) => ({ id, name: id, kind: "image", description: "", intendedUse: [], relativePath: `references/${id}.png`, createdAt: config.createdAt }));+ const job = { ...config.generationJobs[0], sceneType: "prompt" as const, startFrameReferenceId: "start", endFrameReferenceId: "end",+ usePreviousSceneLastFrame: true, continuationSceneId: "old", referenceIds: ["start", "end"],+ shots: [{ id: "shot", startSeconds: 0, action: "@[ref:subject] dances." }] };+ config.references = references;+ config.generationJobs = [job];+ const restored = parseProjectConfig(JSON.parse(JSON.stringify(config)));+ expect(restored.generationJobs[0].sceneType).toBe("prompt");+ expect(sceneGenerationReferences(job, references).map((reference) => reference.id)).toEqual(["subject"]);+ const request = sceneGenerationRequest(job, restored, "C:/Project", 20);+ expect(request.referencePaths).toEqual(["C:/Project/references/subject.png"]);+ expect(request.continuationRelativePath).toBeUndefined();+ expect(request.previousSceneId).toBeUndefined();+ expect(request.prompt).toContain("<Subject 1> dances.");+ expect(request.prompt).not.toContain("first frame");+ expect(request.prompt).not.toContain("last frame");+ // A frame reference can still be explicitly cited as appearance guidance.+ const citedAnchor = { ...job, shots: [{ ...job.shots[0], action: "@[ref:start] dances." }] };+ expect(compileGenerationJobPrompt(citedAnchor, references)).toContain("<Subject 1>");+ expect(compileGenerationJobPrompt(citedAnchor, references)).not.toContain("is the first frame");+ const frames = compileGenerationJobPrompt({ ...job, sceneType: "first-last-frame" }, references);+ expect(frames).toContain("is the first frame");+ expect(frames).toContain("is the last frame");+});diff --git a/src/lib/project.ts b/src/lib/project.tsindex cf469b2..26e3976 100644--- a/src/lib/project.ts+++ b/src/lib/project.ts@@ -455,7 +455,7 @@ export const SCENE_MIN_SECONDS = 0;* length is read as — the length every shot has always been generated at. */export const DEFAULT_SCENE_SECONDS = 6;-export const sceneTypeSchema = z.enum(["first-last-frame", "continue", "animate", "pose", "character-replace", "extend", "bridge", "backdrop", "long-shot"]);+export const sceneTypeSchema = z.enum(["prompt", "first-last-frame", "continue", "animate", "pose", "character-replace", "extend", "bridge", "backdrop", "long-shot"]);export type SceneType = z.infer<typeof sceneTypeSchema>;export const DEFAULT_CONTINUATION_OVERLAP = 22;export const MAX_CONTINUATION_OVERLAP = 362;@@ -982,7 +982,7 @@ export function audioReferenceBlocker(job: GenerationJob, bound: ProjectReferenc* order. Frame anchors use their first image, even on a multi-image reference;* the same anchor selected for both ends is sent only once. */export function sceneGenerationReferences(job: GenerationJob, references: ProjectReference[]): ProjectReference[] {- if (job.sceneType === "backdrop" || job.sceneType === "long-shot") {+ if (job.sceneType === "prompt" || job.sceneType === "backdrop" || job.sceneType === "long-shot") {const cited = sceneShots(job).flatMap(shotReferenceIds);return references.filter((reference) => cited.includes(reference.id));}@@ -1017,6 +1017,11 @@ export function sceneGenerationReferences(job: GenerationJob, references: Projecreturn [...anchors, ...references.filter((reference) => ids.includes(reference.id) && !anchors.some((anchor) => anchor.id === reference.id))];}+/** Unset types default to Prompt; preserve frame roles in older projects. */+export function sceneTypeFor(job: GenerationJob): SceneType {+ return job.sceneType ?? (job.startFrameReferenceId || job.endFrameReferenceId ? "first-last-frame" : "prompt");+}+/** Legacy links are resolved only until the project is migrated on load. */export function continuationSceneId(job: GenerationJob, jobs: readonly GenerationJob[]): string | undefined {if (job.sceneType === "continue") return job.continuationSceneId ?? undefined;@@ -1261,7 +1266,7 @@ export function compileMiniMaxH3PromptSegments(}export function compileGenerationJobSegments(job: GenerationJob, references: ProjectReference[] = [], defaultLook?: string | null): PromptSegment[] {- if (job.sceneType === "long-shot") return compileScenePromptSegments({+ if (job.sceneType === "prompt" || job.sceneType === "long-shot") return compileScenePromptSegments({shots: sceneShots(job), soundscape: job.soundscape, music: job.music,}, sceneGenerationReferences(job, references), defaultLook);if (job.sceneType === "backdrop") return compileScenePromptSegments({diff --git a/src/lib/runtime.ts b/src/lib/runtime.tsindex ae090f0..7b13a12 100644--- a/src/lib/runtime.ts+++ b/src/lib/runtime.ts@@ -436,9 +436,12 @@ function executeDemoCommands(config: ProjectConfig, commands: ProjectCommand[]):if ("startFrame" in command) {job.startFrameReferenceId = command.startFrame;job.usePreviousSceneLastFrame = false;- if (job.sceneType === "continue") job.sceneType = "first-last-frame";+ if (job.sceneType === "continue" || (job.sceneType === "prompt" && command.startFrame)) job.sceneType = "first-last-frame";+ }+ if ("endFrame" in command) {+ job.endFrameReferenceId = command.endFrame;+ if (job.sceneType === "prompt" && command.endFrame) job.sceneType = "first-last-frame";}- if ("endFrame" in command) job.endFrameReferenceId = command.endFrame;if ("usePreviousSceneLastFrame" in command) {job.sceneType = "first-last-frame";job.usePreviousSceneLastFrame = command.usePreviousSceneLastFrame;diff --git a/src/lib/sceneGeneration.ts b/src/lib/sceneGeneration.tsindex be1c74f..936866e 100644--- a/src/lib/sceneGeneration.ts+++ b/src/lib/sceneGeneration.ts@@ -27,7 +27,7 @@ export function sceneGenerationRequest(job: GenerationJob, config: ProjectConfig// retimed shot reach the engine, rather than sending a prompt frozen at// draft-creation time. This is the ONE string slopfab is given, and it is// the same string the compiled-prompt panel shows.- prompt: (job.sceneType ?? "first-last-frame") === "animate" ? "" : compileGenerationJobPrompt(inputs.job, bound, config.settings.defaultLook),+ prompt: job.sceneType === "animate" ? "" : compileGenerationJobPrompt(inputs.job, bound, config.settings.defaultLook),...(inputs.previousSceneId ? { previousSceneId: inputs.previousSceneId } : {}),...(inputs.continuationRelativePath ? { continuationRelativePath: inputs.continuationRelativePath } : {}),...(inputs.previousSceneId ? { continuationOverlapFrames: inputs.continuationOverlapFrames,