Nodes/AUN ComfyUI Nodes/AUN Prompt Cycler
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.

By loz2754·Created 7 months ago·Updated about a month ago· 4
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)

    NameTypeDefaultDescription
    cycle_modeCOMBOmanual5 options: manual, sequential, random, range, search
    manual_indexINT11–18446744073709550000Manually select a prompt by index (1-based). Used when cycle_mode is 'manual'.
    range_indicesSTRING1-10Comma-separated indices or ranges for range mode (1-based), e.g. '1,2,4-8,11'.
    search_querySTRINGSearch 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_promptsoptSTRINGMountain: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)

    NameTypeDescription
    promptSTRING
    prompt_titleSTRING
    indexINT