Add loadable UI-format LTX audio workflow (API format didn't load in the canvas)

The canvas Load expects the UI graph format (nodes[]+links[]+positions), not the
API format — so the _api.json came up empty. Added workflow_ltx_audio.json in UI
format (matched the schema from a real workflow: node dicts with pos/size/inputs/
outputs/widgets_values, link tuples, version 0.4), validated slots/links. Dropped
audio_upload from AudioWaveSegments so the widget layout is predictable (the JS
upload button stays). README points to the loadable file; _api.json kept for the bridge.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-07-04 22:49:05 +02:00
co-authored by Claude Opus 4.8
parent 07ad5c1dc1
commit d562d5bea1
3 changed files with 267 additions and 7 deletions
+7 -6
View File
@@ -101,12 +101,13 @@ seg1: slow dreamy intro # by segment number (also "1:" or "S1:")
cinematic, moody grade # no prefix = global (applies throughout)
```
**Ready-made workflow:** `workflow/workflow_ltx_audio_api.json` wires it all up —
`Audio Wave + Segments` + `LoadImage` (subject) + `Text (Prompt)` (the LTX system prompt
from `prompts/ltx_audio_relay_system_prompt.txt`) → the judge in chat mode
(`json_output=true`, model `3.5-9b`). Load it, upload your audio + set your subject image,
and the judge's `analysis` output is the LTX beats JSON. (`Text (Prompt)` is a small STRING
node this pack adds to feed the judge's `system_prompt`/`user_prompt`/`axes` sockets.)
**Ready-made workflow:** load **`workflow/workflow_ltx_audio.json`** (UI format — drag it
onto the canvas) — it wires `Audio Wave + Segments` + `LoadImage` (subject) + `Text (Prompt)`
(the LTX system prompt from `prompts/ltx_audio_relay_system_prompt.txt`) → the judge in chat
mode (`json_output=true`, model `3.5-9b`). Set your subject image + audio, queue, and the
judge's `analysis` output is the LTX beats JSON. (`workflow_ltx_audio_api.json` is the same
graph in API format for `agent_bridge.py`. `Text (Prompt)` is a small STRING node this pack
adds to feed the judge's `system_prompt`/`user_prompt`/`axes` sockets.)
### Interactive: `Audio Wave + Segments`