ComfyUI Node

Number OutputList

Creates an OutputList with a range of numeric values. Uses [numpy.linspace](https://numpy.org/doc/stable/reference/generated/numpy.linspace.html) internally, because it works more reliably with floating-point values. If you want to define number lists with arbitrary steps instead check out the JSON OutputList and define an array, e.g. `[1, 42, 123]`. `int`, `float`, `string` and `index` use(s) `is_output_list=True` (indicated by the symbol `𝌠`) and will be processed sequentially by corresponding nodes.

By geroldmeisinger·Created 9 months ago·Updated 6 months ago· 169
Number OutputList
    • int
    • float
    • string
    • index
    • count
    start0.00
    stop10.00
    num10
    endpointfalse
    CategoryUtility

    Inputs (4)

    NameTypeDefaultDescription
    startFLOAT0.00Start value to generate the range from.
    stopFLOAT10.00End value. If `endpoint=include` then this number is included in the list.
    numINT10The number of items in the list (don't confuse it with a `step`).
    endpointBOOLEANfalseDecides if the `stop` value should be included or excluded in the items.

    Outputs (5)

    NameTypeDescription
    intINTThe value converted to int (rounded down/floored). use(s) `is_output_list=True` (indicated by the symbol `𝌠`) and will be processed sequentially by corresponding nodes.
    floatFLOATThe value as a float. use(s) `is_output_list=True` (indicated by the symbol `𝌠`) and will be processed sequentially by corresponding nodes.
    stringSTRINGThe value as a float converted to string. use(s) `is_output_list=True` (indicated by the symbol `𝌠`) and will be processed sequentially by corresponding nodes.
    indexINTRange of 0..count which can be used as an index. use(s) `is_output_list=True` (indicated by the symbol `𝌠`) and will be processed sequentially by corresponding nodes.
    countINTSame as `num`.