Save 4 hours! We auto-setup your workflow! Free!

Drop your workflow.json — we handle every dependency, custom node, and model. Just open the link and run.

Auto-Setup Workflow Json (Free) Now!
ComfyUI > Nodes > MiniMax H3 Edit > Text Encode H3 Edit / Generate

ComfyUI Node: Text Encode H3 Edit / Generate

Class Name

TextEncodeH3Edit

Category
MiniMax H3/Edit
Author
ethanfel (Account age: 3434days)
Extension
MiniMax H3 Edit
Latest Updated
2026-09-10
Github Stars
0.03K

How to Install MiniMax H3 Edit

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

Text Encode H3 Edit / Generate Description

Facilitates encoding text prompts for H3 video editing, transforming descriptions into latent space for video generation.

Text Encode H3 Edit / Generate:

The TextEncodeH3Edit node is designed to facilitate the encoding of text prompts into a format suitable for H3 video editing. This node plays a crucial role in transforming textual descriptions into a latent space representation that can be used to guide video generation and editing processes. By leveraging advanced encoding techniques, it allows you to input a variety of parameters that influence the final output, such as the semantic resolution and the role of the primary image. The node is particularly beneficial for AI artists looking to integrate textual elements into their video projects, providing a seamless way to convert descriptive prompts into visual content. Its capabilities extend to handling complex scenarios, such as incorporating reference images and adjusting quality profiles, making it a versatile tool in the creative workflow.

Text Encode H3 Edit / Generate Input Parameters:

clip

The clip parameter represents the video clip that is being processed. It is essential for defining the context in which the text encoding will be applied. This parameter does not have specific minimum or maximum values as it depends on the video content being used.

vae

The vae parameter refers to the Variational Autoencoder used in the encoding process. It plays a critical role in compressing and reconstructing the video data, ensuring that the encoded text aligns with the visual elements of the video. The choice of VAE can significantly impact the quality and fidelity of the output.

source_image

The source_image parameter is a tensor representing the primary image used as a reference in the encoding process. This image serves as a visual anchor, helping to guide the transformation of the text prompt into a coherent visual representation. The dimensions of the tensor should match the desired output resolution.

prompt

The prompt parameter is a string containing the textual description that you wish to encode. This is the core input that drives the creative direction of the video edit, allowing you to specify themes, styles, or specific elements to be included in the final output.

reference_mode

The reference_mode parameter determines how reference images are utilized during encoding. It influences the degree to which the reference image impacts the final output, offering options for strict adherence or more flexible interpretations.

width

The width parameter specifies the width of the output video in pixels. It is crucial for defining the aspect ratio and resolution of the final product, ensuring that it meets the desired specifications for display or distribution.

height

The height parameter defines the height of the output video in pixels. Like the width, it is essential for setting the resolution and aspect ratio, impacting the overall quality and presentation of the video.

source_fit

The source_fit parameter controls how the source image is fitted into the video frame. It determines whether the image is stretched, cropped, or padded to match the frame dimensions, affecting the visual composition of the output.

prompt_mode

The prompt_mode parameter specifies the mode in which the text prompt is interpreted. This can include options for literal, abstract, or thematic interpretations, influencing how closely the output aligns with the original text.

semantic_resolution

The semantic_resolution parameter defines the level of detail and complexity in the encoded representation. Higher resolutions allow for more intricate and nuanced interpretations of the text prompt, while lower resolutions may result in simpler outputs.

native_reference_size

The native_reference_size parameter indicates the original size of the reference image. This information is used to maintain the integrity of the image when scaling or transforming it during the encoding process.

primary_image_role

The primary_image_role parameter specifies the role of the primary image in the encoding process. It can be set to act as an anchor, guide, or supplementary element, influencing how the image is integrated into the final output.

reference_image

The reference_image parameter is an optional tensor that provides additional visual context for the encoding process. It can be used to incorporate specific visual elements or styles into the video, enhancing the richness and depth of the output.

quality_profile

The quality_profile parameter determines the overall quality settings for the encoding process. It offers options for balancing performance and fidelity, allowing you to prioritize speed or visual quality based on your needs.

reference_stack

The reference_stack parameter is an optional tuple of dictionaries that provides a stack of reference images and their associated metadata. This allows for complex layering and blending of multiple visual elements in the encoding process.

coverage_views

The coverage_views parameter specifies the number of views or angles to be considered during encoding. This is particularly useful for creating dynamic and engaging video content that captures multiple perspectives.

coverage_arc_degrees

The coverage_arc_degrees parameter defines the arc or range of angles covered during encoding. It influences the scope and breadth of the visual content, allowing for wide or narrow coverage based on the desired effect.

coverage_direction

The coverage_direction parameter determines the direction in which the coverage arc is applied. Options include clockwise or counterclockwise, affecting the flow and movement of the visual content.

coverage_hold_frames

The coverage_hold_frames parameter specifies the number of frames to hold each view during encoding. This impacts the pacing and rhythm of the video, allowing for smooth transitions or more abrupt changes.

coverage_loop_closure

The coverage_loop_closure parameter is a boolean that indicates whether the coverage should loop back to the starting point. This is useful for creating seamless loops or continuous video content.

options

The options parameter is an optional dictionary that allows for additional customization and configuration of the encoding process. It provides flexibility to adjust various settings and parameters to suit specific needs.

compiled_prompt

The compiled_prompt parameter is an optional string that contains a pre-compiled version of the text prompt. This can be used to streamline the encoding process, reducing the need for on-the-fly compilation.

Text Encode H3 Edit / Generate Output Parameters:

image

The image output parameter represents the final visual content generated from the encoded text prompt. It is a tensor that captures the essence of the input description, transformed into a coherent and visually appealing video frame.

info

The info output parameter provides a string containing metadata and details about the encoding process. This includes information on the quality, resolution, and any specific settings or adjustments made during encoding, offering valuable insights into the final output.

Text Encode H3 Edit / Generate Usage Tips:

  • Experiment with different prompt_mode settings to see how they affect the interpretation of your text prompt, allowing for creative exploration and discovery.
  • Utilize the reference_image parameter to incorporate specific visual styles or elements into your video, enhancing the richness and depth of the final output.
  • Adjust the semantic_resolution to balance detail and complexity with processing time, ensuring that the output meets your quality expectations without unnecessary delays.

Text Encode H3 Edit / Generate Common Errors and Solutions:

"Invalid tensor shape for source_image"

  • Explanation: This error occurs when the dimensions of the source_image tensor do not match the expected input size for the encoding process.
  • Solution: Ensure that the source_image tensor is correctly sized according to the desired output resolution, and adjust its dimensions if necessary.

"Unsupported VAE configuration"

  • Explanation: This error indicates that the selected VAE is not compatible with the current encoding settings or parameters.
  • Solution: Verify that the VAE configuration matches the requirements of the encoding process, and consider selecting a different VAE if compatibility issues persist.

"Prompt compilation failed"

  • Explanation: This error arises when the text prompt cannot be successfully compiled into a format suitable for encoding.
  • Solution: Review the text prompt for any syntax errors or unsupported characters, and simplify or rephrase the prompt if necessary to ensure successful compilation.

Text Encode H3 Edit / Generate Related Nodes

Go back to the extension to check out more related nodes.
MiniMax H3 Edit
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.

Text Encode H3 Edit / Generate