Visit ComfyUI Online for ready-to-use ComfyUI environment
Encode text prompts with optional timestamps for timed conditioning in video processing, enabling dynamic and time-sensitive text-based conditioning.
The FramePackTimestampedTextEncode
node is designed to encode text prompts with optional timestamps for timed conditioning in video processing. This node allows you to specify when certain prompts should be applied during a video, using a simple timestamp format. By using this node, you can create dynamic and time-sensitive text-based conditioning for your video content, enhancing the creative possibilities and control over the visual output. The node automatically handles gaps between specified timestamps by filling them with the preceding prompt, ensuring a seamless transition throughout the video. It also aligns timestamps to internal section boundaries based on a specified latent window size, providing a structured and efficient way to manage prompt timing. This functionality is particularly beneficial for AI artists looking to create complex, time-based visual narratives or effects in their video projects.
The clip
parameter represents the model or tool used for encoding the text prompts. It is essential for processing the text into a format that can be used for conditioning the video. This parameter does not have specific minimum, maximum, or default values as it depends on the model being used.
The text
parameter is the main input for the text prompts you wish to encode. It can include timestamps in the format [Xs: prompt]
or [Xs-Ys: prompt]
, where X
and Y
are times in seconds. This allows you to specify when each prompt should be applied during the video. There are no specific constraints on the text content, but it should be formatted correctly to ensure proper encoding.
The negative_text
parameter allows you to specify text prompts that should be avoided or minimized in the video. This can be useful for guiding the model away from certain concepts or styles. Like the text
parameter, it does not have specific constraints but should be formatted correctly for effective encoding.
The total_second_length
parameter defines the overall duration of the video in seconds. This is crucial for calculating the timing of each prompt and ensuring they are applied at the correct moments. There are no specific minimum or maximum values, but it should match the actual length of the video being processed.
The latent_window_size
parameter specifies the size of the processing window used by the sampler. This affects how timestamps are aligned to internal section boundaries, influencing the precision and smoothness of prompt transitions. There are no specific constraints, but it should be chosen based on the desired level of detail and performance.
The prompt_blend_sections
parameter determines the number of sections over which prompts are smoothly blended when they change. A higher value results in a longer, more gradual transition, which can be useful for creating smoother visual effects. There are no specific constraints, but it should be set according to the desired blending effect.
The timed_data
output is a dictionary containing the encoded text prompts and their associated timing information. It includes the timed conditioning sections, total video duration, latent window size, and prompt blend sections. This output is crucial for applying the encoded prompts to the video at the correct times, ensuring the desired visual effects are achieved.
The negative
output provides the encoded negative text prompts, which are used to guide the model away from certain concepts or styles. This output is important for refining the video's content and ensuring it aligns with the desired artistic vision.
latent_window_size
and prompt_blend_sections
parameters to fine-tune the smoothness and precision of prompt transitions.negative_text
parameter to steer the model away from unwanted concepts, enhancing the quality of your video output.RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Playground, enabling artists to harness the latest AI tools to create incredible art.