Nodes/ComfyUI-AusBoss/Text Lines πŸ†Ž
ComfyUI Node

Text Lines πŸ†Ž

Runs what comes after once for each line of your text. Type five prompts, one on each line, and one run makes five pictures. Empty lines are skipped, and a number or bullet at the start of a line can be taken off.

By ausbossΒ·Created 4 months agoΒ·Updated about 5 hours agoΒ· 163
Text Lines πŸ†Ž
    • line
    • number
    • count
    β—„textβ–Ί
    β—„spliteach lineβ–Ί
    β—„remove_numberingtrueβ–Ί
    β—„limit0β–Ί
    CategoryπŸ†Ž AusBoss/Utility

    Inputs (4)

    NameTypeDefaultDescription
    textSTRINGOne line for each run. Type it here, or wire in text another node wrote.
    splitCOMBOeach lineeach line: every line is its own run. blank line: lines stay together, and an empty line starts the next run.
    remove_numberingBOOLEANtrueOn: a number or bullet at the start is taken off, like "1.", "-" or "[prompt 2]". Off: every line stays as written.
    limitINT00–1000The most lines to run. 0 runs them all.

    Outputs (3)

    NameTypeDescription
    lineSTRINGEach line, one at a time. What comes after runs once for each.
    numberINTThe line's place in the list, starting at 1. Add it to a seed to give each run its own.
    countINTHow many lines run.