The all-in-one local AI studio for your desktop: chat, image and video generation and a coding agent in one free, open source app. Windows and Linux. No Docker, no terminal, no cloud required.
TypeScript agentai-chatai-studioall-in-onecoding-agentdesktop-appfluximage-generationlinuxllmlocal-ailocal-llmopen-sourceprivacyself-hostedstable-diffusionuncensoreduncensored-aivideo-generationwindows
fix(create): a view without a prompt field sends no prompt
purple91c3c1c47b1d
diff --git a/src/components/create/experimental/Composer.tsx b/src/components/create/experimental/Composer.tsxindex 38444675..0abb483b 100644--- a/src/components/create/experimental/Composer.tsx+++ b/src/components/create/experimental/Composer.tsx@@ -20,7 +20,7 @@ import { STUDIO_MODELS } from '../../../lib/render/studio-contract'import { effectiveVideoDurations, snapToVideoDuration } from '../../../lib/render/video-duration'import { mediaSeconds, useStudioPrice } from './useStudioPrice'import { getJob } from '../../../api/cloud/jobs'-import { INTENT_MAP } from './intents'+import { INTENT_MAP, intentTakesPrompt } from './intents'import { subscribeInstallRuns, getInstallRun } from '../../../lib/model-install-runs'import { useWorkflowStore, shouldShowManagerNotice } from '../../../stores/workflowStore'import { noPromptHint, shouldShowLaneHint } from './laneHint'@@ -109,7 +109,7 @@ export function Composer({ onOpenAdvanced, onOpenWorkflows }: Props) {}// The prompt field shows wherever the run consumes one — that's the meta// flag, plus Character-Studio's use-surface (train has no prompt).- const needPrompt = meta.needsPrompt || characterUse+ const needPrompt = intentTakesPrompt(intent, characterUse)// Gate on the exact run's cost (model + op + clip length), the same figure// the CreditsMeter shows — quota.costs[kind] is only the tier's// representative per-kind number and would mis-gate utility ops / pricierdiff --git a/src/components/create/experimental/intents.ts b/src/components/create/experimental/intents.tsindex e25a53bc..26ebb888 100644--- a/src/components/create/experimental/intents.ts+++ b/src/components/create/experimental/intents.ts@@ -170,6 +170,15 @@ export const INTENTS: IntentMeta[] = [export const INTENT_MAP: Record<CreateIntent, IntentMeta> =Object.fromEntries(INTENTS.map((i) => [i.id, i])) as Record<CreateIntent, IntentMeta>+/** Does the view on screen show a prompt field? Composer draws the field under+ * this rule and both starts (cloud and local) send a prompt under the same+ * one: a view without the field must never send the text left over from+ * another tab. Character Studio's use surface is a plain image generate and+ * has one. */+export function intentTakesPrompt(intent: CreateIntent, characterUse = false): boolean {+ return INTENT_MAP[intent].needsPrompt || characterUse+}+/*** The intents that have a REAL local pipeline on an MLX host (Apple Silicon* Mac). Every local lane above is a ComfyUI graph, and the Mac has no ComfyUIdiff --git a/src/hooks/__tests__/useCloudCreate-kein-rest-prompt.test.ts b/src/hooks/__tests__/useCloudCreate-kein-rest-prompt.test.tsnew file mode 100644index 00000000..491168c4--- /dev/null+++ b/src/hooks/__tests__/useCloudCreate-kein-rest-prompt.test.ts@@ -0,0 +1,182 @@+/**+ * Fund M4 (05.10.2026, Vorlage: apps/web/hooks/__tests__/+ * useCloudCreate-kein-rest-prompt.test.ts): eine Ansicht ohne Promptfeld schickt+ * keinen Prompt. Der Speicher haelt einen einzigen Prompt fuer alle+ * Unterkategorien. Talking Character und Motion Control zeigten kein Feld und+ * schickten trotzdem den Text mit, der noch aus dem Bild-Tab dort stand.+ *+ * Nichts wird erzeugt: Absenden, Hochladen und Abholen sind gemockt.+ */+import { describe, it, expect, vi, beforeEach } from 'vitest'++vi.mock('react', async (orig) => {+ const actual = (await orig()) as Record<string, unknown>+ return { ...actual, useCallback: (fn: unknown) => fn }+})++// A full, hand-written mock (no `...actual` spread): the real ../../api/cloud/jobs+// pulls in the Supabase client (api/cloud/supabase.ts), which touches+// `localStorage` at import time and blows up outside a browser-like test+// environment. The established pattern in this directory (see+// useCloudCreate-b3-adult-gate-fires-before-upload.test.ts) is a fake+// CloudJobError/QuoteChangedError pair instead of the real classes.+const hoisted = vi.hoisted(() => {+ class FakeCloudJobError extends Error {+ status: number+ code?: string+ constructor(message: string, status: number, meta?: { code?: string }) {+ super(message)+ this.status = status+ this.code = meta?.code+ }+ }+ class FakeQuoteChangedError extends FakeCloudJobError {+ credits: number+ constructor(message: string, credits: number) {+ super(message, 409, { code: 'quote_changed' })+ this.credits = credits+ }+ }+ const submitted: Array<{ kind: string; model: string; prompt: string; params: Record<string, unknown> }> = []+ const hochgeladen: string[] = []+ return {+ FakeCloudJobError,+ FakeQuoteChangedError,+ submitted,+ hochgeladen,+ uploadInput: vi.fn(async (_blob: unknown, slot: string) => {+ hochgeladen.push(slot)+ return `user-1/staged-${slot}.${slot === 'audio' ? 'mp3' : slot === 'video' ? 'mp4' : 'png'}`+ }),+ getJob: vi.fn(async () => ({ id: 'quelle', result_url: 'https://storage.example/clip.mp4' })),+ submitCloudJob: vi.fn(async (payload: (typeof submitted)[number]) => {+ submitted.push(payload)+ return { id: 'job-test', quota: { cost: 1000, used: 1000, limit: 100000 } }+ }),+ pollJob: vi.fn(async () => ({+ id: 'job-test', kind: 'video', model: 'longcat-avatar', status: 'succeeded',+ result_url: 'https://storage.example/out.mp4', created_at: new Date().toISOString(),+ })),+ cancelJob: vi.fn(async () => ({ status: 'canceled' })),+ studioQuote: vi.fn(async (..._args: unknown[]) => ({ credits: 42 })),+ }+})+const { submitted, hochgeladen } = hoisted++// Sidesteps loadContentPolicy's own call into ../../api/cloud/jobs+// (getContentPolicy). 'off' keeps clientSafety() to its CSAM-only floor,+// same as an account whose policy has not loaded yet.+vi.mock('../useContentPolicy', () => ({+ contentPolicySnapshot: () => 'off' as const,+ loadContentPolicy: async () => 'off' as const,+}))++vi.mock('../../api/cloud/jobs', () => ({+ uploadInput: hoisted.uploadInput,+ getJob: hoisted.getJob,+ submitCloudJob: hoisted.submitCloudJob,+ pollJob: hoisted.pollJob,+ cancelJob: hoisted.cancelJob,+ CloudJobError: hoisted.FakeCloudJobError,+ QuoteChangedError: hoisted.FakeQuoteChangedError,+}))++// A Studio run confirms its price right before booking (useCloudCreate.ts,+// the "Confirming the price…" step). The quote is asked with the run's prompt.+vi.mock('../../api/cloud/studio', () => ({+ studioQuote: hoisted.studioQuote,+ StudioQuoteChangedError: hoisted.FakeQuoteChangedError,+}))++import { useCloudCreate } from '../useCloudCreate'+import { useCreateStore, type CreateIntent } from '../../stores/createStore'+import { useCloudCatalogStore } from '../../stores/cloudCatalogStore'+import { neuerServer } from '../../lib/render/__tests__/fixtures/test-catalogs'+import { INTENTS, intentTakesPrompt } from '../../components/create/experimental/intents'+import { intentPickerModels } from '../../lib/render/create-studio'+import { STUDIO_MODELS, studioSchema } from '../../lib/render/studio-contract'++const BILD = { filename: 'portrait.png', url: 'data:image/png;base64,AA', width: 512, height: 512 }+const TON = { name: 'voice.mp3', url: 'blob:voice', blob: new Blob(['x']) }+const CLIP = { name: 'drive.mp4', url: 'blob:drive', blob: new Blob(['x']) }+const REST = 'a neon-lit alley in the rain'++beforeEach(() => {+ submitted.length = 0+ hochgeladen.length = 0+ hoisted.studioQuote.mockClear()+ vi.stubGlobal('fetch', vi.fn(async () => ({ ok: true, blob: async () => new Blob(['x']) })))+ useCloudCatalogStore.setState({ models: neuerServer() })+ useCreateStore.setState({+ isGenerating: false, error: null, backend: 'cloud', improvePrompt: false,+ source: null, mask: null, audioInput: null, videoInput: null, voiceFromJob: null,+ extendSource: null, gallery: [], cloudStudioOptions: {}, cloudStudioCredits: null, promptHistory: [],+ cloudOpModel: '', cloudOpPicks: {},+ })+ useCreateStore.getState().setIntent('image')+ useCreateStore.getState().setPrompt(REST)+})++describe('Ansichten ohne Promptfeld', () => {+ it('Talking Character schickt den Rest aus dem Bild-Tab nicht mit, klassisch und Studio', async () => {+ const { generate } = useCloudCreate()+ for (const model of ['infinitetalk-fast', 'seedance-2.5-avatar']) {+ submitted.length = 0+ const s = useCreateStore.getState()+ s.setIntent('lipsync')+ s.setCloudOpModel(model)+ useCreateStore.setState({ source: BILD, audioInput: TON })+ await generate()+ expect(useCreateStore.getState().error, model).toBeNull()+ expect(submitted, model).toHaveLength(1)+ expect(submitted[0].model, model).toBe(model)+ expect(submitted[0].prompt, model).toBe('')+ expect(JSON.stringify(submitted[0]), model).not.toContain(REST)+ }+ // Auch der Preis wird ohne den fremden Text bestaetigt.+ expect(hoisted.studioQuote.mock.calls.at(-1)?.[1]).toBe('')+ })++ it('Motion Control schickt ihn nicht mit', async () => {+ useCreateStore.getState().setIntent('motion')+ useCreateStore.setState({ source: BILD, videoInput: CLIP })+ await useCloudCreate().generate()+ expect(submitted).toHaveLength(1)+ expect(submitted[0].prompt).toBe('')+ })++ it('Remove Background schickt ihn nicht mit und schreibt ihn nicht in den Verlauf', async () => {+ useCreateStore.getState().setIntent('removebg')+ useCreateStore.setState({ source: BILD })+ await useCloudCreate().generate()+ expect(submitted[0].prompt).toBe('')+ expect(useCreateStore.getState().promptHistory).not.toContain(REST)+ })++ it('ein Text, den die Pruefung ablehnt, haelt einen Lauf ohne Promptfeld nicht auf', async () => {+ useCreateStore.getState().setPrompt('a 12 year old girl, nude')+ useCreateStore.getState().setIntent('lipsync')+ useCreateStore.setState({ source: BILD, audioInput: TON })+ await useCloudCreate().generate()+ expect(useCreateStore.getState().error).toBeNull()+ expect(submitted).toHaveLength(1)+ expect(submitted[0].prompt).toBe('')+ })++ it('eine Ansicht mit Promptfeld schickt ihn weiter', async () => {+ useCreateStore.getState().setCloudImageModel('flux-schnell')+ await useCloudCreate().generate()+ expect(submitted[0].prompt).toBe(REST)+ expect(useCreateStore.getState().promptHistory).toContain(REST)+ })++ it('kein Studio-Modell einer Ansicht ohne Promptfeld verlangt einen Prompt', () => {+ for (const meta of INTENTS.filter((m) => !intentTakesPrompt(m.id as CreateIntent))) {+ for (const m of intentPickerModels(meta.id as CreateIntent)) {+ const studio = STUDIO_MODELS[m.id]+ if (!studio) continue+ expect(studioSchema(m.id).required ?? [], `${meta.id} ${m.id}`).not.toContain(studio.promptField ?? 'prompt')+ }+ }+ })+})diff --git a/src/hooks/__tests__/useCreate-kein-rest-prompt.test.ts b/src/hooks/__tests__/useCreate-kein-rest-prompt.test.tsnew file mode 100644index 00000000..14e113eb--- /dev/null+++ b/src/hooks/__tests__/useCreate-kein-rest-prompt.test.ts@@ -0,0 +1,115 @@+// @vitest-environment jsdom+/**+ * Fund M4 (05.10.2026) auf der lokalen Spur: Talking Character und Motion+ * Control zeigen kein Promptfeld, ihr Graph bekam aber den Text, der noch aus+ * einem anderen Tab im Speicher stand, und die Inhaltspruefung las ihn mit.+ * Durch den echten generate-Weg von useCreate: der Bau des Graphen bekommt+ * keinen fremden Text, Music behaelt seinen.+ */+import { describe, it, expect, vi, beforeEach } from 'vitest'+import { renderHook } from '@testing-library/react'++const seen = vi.hoisted(() => ({ lane: [] as Array<{ op: string; prompt: string }> }))++vi.mock('../../api/mlx-image', () => ({+ isMlxImageHost: () => false,+ isMlxImageModel: () => false,+ mlxStatus: vi.fn(async () => ({ installed: false })),+ listMlxImageModels: vi.fn(async () => []),+ buildMlxImageModels: vi.fn(() => []),+ mergeImageModels: vi.fn((a: unknown[]) => a),+ mlxModelIdFor: vi.fn(() => ''),+ generateMlxImageDataUrl: vi.fn(),+}))+vi.mock('../../api/comfyui', async (orig) => ({+ ...((await orig()) as Record<string, unknown>),+ checkComfyConnection: vi.fn(async () => true),+ uploadMediaFile: vi.fn(async (_blob: Blob, name: string) => name),+ submitWorkflow: vi.fn(async () => { throw new Error('stop here') }),+}))+vi.mock('../../api/comfyui-ws', () => ({+ CLIENT_ID: 'lu-test',+ comfyWS: { connect: vi.fn(async () => { throw new Error('no socket') }), mark: () => 0 },+}))+vi.mock('../../api/vram-handoff', async (orig) => ({+ ...((await orig()) as Record<string, unknown>),+ evictChatBackendsForRender: vi.fn(async () => null),+ restoreChatBackendsAfterRender: vi.fn(),+}))+vi.mock('../../api/dynamic-workflow', async (orig) => ({+ ...((await orig()) as Record<string, unknown>),+ buildLocalOpWorkflow: vi.fn(async (p: { op: string; prompt: string }) => {+ seen.lane.push({ op: p.op, prompt: p.prompt })+ return { '1': { class_type: 'SaveImage', inputs: {} } }+ }),+ checkVideoOutputCapability: vi.fn(async () => ({ mp4Capable: true, webpOnly: false, missingNodes: [] })),+}))++import { useCreate } from '../useCreate'+import { useCreateStore } from '../../stores/createStore'+import { classifyModel } from '../../api/comfyui'++const MUSIC = 'yue2_3b_int8_convrot.safetensors'+const LIPSYNC = 'wan2.2_s2v_14B_fp8_scaled.safetensors'+const MOTION = 'wan2.2_animate_14B_fp8_scaled.safetensors'+const REST = 'a neon-lit alley in the rain'++const picture = { filename: 'source.png', url: 'blob:source', width: 1024, height: 1024 }+const media = (name: string) => ({ blob: new Blob(['x']), name, url: `blob:${name}` })+const listed = (name: string) => [{ name, type: classifyModel(name) }]++beforeEach(() => {+ seen.lane.length = 0+ // jsdom never loads media, so the voice length probe would wait for ever.+ vi.stubGlobal('Audio', class {+ onerror: (() => void) | null = null+ set src(_value: string) { queueMicrotask(() => this.onerror?.()) }+ })+ if (!URL.createObjectURL) URL.createObjectURL = () => 'blob:probe'+ if (!URL.revokeObjectURL) URL.revokeObjectURL = () => undefined+ useCreateStore.setState({+ backend: 'local', isGenerating: false, error: null, gallery: [], promptHistory: [], fixupPrompt: null,+ improvePrompt: false, cloudOp: null, utilityOp: null, removebg: false, source: null, mask: null, references: [],+ selectedLoras: [], seed: 42, batchSources: [], musicLyrics: '',+ audioModelList: listed(MUSIC), lipsyncModelList: listed(LIPSYNC), motionModelList: listed(MOTION),+ } as never)+ useCreateStore.getState().setIntent('image')+ useCreateStore.getState().setPrompt(REST)+})++async function run() {+ const { result } = renderHook(() => useCreate())+ await result.current.generate()+}++describe('lokale Ansichten ohne Promptfeld', () => {+ it('Talking Character baut seinen Graphen ohne den Rest aus dem Bild-Tab', async () => {+ useCreateStore.getState().setIntent('lipsync')+ useCreateStore.setState({ localOpModel: LIPSYNC, source: picture, audioInput: media('voice.wav') } as never)+ await run()+ expect(seen.lane).toEqual([{ op: 'lipsync', prompt: '' }])+ expect(useCreateStore.getState().promptHistory).not.toContain(REST)+ })++ it('Motion Control baut seinen Graphen ohne ihn', async () => {+ useCreateStore.getState().setIntent('motion')+ useCreateStore.setState({ localOpModel: MOTION, source: picture, videoInput: media('dance.mp4') } as never)+ await run()+ expect(seen.lane).toEqual([{ op: 'motion', prompt: '' }])+ })++ it('ein Text, den die Pruefung ablehnt, haelt einen Lauf ohne Promptfeld nicht auf', async () => {+ useCreateStore.getState().setPrompt('a 12 year old girl, nude')+ useCreateStore.getState().setIntent('lipsync')+ useCreateStore.setState({ localOpModel: LIPSYNC, source: picture, audioInput: media('voice.wav') } as never)+ await run()+ expect(seen.lane).toEqual([{ op: 'lipsync', prompt: '' }])+ })++ it('Music hat ein Promptfeld und schickt seinen Text weiter', async () => {+ useCreateStore.getState().setIntent('music')+ useCreateStore.setState({ localOpModel: MUSIC } as never)+ await run()+ expect(seen.lane).toEqual([{ op: 'music', prompt: REST }])+ })+})diff --git a/src/hooks/useCloudCreate.ts b/src/hooks/useCloudCreate.tsindex f97e4abc..a5786721 100644--- a/src/hooks/useCloudCreate.ts+++ b/src/hooks/useCloudCreate.ts@@ -43,6 +43,7 @@ import { bumpSeed, runImageCount } from '../lib/render/image-count'import { STUDIO_MODELS, studioFields } from '../lib/render/studio-contract'import { modelLabel } from '../lib/render/preset-models'import { improveKindForIntent, IMPROVING_PROMPT } from '../lib/render/improve-prompt'+import { intentTakesPrompt } from '../components/create/experimental/intents'import { rewrittenByName } from '../lib/render/qwen-enhancer'import { elapsedLine } from '../lib/elapsed-line'import { improvePrompt } from '../lib/render/improve-prompt-run'@@ -261,6 +262,11 @@ export function useCloudCreate(opts: { onQuotaChange?: () => void } = {}) {// Bilder in diesem Lauf: nur Bild und Bearbeiten kennen mehr als eins.const count = runImageCount(intent, s.cloudImageCount, characterUse)+ // The prompt of this run. A view without a prompt field (Talking Character,+ // Motion Control, the utility ops, training) sends none: the store holds one+ // prompt for every tab, and the text left from another tab would steer the+ // run unseen or fail the content check for words nobody sees here.+ const prompt = intentTakesPrompt(intent, characterUse) ? s.prompt : ''s.setError(null)if (!cloudMediaLive()) {// Server MEDIA_LIVE switch is off — the GPU fleet isn't up, a submit@@ -268,7 +274,7 @@ export function useCloudCreate(opts: { onQuotaChange?: () => void } = {}) {s.setError('Cloud rendering is coming soon, the GPU fleet is not live yet.')return}- if ((op === 'generate' || op === 'music' || op === 'tts') && s.prompt.trim().length === 0) {+ if ((op === 'generate' || op === 'music' || op === 'tts') && prompt.trim().length === 0) {s.setError('Please enter a prompt.')return}@@ -278,7 +284,7 @@ export function useCloudCreate(opts: { onQuotaChange?: () => void } = {}) {// below either way; this only saves the round trip when the client// already knows the verdict (B3).{- const verdict = clientSafety(`${s.prompt} ${s.negativePrompt} ${s.musicLyrics} ${s.triggerWord}`)+ const verdict = clientSafety(`${prompt} ${s.negativePrompt} ${s.musicLyrics} ${s.triggerWord}`)if (verdict.blocked) {s.setError(blockMessageFor(verdict.reason))return@@ -543,19 +549,19 @@ export function useCloudCreate(opts: { onQuotaChange?: () => void } = {}) {// for this model before the run. On LU Cloud that is a small chat call,// billed like chat. The run sends the rewrite and the gallery keeps both.// A rewrite that fails never stops the run.- let runPrompt = s.prompt+ let runPrompt = promptlet promptOriginal: string | undefinedlet rewrittenBy: string | undefinedlet improveFailed = falseconst improveKind = s.improvePrompt && !characterUse ? improveKindForIntent(intent) : null- if (improveKind && s.prompt.trim() && !ac.signal.aborted) {+ if (improveKind && prompt.trim() && !ac.signal.aborted) {const improving = elapsedLine((text) => s.setProgress(8, text), IMPROVING_PROMPT)- const out = await improvePrompt(s.prompt, { kind: improveKind, modelLabel: modelLabel(model) }, ac.signal).finally(improving.stop)+ const out = await improvePrompt(prompt, { kind: improveKind, modelLabel: modelLabel(model) }, ac.signal).finally(improving.stop)// The safety check covers the rewrite too: the user wrote an allowed// prompt, the model must not turn it into a refusal.if (out.status === 'improved' && !clientSafety(out.prompt).blocked) {runPrompt = out.prompt- promptOriginal = s.prompt+ promptOriginal = promptrewrittenBy = rewrittenByName('chat', currentHelperModel())} else if (out.status !== 'unchanged' && !ac.signal.aborted) {improveFailed = true@@ -636,7 +642,7 @@ export function useCloudCreate(opts: { onQuotaChange?: () => void } = {}) {// list view (GET /api/jobs), not the only source of the gallery name.let label: string | undefinedif (studioModel) {- label = s.prompt.trim() ? undefined : modelLabel(studioModel)+ label = prompt.trim() ? undefined : modelLabel(studioModel)if (label) params.label = label} else if (OP_GALLERY_LABEL[op]) {label = OP_GALLERY_LABEL[op]@@ -663,7 +669,7 @@ export function useCloudCreate(opts: { onQuotaChange?: () => void } = {}) {activeJobId = idactiveJobIds = idsonQuotaChange?.()- if (s.prompt.trim()) s.addToPromptHistory(s.prompt.trim())+ if (prompt.trim()) s.addToPromptHistory(prompt.trim())const startedAt = Date.now()// Video renders and character training routinely run several minutesdiff --git a/src/hooks/useCreate.ts b/src/hooks/useCreate.tsindex d6535314..2f7782c6 100644--- a/src/hooks/useCreate.ts+++ b/src/hooks/useCreate.ts@@ -63,6 +63,7 @@ import { renderFixupDeps } from '../api/render-fixup-deps'import { checkPromptSafety, SAFETY_BLOCK_MESSAGE } from '../lib/render/safety'import { wantsTransparent } from '../lib/transparent-image'import { scenePromptFor } from '../lib/ltx-multishot'+import { intentTakesPrompt } from '../components/create/experimental/intents'import { improveKindForIntent, IMPROVING_PROMPT, type ImproveOutcome } from '../lib/render/improve-prompt'import { elapsedLine } from '../lib/elapsed-line'import { improvePrompt } from '../lib/render/improve-prompt-run'@@ -524,9 +525,17 @@ export function useCreate() {// lines below. Every field that carries user text to a render is gated on// both paths, and the two lists have to stay identical (review// 2026-08-14).+ //+ // The prompt of this run. A view without a prompt field (Talking Character,+ // Motion Control, Remove Background, training) sends none: the store holds+ // one prompt for every tab, and the text left from another tab would steer+ // the run unseen or fail this check for words nobody sees here.+ const typedPrompt = intentTakesPrompt(state.intent(), state.cloudOp === 'character' && state.characterTab === 'use')+ ? state.prompt+ : ''{const verdict = checkPromptSafety(- `${state.prompt} ${state.negativePrompt} ${state.musicLyrics} ${state.triggerWord} ${state.videoShots.join(' ')}`,+ `${typedPrompt} ${state.negativePrompt} ${state.musicLyrics} ${state.triggerWord} ${state.videoShots.join(' ')}`,)if (verdict.blocked) {state.setError(SAFETY_BLOCK_MESSAGE)@@ -541,7 +550,7 @@ export function useCreate() {return}const {- mode, prompt: typedPrompt, negativePrompt, imageModel, videoModel,+ mode, negativePrompt, imageModel, videoModel,sampler, scheduler, steps, cfgScale, width, height, seed, batchSize, frames, fps, denoise,hiresFixEnabled, hiresScale, hiresDenoise, hiresSteps, hiresUpscaleMethod, i2iImage, i2vImage,source, references, mask, growMaskBy, removebg, selectedLoras, selectedVae, clipSkip,