Nodes/comfyui-AGSoft/🎲AGSoft Seed
ComfyUI Node

🎲AGSoft Seed

Universal seed generator with per-seed loop execution. The seed output is a list of count seeds; downstream runs once per seed. mode controls the cycle: fixed / increment / decrement / randomize (hash). min_seed..max_seed wraps every cycle seed into the allowed range. seed_str gives the same cycle as a comma-separated string for filenames. The frontend shows and keeps the actual used seed in the seed widget. --- Универсальный генератор сидов с запуском генераций по сидам. Выход seed — список из count сидов; даунстрим выполняется по одному сиду. mode управляет циклом: fixed / increment / decrement / randomize (хэш). min_seed..max_seed заворачивает каждый сид цикла в допустимый диапазон. seed_str отдаёт тот же цикл строкой через запятую для имён файлов. Фронтенд показывает и держит в виджете seed фактический использованный сид.

By Art-xmaster·Created about a year ago·Updated about 16 hours ago· 31
🎲AGSoft Seed
    • seed
    • seed_str
    ◄seed0►
    ◄moderandomize►
    ◄offset0►
    ◄count1►
    ◄min_seed-9007199254740991►
    ◄max_seed9007199254740991►
    CategoryAGSoft/Utils

    Inputs (6)

    NameTypeDefaultDescription
    seedINT0-9007199254740991–9007199254740991Base seed of the cycle (float64-safe bounds). The actual seed is written back here after mapping into [min_seed, max_seed]. --- Базовый сид цикла (float64-безопасные границы). После отображения в [min_seed, max_seed] сюда пишется фактический сид.
    modeCOMBOrandomizeHow cycle seeds vary: fixed repeats the base, increment/decrement shift by the iteration index, randomize hashes iterations > 0. --- Как меняются сиды цикла: fixed повторяет базу, increment/decrement сдвигают на индекс итерации, randomize хэширует итерации > 0.
    offsetoptINT0Value added to the base seed before range mapping. --- Значение, добавляемое к базовому сиду до отображения в диапазон.
    countoptINT11–100000Number of generations in the cycle (one run per seed). --- Число генераций в цикле (один запуск на сид).
    min_seedoptINT-9007199254740991-9007199254740991–0Lower allowed bound for cycle seeds; may be negative. Bounds are auto-swapped if min > max. --- Нижняя допустимая граница сидов цикла; может быть отрицательной. Границы меняются местами, если min > max.
    max_seedoptINT90071992547409910–9007199254740991Upper allowed bound for cycle seeds. Bounds are auto-swapped if min > max. --- Верхняя допустимая граница сидов цикла. Границы меняются местами, если min > max.

    Outputs (2)

    NameTypeDescription
    seedINTList of cycle seeds: downstream runs once per seed. First element equals the mapped base seed. --- Список сидов цикла: даунстрим выполняется по одному сиду. Первый элемент равен отображённой базе.
    seed_strSTRINGThe same cycle as a comma-separated string for filenames. --- Тот же цикл строкой через запятую для имён файлов.