build_plan.py delivery print and docstring now route the paste to the internal plan_json widget (dynamicPrompts:False) - stops the LLM from steering the user back into a multiline/dynamic-prompt input
This commit is contained in:
parent
23d0def305
commit
c0d377b894
@ -235,7 +235,7 @@ Merged plan:
|
|||||||
shot 2 id='lollipop_pickup' six-section ref2va OK (2 subject(s): no-image, refmod; body 156 words)
|
shot 2 id='lollipop_pickup' six-section ref2va OK (2 subject(s): no-image, refmod; body 156 words)
|
||||||
shot 3 id='pay_shopkeeper' six-section ref2va OK (2 subject(s): no-image, refmod; body 156 words)
|
shot 3 id='pay_shopkeeper' six-section ref2va OK (2 subject(s): no-image, refmod; body 156 words)
|
||||||
H3 section structure: all shots carry the six Ref2VA sections in canonical order
|
H3 section structure: all shots carry the six Ref2VA sections in canonical order
|
||||||
wrote plan.json - paste its full contents into plan_json_input
|
wrote plan.json - paste its full contents into the Plan node's internal plan_json widget and queue once (never through a multiline or prompt-typed text input; see SKILL.md Step 5)
|
||||||
```
|
```
|
||||||
|
|
||||||
The deliverable is the single `plan.json` — `"prompt_prefix": [""]`, `defaults`, and
|
The deliverable is the single `plan.json` — `"prompt_prefix": [""]`, `defaults`, and
|
||||||
|
|||||||
@ -9,8 +9,10 @@ prompt contract and refmod isolation) before anything is written.
|
|||||||
|
|
||||||
The merged plan carries one shot per scene. The node renders each shot as its own
|
The merged plan carries one shot per scene. The node renders each shot as its own
|
||||||
clip and chains the clips through the H3 context loop into one continuous video —
|
clip and chains the clips through the H3 context loop into one continuous video —
|
||||||
this one plan JSON is the whole multi-clip deliverable; paste it into plan_json_input
|
this one plan JSON is the whole multi-clip deliverable. Delivery: paste it into the
|
||||||
once and queue once.
|
Plan node's internal `plan_json` widget (declared dynamicPrompts:False — ComfyUI's
|
||||||
|
frontend dynamic-prompt serializer strips braces from dynamicPrompts:true widgets,
|
||||||
|
which destroys the JSON) and queue once. See SKILL.md Step 5.
|
||||||
|
|
||||||
Usage:
|
Usage:
|
||||||
python build_plan.py outline.json scene_01.json scene_02.json scene_03.json -o plan.json
|
python build_plan.py outline.json scene_01.json scene_02.json scene_03.json -o plan.json
|
||||||
@ -138,7 +140,9 @@ def main():
|
|||||||
if args.out:
|
if args.out:
|
||||||
with open(args.out, "w", encoding="utf-8") as fh:
|
with open(args.out, "w", encoding="utf-8") as fh:
|
||||||
fh.write(out_text)
|
fh.write(out_text)
|
||||||
print(f"\nwrote {args.out} - paste its full contents into plan_json_input")
|
print(f"\nwrote {args.out} - paste its full contents into the Plan node's "
|
||||||
|
f"internal plan_json widget and queue once (never through a multiline "
|
||||||
|
f"or prompt-typed text input; see SKILL.md Step 5)")
|
||||||
else:
|
else:
|
||||||
print("\n" + out_text)
|
print("\n" + out_text)
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user