Nodes/ComfyUI-JoyLTX25/JoyLTX Prompts from File
ComfyUI Node

JoyLTX Prompts from File

Shot prompts from a file (--- separated text or JSON) -> the sampler's prompts input.

By jlucasmcrell·Created 6 days ago·Updated 3 days ago· 1
JoyLTX Prompts from File
    • prompts
    • shot_count
    • name
    • block
    pathjoyltx_prompts/episode.txt
    reloadtrue
    modefile (path)
    folderjoyltx_prompts
    index0
    CategoryJoyLTX

    Inputs (5)

    NameTypeDefaultDescription
    pathSTRINGjoyltx_prompts/episode.txtRelative to ComfyUI/input, or absolute. .txt: prompts separated by --- lines (or one per paragraph if there are no ---). .json: {"prompts": [...]} or a list.
    reloadoptBOOLEANtrueRe-read the file every run (turn off to cache).
    modeoptCOMBOfile (path)file = the path above. folder + index = the N-th prompt file (sorted) in `folder`; wire `index` from a Primitive set to increment and queue the graph N times to render a folder of episodes unattended.
    folderoptSTRINGjoyltx_promptsFolder under ComfyUI/input (or absolute) holding .txt / .json prompt files.
    indexoptINT00–100000In 'folder + index' mode: which FILE (0-based, wraps). For the `block` output it is also which BLOCK inside the chosen file. Wire a Primitive on 'increment' and queue once per item to walk a folder of scripts, or a file of story ideas, unattended.

    Outputs (4)

    NameTypeDescription
    promptsSTRING
    shot_countINT
    nameSTRING
    blockSTRING