ComfyUI Node: TI2V_API

Class Name

TI2V_API

Category
StepVideo
Author
stepfun-ai (Account age: 238days)
Extension
ComfyUI-StepVideo
Latest Updated
2025-03-27
Github Stars
0.03K

How to Install ComfyUI-StepVideo

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

TI2V_API Description

Convert text inputs to video outputs using advanced AI models for dynamic visual content creation in StepVideo category.

TI2V_API:

The TI2V_API node is designed to facilitate the conversion of text inputs into video outputs, leveraging advanced AI models to generate dynamic visual content from textual descriptions. This node is part of the StepVideo category, which focuses on creating video sequences through a series of computational steps. The primary goal of the TI2V_API node is to enable users to input a text prompt and receive a corresponding video that visually represents the described scene or action. This capability is particularly beneficial for AI artists and creators who wish to explore the intersection of text and video, allowing for the creation of unique and engaging visual narratives. By utilizing this node, you can transform your creative ideas into video form, providing a powerful tool for storytelling and artistic expression.

TI2V_API Input Parameters:

image_input

This parameter represents the initial image input that serves as a starting point for the video generation process. It is crucial for setting the visual context and style of the resulting video. The image should be provided in a format compatible with the node's processing capabilities.

remote_server_url

This parameter specifies the URL of the remote server where the necessary models and resources are hosted. It is essential for accessing the computational resources required for video generation. Ensure that the URL is correct and accessible to avoid connectivity issues.

model_dir

This parameter indicates the directory path where the AI models are stored locally. It is important for ensuring that the node can access the appropriate models for processing the input data. The directory should be correctly set up and contain all necessary model files.

script_dir

This parameter defines the directory path where the script and related resources are located. It is used to organize the workflow and manage the output files. Ensure that the directory is writable and has sufficient space for storing the generated video files.

infer_steps

This parameter determines the number of inference steps to be performed during the video generation process. It impacts the quality and detail of the resulting video, with higher values typically leading to more refined outputs. The default value should be set according to the desired balance between quality and processing time.

cfg_scale

This parameter controls the configuration scale, influencing the strength of the guidance provided to the model during video generation. It affects how closely the output video adheres to the input text prompt. Adjust this parameter to achieve the desired level of adherence to the prompt.

time_shift

This parameter specifies the time shift applied during video generation, affecting the temporal dynamics of the output video. It can be used to create effects such as slow motion or time-lapse. Adjust the value to achieve the desired temporal effect in the video.

num_frames

This parameter defines the number of frames to be generated in the output video. It directly impacts the duration and smoothness of the video. Choose a value that aligns with the intended length and quality of the video.

motion_score

This parameter influences the motion dynamics in the generated video, affecting how movement is represented. It can be adjusted to enhance or reduce the perceived motion in the video, depending on the desired artistic effect.

text_prompt

This parameter is the textual description that guides the video generation process. It serves as the primary input for defining the content and theme of the output video. Ensure that the text prompt is clear and descriptive to achieve the best results.

TI2V_API Output Parameters:

video_tensor

The output of the TI2V_API node is a video tensor, which is a multi-dimensional array representing the generated video. The tensor is formatted as (T, H, W, C), where T is the number of frames, H is the height, W is the width, and C is the number of color channels. This output is crucial for further processing or playback, providing a visual representation of the input text prompt.

TI2V_API Usage Tips:

  • Ensure that the image_input is of high quality to set a strong visual foundation for the video generation process.
  • Use a clear and descriptive text_prompt to guide the model effectively and achieve the desired video output.
  • Adjust the infer_steps and cfg_scale parameters to find the right balance between video quality and processing time.
  • Experiment with the motion_score and time_shift parameters to create unique temporal effects and motion dynamics in your videos.

TI2V_API Common Errors and Solutions:

"ConnectionError: Failed to connect to remote server"

  • Explanation: This error occurs when the node is unable to connect to the specified remote_server_url.
  • Solution: Verify that the URL is correct and that there are no network issues preventing access to the server.

"FileNotFoundError: Model directory not found"

  • Explanation: This error indicates that the specified model_dir does not exist or is incorrectly set.
  • Solution: Ensure that the model directory path is correct and that all necessary model files are present.

"ValueError: Invalid number of frames"

  • Explanation: This error occurs when the num_frames parameter is set to a non-positive value.
  • Solution: Set the num_frames parameter to a positive integer that reflects the desired video length.

"RuntimeError: Insufficient disk space"

  • Explanation: This error indicates that there is not enough disk space in the script_dir to save the output video.
  • Solution: Free up disk space or specify a different directory with sufficient space for storing the video files.

TI2V_API Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-StepVideo
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 Playground, enabling artists to harness the latest AI tools to create incredible art.