easy-media-track-gate: delivery must explain task_index / ForLoop multi-shot
The paste payload builds the full task timeline, but easy multiTrackTaskOutput emits ONE task segment per pass, selected by its task_index int (default 0 = first clip only). A single-segment workflow therefore renders only the first scene no matter how many prompts the override carries. SKILL.md step 5A and the builder's delivery print now say so, point to the pack's MinimaxH3_ForLoop_MultiShot.json example (TASK_COUNT -> loop total, loop index -> task_index, mergeVideosFromPaths after the loop) and offer the manual task_index 0..N-1 queue fallback.
This commit is contained in:
parent
5ab7096cfc
commit
eb090f765d
28
easy-media-track-gate/SKILL.md
Normal file → Executable file
28
easy-media-track-gate/SKILL.md
Normal file → Executable file
@ -308,13 +308,27 @@ Deliver it with these instructions:
|
||||
|
||||
1. In the editor node set `format` to `MiniMax` (the payload is parsed as MiniMax only in
|
||||
that format).
|
||||
2. Wire the media: the inventory's image rows (in inventory order) into the editor's
|
||||
`image` input, the master song into `audio`, the reference video into `video`. The
|
||||
`<Picture N>` / `<Audio N>` / `<Video N>` tokens resolve against those input lists
|
||||
positionally.
|
||||
3. Select the `prompt_override` widget, clear it, paste the whole one-line JSON, queue.
|
||||
The editor rebuilds the task track: one clip per prompt, back-to-back, durations as
|
||||
specified — 3 prompts at 10s render as 3 chained ~10-second clips.
|
||||
2. Wire the media IF the outline has any: the inventory's image rows (in inventory order)
|
||||
into the editor's `image` input, the master song into `audio`, the reference video into
|
||||
`video`. The `<Picture N>` / `<Audio N>` / `<Video N>` tokens resolve against those
|
||||
input lists positionally. With an empty inventory (`[]`, pure t2v) nothing gets wired —
|
||||
the editor demands no media inputs at all.
|
||||
3. Select the `prompt_override` widget, clear it, paste the whole one-line JSON. The editor
|
||||
rebuilds the task track: one clip per prompt, back-to-back, durations as specified.
|
||||
4. **Rendering walks the timeline through `easy multiTrackTaskOutput` — and that node
|
||||
outputs ONE task segment per pass, selected by its `task_index` int input (default 0 =
|
||||
only the FIRST clip).** A workflow whose `task_index` stays 0 renders only the first
|
||||
scene no matter how many prompts the override carries. Two ways to render all clips:
|
||||
- **Loop workflow (proper multi-shot):** use the node pack's
|
||||
`example_workflows/MinimaxH3_ForLoop_MultiShot.json`. Its `forLoopStart` takes
|
||||
`total` from `easy multiTrackInfoOutput.TASK_COUNT` (via a math node that also lets a
|
||||
PrimitiveInt pick one segment: -1 = all), and its index feeds
|
||||
`multiTrackTaskOutput.task_index`; each iteration generates one clip, batches it, and
|
||||
`mergeVideosFromPaths` concatenates everything after the loop. Paste the override
|
||||
into THAT editor and set the PrimitiveInt to -1.
|
||||
- **Manual fallback (no rewiring):** set `task_index` to 0, queue; then 1, queue; then
|
||||
2, queue. Three clip files, join them afterwards. (`task_index = -1` outputs the whole
|
||||
timeline's pre-rendered MEDIA — it is not a 3-clip generation.)
|
||||
|
||||
**The paste target is the `prompt_override` input and only that payload type.** Never give
|
||||
the user a `plan.json`, an outline, an H3 plan or any other JSON to paste there: without
|
||||
|
||||
7
easy-media-track-gate/build_track_plan.py
Normal file → Executable file
7
easy-media-track-gate/build_track_plan.py
Normal file → Executable file
@ -225,7 +225,12 @@ def _main(argv: list[str]) -> int:
|
||||
print(f"PLAN OK: {_summary(plan)}")
|
||||
print(f"wrote {out_path} and {out_path.parent / 'track_data.json'}")
|
||||
print("deliver: paste prompt_override.json into the multitrack editor's "
|
||||
"prompt_override input (format MiniMax), then queue")
|
||||
"prompt_override input (format MiniMax)")
|
||||
print("NOTE: easy multiTrackTaskOutput renders ONE task segment per pass "
|
||||
"(task_index, default 0 = first clip only).")
|
||||
print(" - all clips: use the pack's example_workflows/MinimaxH3_ForLoop_MultiShot.json "
|
||||
"(loop index -> task_index, PrimitiveInt -1 = all, auto-merge)")
|
||||
print(f" - or queue manually with task_index 0..{prompts - 1} and join the clips")
|
||||
print("optional whole-workflow patch (dry-run first):")
|
||||
print(' py -3 <ComfyUI-Easy-Media>\\skills\\easy-media-multitrack-workflow\\scripts\\patch_workflow.py apply WORKFLOW.json --plan plan.json')
|
||||
print(' ... then add --output RESULT.json --write and inspect RESULT.json')
|
||||
|
||||
Loading…
Reference in New Issue
Block a user