ComfyUI > Nodes > ComfyUI-FramePackWrapper_PlusOne > FramePack Text Encode (Enhanced)

ComfyUI Node: FramePack Text Encode (Enhanced)

Class Name

FramePackTimestampedTextEncode

Category
FramePackWrapper/experimental
Author
xhiroga (Account age: 3803days)
Extension
ComfyUI-FramePackWrapper_PlusOne
Latest Updated
2025-08-08
Github Stars
0.04K

How to Install ComfyUI-FramePackWrapper_PlusOne

Install this extension via the ComfyUI Manager by searching for ComfyUI-FramePackWrapper_PlusOne
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-FramePackWrapper_PlusOne 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

FramePack Text Encode (Enhanced) Description

Encode text prompts with optional timestamps for timed conditioning in video processing, enabling dynamic content creation.

FramePack Text Encode (Enhanced):

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 format like [Xs: prompt] or [Xs-Ys: prompt], where X and Y are times in seconds. This feature is particularly useful for creating dynamic and contextually relevant content in videos, as it enables the application of different prompts at specific times. The node automatically fills gaps between specified timestamps, typically using the preceding prompt, ensuring a seamless transition throughout the video. It aligns timestamps to internal section boundaries based on a specified latent_window_size, which helps in maintaining synchronization with the video's processing. The main goal of this node is to provide a flexible and efficient way to manage and encode text prompts for video content, enhancing the creative possibilities for AI artists.

FramePack Text Encode (Enhanced) Input Parameters:

clip

The clip parameter represents the model or tool used for tokenizing and encoding the text prompts. It is essential for converting text into a format that can be processed and applied as conditioning in the video. This parameter does not have a specific range or default value, as it depends on the implementation and the model being used.

text

The text parameter contains the main text prompts that you want to encode and apply to the video. These prompts can include timestamps to specify when they should be active. The text should be formatted correctly to ensure proper encoding and application.

negative_text

The negative_text parameter allows you to specify text prompts that should be avoided or minimized during the video. This can be useful for creating contrast or emphasizing certain aspects by reducing the influence of specific prompts. If not provided, the node attempts to create a default negative conditioning.

total_second_length

The total_second_length parameter defines the overall duration of the video in seconds. It is crucial for calculating the timing and alignment of the text prompts throughout the video. This parameter ensures that the prompts are applied correctly over the entire video length.

latent_window_size

The latent_window_size parameter specifies the processing window size used by the sampler to align timestamps. It helps in determining the internal section boundaries for applying the text prompts, ensuring that they are synchronized with the video's processing.

prompt_blend_sections

The prompt_blend_sections parameter determines the number of sections over which to smoothly blend between changing prompts. A higher value results in a longer, more gradual blend, which can be useful for creating smoother visual transitions when timed prompts change.

FramePack Text Encode (Enhanced) Output Parameters:

timed_data

The timed_data output is a dictionary containing the encoded text prompts and their timing information. It includes the timed conditioning sections, total duration, latent window size, and prompt blend sections. This output is essential for applying the encoded prompts to the video at the specified times, ensuring that the desired effects are achieved.

negative

The negative output provides the encoded negative text prompts, which are used to minimize or avoid certain influences during the video. This output is important for creating contrast and emphasizing specific aspects by reducing the impact of unwanted prompts.

FramePack Text Encode (Enhanced) Usage Tips:

  • Ensure that your text prompts are correctly formatted with timestamps to achieve the desired timing and effects in your video.
  • Use the prompt_blend_sections parameter to control the smoothness of transitions between different prompts, adjusting it based on the visual effect you want to achieve.
  • Verify that the total_second_length accurately reflects the video's duration to ensure proper alignment and application of the text prompts.

FramePack Text Encode (Enhanced) Common Errors and Solutions:

FramePack Text Encode (Enhanced): Warning - No valid timed sections found. Creating a default empty section.

  • Explanation: This warning occurs when no valid timed sections are found in the provided text prompts.
  • Solution: Check the formatting of your text prompts to ensure they include valid timestamps. If necessary, provide a default prompt to avoid this warning.

FramePack Text Encode (Enhanced): Error - Cannot create empty negative conditioning, no positive prompts found and fallback failed.

  • Explanation: This error indicates that the node could not create a negative conditioning because no positive prompts were found, and the fallback mechanism failed.
  • Solution: Ensure that you provide at least one valid positive prompt. If using negative prompts, verify that they are correctly formatted and that a fallback mechanism is in place.

FramePack Text Encode (Enhanced) Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-FramePackWrapper_PlusOne
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.