ComfyUI Node
Random Asset Selector
Randomly selects `count` assets from `asset_list` using a fixed `seed` for reproducibility. Inputs: asset_list (STRING): A JSON array of strings representing file paths. seed (INT): The random seed for reproducibility. count (INT): The number of assets to select. Outputs: selected_assets (STRING): A JSON array of strings representing the selected file paths.
Random Asset Selector
- selected_assets
◄asset_list[]►
◄seed0►
◄count1►
CategoryParametric/Data
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| asset_list | STRING | [] | Asset list. Default []. |
| seed | INT | 0-2147483648–2147483647 | Random seed: the same seed repeats the same result. From -2.14748e+09 to 2.14748e+09. Default 0. |
| count | INT | 10–10000 | Count. From 0 to 10000. Default 1. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| selected_assets | STRING | — |