Issues #27/#33/#28. Generate now resolves the prompt first (saved draft or H3 rewrite) and opens an editable review modal before enqueueing; job history drawer shows each render's exact payload with copy-to-form. ComfyUI 400s surface error.type + per-node messages; audio uploads go flat and VHS audio: widgets are patched. Per-scene video settings persist via scenes.video_settings_json (additive migration) and batch generate honors them. Version bumped to 1.3.0.
32 lines
2.6 KiB
Markdown
32 lines
2.6 KiB
Markdown
# 2026-08-31 — Calliope 1.3.0
|
|
|
|
Issue-driven update: prompt visibility (#27), ComfyUI error surfacing + audio fixes (#33), and scene-setup persistence (#28).
|
|
|
|
## Prompt review before Generate (#27)
|
|
|
|
- **Review gate**: Generate on a scene now opens a prompt preview modal first. It resolves the exact prompt that would be sent (saved draft → MiniMax H3 rewrite → deterministic fallback), lets you edit it, and only enqueues after you confirm.
|
|
- **Editable + saveable**: edit the text inline, Regenerate to re-run the H3 rewrite, or Save draft so future generates (single or batch) reuse it. A stale hint appears when the draft was saved against older scene content.
|
|
- **Render history**: the per-scene drawer (View prompt & inputs) is now a full job history — newest jobs for the scene as selectable chips, each showing the exact payload sent to ComfyUI, plus "Copy settings to form" to load a past job's input values back into the live form.
|
|
- Batch **Generate all** skips the modal: it uses each scene's saved draft when present and auto-rewrites the rest, and the completion toast reports how many drafts were applied.
|
|
|
|
## Better ComfyUI errors + audio input fixes (#33)
|
|
|
|
- Failed `/prompt` calls no longer surface as an opaque 400. ComfyUI's own `error.type` and per-node messages (e.g. `node 12: Invalid audio file: "x.m4a"`) are parsed and shown on the job.
|
|
- Audio uploads go to ComfyUI's flat input directory and return a bare filename, matching what `LoadAudio`'s file list expects.
|
|
- `VHS_LoadAudio` support: its widget is literally named `audio:` (with the colon) — both the media-uploader probe and the workflow patcher now handle it. The patcher's sibling-key fallback is strictly guarded to `text ↔ value` and `audio ↔ audio:` pairs.
|
|
- Upload failures (`/upload/image`) surface the same detailed error bodies.
|
|
|
|
## Saved scene setups (#28)
|
|
|
|
- The video stage's per-scene form (workflow pick, input values, video source) auto-saves to the scene and hydrates on reload — no more losing settings on refresh or app restart.
|
|
- **Generate all** honors each scene's saved setup, so batch renders keep per-scene tweaks.
|
|
- Prompt drafts persist per scene alongside the settings.
|
|
- Moved installs stay working: asset paths inside saved settings are rebased by the existing migration when the data directory changes.
|
|
|
|
## Under the hood
|
|
|
|
- `scenes.video_settings_json` column (additive migration, no data loss).
|
|
- New endpoint `POST /api/jobs/projects/{id}/preview-prompt`.
|
|
- `GenerateVideosRequest` accepts an optional `prompts` map (scene-id → confirmed text).
|
|
- 262 backend tests green; `svelte-check` clean.
|