Show each extension's own prompt, not only the batch script.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -141,9 +141,10 @@ export function stillModeLabel(still: { filename?: string; settings?: StillGener
|
||||
return ''
|
||||
}
|
||||
|
||||
export function stillSettingsRows(still: { width?: number; height?: number; settings?: StillGenerationSettings | null }) {
|
||||
export function stillSettingsRows(still: { prompt?: string; width?: number; height?: number; settings?: StillGenerationSettings | null }) {
|
||||
const settings = still.settings
|
||||
const rows: SettingsRow[] = []
|
||||
if (still.prompt?.trim()) rows.push({ label: 'Prompt', value: still.prompt.trim() })
|
||||
const mode = stillModeLabel(still)
|
||||
if (mode) rows.push({ label: 'Mode', value: mode })
|
||||
if (!settings) return rows
|
||||
@@ -201,6 +202,7 @@ function videoWorkflowLabel(workflow?: string) {
|
||||
}
|
||||
|
||||
export function clipSettingsRows(clip: {
|
||||
prompt?: string
|
||||
width?: number
|
||||
height?: number
|
||||
duration?: number
|
||||
@@ -218,6 +220,7 @@ export function clipSettingsRows(clip: {
|
||||
loraStack?: LoraStackItem[]
|
||||
}) {
|
||||
const rows: SettingsRow[] = []
|
||||
if (clip.prompt?.trim()) rows.push({ label: 'Prompt', value: clip.prompt.trim() })
|
||||
const workflow = videoWorkflowLabel(clip.workflow)
|
||||
if (workflow) rows.push({ label: 'Workflow', value: workflow })
|
||||
if (clip.width && clip.height) rows.push({ label: 'Size', value: `${clip.width}×${clip.height}` })
|
||||
|
||||
Reference in New Issue
Block a user