T8 Creative Version Stack(版本选择/回退)
Prompt version control that lives inside your workflow
- versions
- selected_text
- version_history_json
- diff_from_previous
Every serious prompt workflow eventually hits the version problem: you iterate a lyric or a caption eight times, lose track of which one actually worked, and can't get the good one back. T8 Creative Version Stack(版本选择/回退) is a tiny pure-local node that gives you a version history inside the workflow - up to 8 versions, no external files, no LLM, no API key. It's the git-in-a-box solution for people who refuse to name files prompt_final_v3_REAL_v2_use_this.txt.
The mechanism is dead simple and that's the point. Version 1 comes from the required base_version input. Versions 2–8 come from the autogrow versions socket (up to 7 additional text slots), so you wire in the outputs of whatever generates new versions - T8 Music Creative Lab, T8 Directed Revision, or any STRING node - and each run adds another row. Set selected_version (1–8) to choose, and out comes the text you picked.
The inputs
base_version(required) - version 1. Everything else stacks on top.versions- the autogrow slots for versions 2 through 8.selected_version- which one to output, 1–8.version_notes- one note per line, one per version, so your future self remembers why v4 was abandoned.
What comes out
selected_text- the version you chose, as a plainSTRING, ready for your enhancer or Music 3 node.version_history_json- the whole stack with notes, for inspection or saving.diff_from_previous- a localdiffbetween the selected version and the one before it. Instant, free, and more reliable than eyeballing two long text blocks side by side.
The pack's recommended flow makes the loop obvious: Music Creative Lab → Version Stack → pick a winner → the selected lyric and caption go to the Music-to-Video Beat Sheet. You can also stack directed revisions and compare each step's diff.
Installing
Part of the comfyui-minimax-h3-prompt-enhancer-T8 pack. ComfyUI Manager: search "MiniMax H3 / Seedance 2.0 / Music 3 Prompt Enhancer (T8)", or:
cd ComfyUI/custom_nodes
git clone https://github.com/T8mars/comfyui-minimax-h3-prompt-enhancer-T8
Restart ComfyUI, Ctrl+F5 the browser. Pure local, zero extra dependencies.
The gotchas
The version stack is workflow-local, so it lives and dies with the workflow JSON you save - export/save the workflow if a version matters, because closing it without saving loses the stack. Empty slots are skipped, so you can have "version 2 and version 4" with no 3. And a gentle warning from the source: if selected_version points past the number of non-empty versions actually present, you get an out-of-range error rather than a silent fallback - which is honest, if occasionally annoying when you're mid-iteration. Keep version_notes filled as you go; future you will send you a thank-you note.
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| base_version | STRING | — | |
| selected_version | INT | 11–8 | — |
| versionsopt | COMFY_AUTOGROW_V3 | — | |
| version_notesopt | STRING | — |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| selected_text | STRING | — |
| version_history_json | STRING | — |
| diff_from_previous | STRING | — |