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 > ComfyUI-SCAIL2-Easy > SCAIL-2 Fit Video

ComfyUI Node: SCAIL-2 Fit Video

Class Name

SCAIL2FitVideo

Category
SCAIL-2/Simple
Author
jieg9341-lab (Account age: 285days)
Extension
ComfyUI-SCAIL2-Easy
Latest Updated
2026-06-15
Github Stars
0.03K

How to Install ComfyUI-SCAIL2-Easy

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

SCAIL-2 Fit Video Description

Video resizing node for AI artists, preserving aspect ratio and adjusting to specified resolutions efficiently.

SCAIL-2 Fit Video:

The SCAIL2FitVideo node is designed to adjust the dimensions of a video to fit a specified resolution while preserving the aspect ratio. This node is particularly useful for AI artists who need to ensure their video content meets specific size requirements without distorting the original aspect ratio. By leveraging this node, you can seamlessly resize videos to match predefined resolution presets or custom dimensions, making it an essential tool for preparing video content for various platforms or further processing. The node's primary function is to resize the input video to the nearest multiple of 32, ensuring compatibility with many video processing frameworks and maintaining visual quality.

SCAIL-2 Fit Video Input Parameters:

video

This parameter represents the input video that you want to resize. It is expected to be in the form of an image tensor, which the node will process to fit the desired resolution.

resolution

The resolution parameter allows you to select from a list of predefined resolution presets, with the default being "512p". This option simplifies the process of resizing by providing common resolution standards, ensuring your video fits typical display requirements.

custom_width

The custom_width parameter lets you specify a custom width for the video if the predefined resolutions do not meet your needs. The width can range from a minimum of 32 to a maximum of 4096 pixels, with a default value of 832 pixels. This flexibility allows you to tailor the video size to specific requirements while maintaining the aspect ratio.

custom_height

Similar to custom_width, the custom_height parameter allows you to define a custom height for the video. It also ranges from 32 to 4096 pixels, with a default of 480 pixels. This parameter works in conjunction with custom_width to provide precise control over the video's dimensions.

SCAIL-2 Fit Video Output Parameters:

video

The output video is the resized version of the input video, adjusted to fit the specified resolution or custom dimensions while preserving the aspect ratio. This ensures the video is ready for further processing or display.

width

This output provides the final width of the resized video. It reflects the adjustments made to fit the specified resolution or custom dimensions, giving you insight into the video's new size.

height

Similar to width, the height output indicates the final height of the resized video. It helps you understand the adjustments made to achieve the desired resolution or custom dimensions.

summary

The summary output is a JSON-formatted string that provides a detailed overview of the resizing process. It includes information such as the original and target dimensions, the resolution used, and the method of resizing. This summary is valuable for documentation and understanding the changes applied to the video.

SCAIL-2 Fit Video Usage Tips:

  • To maintain the best visual quality, choose a resolution preset that closely matches your target display or platform requirements.
  • Use custom dimensions when you need precise control over the video's size, ensuring the width and height are multiples of 32 for optimal processing.

SCAIL-2 Fit Video Common Errors and Solutions:

Video tensor shape mismatch

  • Explanation: The input video tensor does not match the expected shape or dimensions.
  • Solution: Ensure the input video is correctly formatted as an image tensor and matches the expected input dimensions.

Invalid custom width or height

  • Explanation: The specified custom width or height is outside the allowed range.
  • Solution: Verify that the custom width and height are within the range of 32 to 4096 pixels and adjust them accordingly.

Resolution preset not found

  • Explanation: The selected resolution preset is not available in the list of predefined options.
  • Solution: Double-check the resolution preset name and ensure it matches one of the available options. If necessary, use custom dimensions instead.

SCAIL-2 Fit Video Related Nodes

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

SCAIL-2 Fit Video