ComfyUI > Nodes > comfyui-adaptiveprompts > Prompt Sequencer 🎞️

ComfyUI Node: Prompt Sequencer 🎞️

Class Name

PromptSequencer

Category
adaptiveprompts/generation
Author
Alectriciti (Account age: 5005days)
Extension
comfyui-adaptiveprompts
Latest Updated
2025-11-05
Github Stars
0.05K

How to Install comfyui-adaptiveprompts

Install this extension via the ComfyUI Manager by searching for comfyui-adaptiveprompts
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter comfyui-adaptiveprompts in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

Prompt Sequencer 🎞️ Description

Specialized node in ComfyUI for deterministic prompt sequencing through wildcard files and bracket choices, offering structured output modes.

Prompt Sequencer 🎞️:

The PromptSequencer is a specialized node within the ComfyUI framework designed to facilitate the deterministic sequencing of prompts. Its primary function is to iterate through wildcard files and bracket choices in a structured manner, ensuring a consistent and predictable output. Unlike the PromptGenerator, the PromptSequencer does not recursively parse wildcard files, which simplifies the process and reduces complexity. It supports some level of nested brackets within the main input, allowing for more sophisticated prompt structures. The node operates in three distinct modes: FROM_START, FROM_END, and PARALLEL, each offering a different approach to sequencing. This flexibility makes the PromptSequencer a valuable tool for AI artists looking to generate complex and varied prompts systematically, enhancing creativity while maintaining control over the output.

Prompt Sequencer 🎞️ Input Parameters:

prompt

The prompt parameter is a string input that serves as the base text for sequencing. It can include wildcard files and bracket choices, which the node will process to generate the final sequence. This parameter is crucial as it defines the content and structure of the output, allowing for creative and dynamic prompt generation.

seed

The seed parameter is an integer that ensures the deterministic nature of the sequencing process. By providing a specific seed value, you can guarantee that the same input will always produce the same output, which is essential for reproducibility. The default value is typically 0, but it can be set to any integer within the allowable range.

mode

The mode parameter determines the sequencing strategy used by the node. It offers three options: FROM_START, FROM_END, and PARALLEL. Each mode provides a different method of iterating through the prompt components, allowing you to tailor the sequencing process to your specific needs. The choice of mode can significantly impact the final output, making it a critical parameter for achieving the desired results.

category

The category parameter is optional and allows you to specify a particular category for the sequencing process. This can be useful for organizing and managing different types of prompts, ensuring that the node processes them in a contextually appropriate manner.

Prompt Sequencer 🎞️ Output Parameters:

out

The out parameter represents the final output of the sequencing process. It is a structured sequence of the input prompt, processed according to the specified mode and seed. This output is essential for generating consistent and creative prompts, providing a reliable foundation for further artistic exploration.

parts

The parts parameter is a list that contains the individual components of the processed prompt. Each part is either a literal text segment or a slot with a list of items, offering a detailed breakdown of the prompt structure. This output is valuable for understanding and analyzing the composition of the generated sequence.

Prompt Sequencer 🎞️ Usage Tips:

  • To achieve consistent results, always use the same seed value when you want to reproduce a specific sequence of prompts.
  • Experiment with different modes (FROM_START, FROM_END, PARALLEL) to discover which sequencing strategy best suits your creative needs.
  • Utilize the category parameter to organize prompts into thematic groups, making it easier to manage and sequence related content.

Prompt Sequencer 🎞️ Common Errors and Solutions:

Invalid mode selection

  • Explanation: The mode parameter must be one of the predefined options: FROM_START, FROM_END, or PARALLEL.
  • Solution: Ensure that the mode parameter is set to a valid option. Double-check the spelling and capitalization of the mode value.

Seed value out of range

  • Explanation: The seed parameter must be an integer within the allowable range.
  • Solution: Verify that the seed value is a valid integer and falls within the acceptable range. Adjust the value if necessary.

Unrecognized wildcard or bracket syntax

  • Explanation: The prompt contains syntax that the node cannot parse, such as incorrect wildcard or bracket usage.
  • Solution: Review the prompt for any syntax errors, ensuring that wildcards and brackets are used correctly and consistently.

Prompt Sequencer 🎞️ Related Nodes

Go back to the extension to check out more related nodes.
comfyui-adaptiveprompts
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.