From bbd46a4764c756306f73791d6ab50eab04483fa1 Mon Sep 17 00:00:00 2001 From: Z User Date: Sun, 1 Nov 2026 22:32:31 +0000 Subject: [PATCH] track-gate: worked r2v+refmod plain-text example - examples/prompt_override_r2v_refmod.txt is the Sam park story as one prompt_override paste: three six-section r2v scene prompts, Sam refmod verbatim in every subject_definitions, pipes between, [0-240,r2v]/[240-480,r2v]/[480-720,r2v] markers at segment ends; proven through parse_override_segments + build_multitrack_data_from_prompt_override: 3 tasks TYPE r2v, frames [0-240]/[240-480]/[480-720], task-duration sum 720 (that sum, not the builder's 721 metadata, drives the MiniMax total), text byte-identical to plan shots, marker stripped clean; schema doc: marker end-placement, newline survival, pointer to the example --- .../examples/prompt_override_r2v_refmod.txt | 46 +++++++++++++++++++ .../references/track-schema.md | 10 +++- 2 files changed, 55 insertions(+), 1 deletion(-) create mode 100644 easy-media-track-gate/examples/prompt_override_r2v_refmod.txt diff --git a/easy-media-track-gate/examples/prompt_override_r2v_refmod.txt b/easy-media-track-gate/examples/prompt_override_r2v_refmod.txt new file mode 100644 index 0000000..da7d8d3 --- /dev/null +++ b/easy-media-track-gate/examples/prompt_override_r2v_refmod.txt @@ -0,0 +1,46 @@ +subject_definitions: + identity: Sam is a 9 year old boy with his blonde hair in pigtails that dresses like a baby girl; voice: Sam is a 9 year old boy with his blonde hair in pigtails that dresses like a baby girl + is a small monarch butterfly with bright orange wings, black veins, black-spotted wing edges and a thin dark body +summary: +[reference generation] +retention_analysis: +: fully_preserved +: fully_preserved +detailed_description: +Bright photoreal park realism on a warm late morning, sunlit green lawn and pale gravel path under fresh leaf shadows, the butterfly's orange the one saturated accent in a soft natural palette. +Gentle camera kept low at the child's eye height, gliding smoothly alongside the walk. +[Shot 1] strolls along the pale gravel path through the sunlit park, his arms swinging loosely at his sides, sun warm on his face, his weight rolling heel to toe over the crunching gravel with every step. The camera glides low at his eye height, one slow step behind his shoulder, then another, holding him centered as sunlit lawn and fresh leaf shadows slide past behind him, then settles as he stops. At the path's edge a small monarch butterfly with bright orange wings, black veins and black-spotted wing edges darts up out of the flower bed, crosses in front of him in two quick darts, and settles into a hover at his chest height. 's right foot plants mid-stride, his arms slow and rise, and his eyes lock onto the hovering butterfly as his mouth falls open; he rises onto his toes and both small hands reach toward it, fingers spreading wide, his whole body tipping forward with the reach. The butterfly hangs in the air just out of reach, its wings opening and closing slowly while his fingertips strain closer. End mid-action: both hands still reaching, fingers an inch short of the orange wings, his weight tipped onto his toes, the camera holding the butterfly and his hands in the same frame. +overall_soundscape: +songbirds calling in the trees, a light breeze moving through the leaves, distant playground chatter, small footsteps crunching on the gravel path. +non_diegetic_music: +N/A [0-240,r2v]|subject_definitions: + identity: Sam is a 9 year old boy with his blonde hair in pigtails that dresses like a baby girl; voice: Sam is a 9 year old boy with his blonde hair in pigtails that dresses like a baby girl + is a small monarch butterfly with bright orange wings, black veins, black-spotted wing edges and a thin dark body +summary: +[reference generation] +retention_analysis: +: fully_preserved +: fully_preserved +detailed_description: +Bright photoreal park realism on a warm late morning, sunlit green lawn and pale gravel path under fresh leaf shadows, the butterfly's orange the one saturated accent in a soft natural palette. +Gentle camera kept low at the child's eye height, gliding smoothly alongside the walk. +[Shot 1] Continue the same reach without resetting the motion: 's fingertips close on empty air as the small monarch butterfly with bright orange wings, black veins and black-spotted wing edges snaps its wings shut, drops a hand-width, and darts away over the lawn. His planted right foot pushes off the gravel, his left foot lands on the short springy grass beyond the path's edge, grass bending flat under each landing step, and he is running, three quick strides, then four, his arms pumping at his sides. The camera picks up its low glide again and tracks after him one step, then another, keeping his back and the fluttering butterfly in the same frame. He swings his right hand in a high arc at the butterfly and misses by a hand-width; it lifts, he lunges forward, and his left hand crosses over his right to clap shut on empty air. The butterfly banks around him in a tight orange loop and rises to a hover just above his reach. He staggers to a stop, both hands still fisted around nothing, his chest heaving with quick breaths, sun warm on his upturned face; his eyebrows knot, his chin dips, and his mouth begins to pull down at the corners as his hands lower slowly to his sides. End mid-action: the butterfly hanging in a steady hover above his head, his lower lip starting to tremble, his shoulders beginning to sink. +overall_soundscape: +the same songbirds and light leaf-breeze continue as the gravel crunch gives way to a soft grass swish under running steps, quick panting breaths rise, each swipe of his hands whiffs through the air, distant playground chatter still drifting. +non_diegetic_music: +N/A [240-480,r2v]|subject_definitions: + identity: Sam is a 9 year old boy with his blonde hair in pigtails that dresses like a baby girl; voice: Sam is a 9 year old boy with his blonde hair in pigtails that dresses like a baby girl + is a small monarch butterfly with bright orange wings, black veins, black-spotted wing edges and a thin dark body +summary: +[reference generation] +retention_analysis: +: fully_preserved +: fully_preserved +detailed_description: +Bright photoreal park realism on a warm late morning, sunlit green lawn and pale gravel path under fresh leaf shadows, the butterfly's orange the one saturated accent in a soft natural palette. +Gentle camera kept low at the child's eye height, gliding smoothly alongside the walk. +[Shot 1] Continue the same sinking without resetting the motion: 's fists come undone at his sides, his shoulders drop the last of their fight, and his knees fold under him; he drops his weight straight down, his bottom landing on the short grass with a soft thump, both hands slapping the lawn beside him to steady himself. The camera glides one slow arc from behind his shoulder around to his front, settles at his seated eye height, and holds still. In front of him the small monarch butterfly with bright orange wings, black veins and black-spotted wing edges rises in two slow wingbeats, drifts back over the flower bed, and shrinks to a fleck of orange among the blossoms. watches it go with his mouth crumpling; then his eyes squeeze shut, his mouth opens wide in the first wail, and he cries like an infant, tears spilling over his lower lashes and rolling down both cheeks, sun warm on his tear-streaked face. His right fist rubs hard across his left eye, then his left fist across his right eye, his shoulders hitching with each sob, his head tipping back on the big wails and dropping forward between them, his heels digging into the grass and pulling close to his bottom. He stays seated in the grass, crying, tears streaking to his chin, the flower bed across the lawn holding only the spot where the butterfly vanished. +overall_soundscape: +the same songbirds and light leaf-breeze continue, the grass swishing once as he sinks down, then the first wail rising over the ambience with hitching sobs carrying on, distant playground chatter still drifting. +non_diegetic_music: +N/A [480-720,r2v] \ No newline at end of file diff --git a/easy-media-track-gate/references/track-schema.md b/easy-media-track-gate/references/track-schema.md index 68fb403..bb73041 100755 --- a/easy-media-track-gate/references/track-schema.md +++ b/easy-media-track-gate/references/track-schema.md @@ -498,7 +498,15 @@ one task segment per part, a trailing `|` is a no-op. Proven by executing the pa - `[s-e]` frame ranges, seconds form `[1.5s-3s]` (4-frame quanta), optional type suffix `[0-240,r2v]` → that segment becomes task_mode `ref` / TYPE `r2v` (other types: `flf`, `fmlf`, `ref`, `l2v`, `v2v`, `i2v`, `rv2v`, `vi2v`). With explicit ranges the - timeline length becomes the last end + 1. + timeline length becomes the last end + 1. The marker sits at the END of the segment, + is stripped from the text before it reaches the task, and newlines INSIDE a segment + survive — only `|` splits. Worked example: + `examples/prompt_override_r2v_refmod.txt` — three six-section r2v scene prompts + (each carrying the Sam refmod verbatim in `subject_definitions`, no `` + because the story has zero images) with `[0-240,r2v]` / `[240-480,r2v]` / + `[480-720,r2v]` markers; proven through the pack's parser: 3 tasks TYPE `r2v`, + frames [0-240]/[240-480]/[480-720], task-duration sum 720, text byte-identical to + the plan shots. - `@image1` / `@audio1` / `@video1` attach the editor's matching media input slots positionally. The `` bracket form is NOT parsed in this path — it stays literal text; only the JSON payload understands it.