ComfyUI Node
AUN Prompt Cycler
Cycle through prompts sequentially, randomly, by range (e.g. '1,2,4-8,11'), or by search. Supports custom titles. Original by tenitsky.
AUN Prompt Cycler
- prompt
- prompt_title
- index
◄cycle_modemanual►
◄manual_index1►
◄range_indices1-10►
◄search_query►
◄custom_promptsMountain:A majestic mountain landscape at sunset with golden light.
City:A futuristic city with flying cars and neon lights.
Forest:A peaceful forest with sunlight filtering through trees.
Coral:An underwater scene with colorful coral reefs and fish.
Cabin:A cozy cabin in the woods during winter snowfall.
Space:A space station orbiting a distant planet.
Marketplace:A bustling marketplace in an ancient city.
Lake:A serene lake with mountains reflected in the water.
Laboratory:A steampunk laboratory with brass gears and steam.
Garden:A magical garden with glowing flowers and butterflies.►
CategoryAUN Nodes/Text
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| cycle_mode | COMBO | manual | 5 options: manual, sequential, random, range, search |
| manual_index | INT | 11–18446744073709550000 | Manually select a prompt by index (1-based). Used when cycle_mode is 'manual'. |
| range_indices | STRING | 1-10 | Comma-separated indices or ranges for range mode (1-based), e.g. '1,2,4-8,11'. |
| search_query | STRING | Search for prompts (case-insensitive). Space = AND (e.g., 'mountain sunset'), comma = OR (e.g., 'mountain, forest'). Combines: 'mountain sunset, forest' matches (mountain AND sunset) OR forest. | |
| custom_promptsopt | STRING | Mountain:A majestic mountain landscape at sunset with golden light. City:A futuristic city with flying cars and neon lights. Forest:A peaceful forest with sunlight filtering through trees. Coral:An underwater scene with colorful coral reefs and fish. Cabin:A cozy cabin in the woods during winter snowfall. Space:A space station orbiting a distant planet. Marketplace:A bustling marketplace in an ancient city. Lake:A serene lake with mountains reflected in the water. Laboratory:A steampunk laboratory with brass gears and steam. Garden:A magical garden with glowing flowers and butterflies. | Enter your own prompts, one per line. Optional title: use 'Title: Prompt text' format. Lines without a title get auto-generated ones (e.g., 'Prompt 1'). |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| prompt | STRING | — |
| prompt_title | STRING | — |
| index | INT | — |