ComfyUI > Nodes > WAS Node Suite > Create Morph Image

ComfyUI Node: Create Morph Image

Class Name

Create Morph Image

Category
WAS Suite/Animation
Author
WASasquatch (Account age: 4688days)
Extension
WAS Node Suite
Latest Updated
2024-08-25
Github Stars
1.07K

How to Install WAS Node Suite

Install this extension via the ComfyUI Manager by searching for WAS Node Suite
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter WAS Node Suite 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
  • High-speed GPU machines
  • 200+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 50+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

Create Morph Image Description

Blend two images for smooth transition animations with customization options.

Create Morph Image:

The Create Morph Image node is designed to seamlessly blend two images together, creating a smooth transition effect between them. This node is particularly useful for generating animated GIFs that morph from one image to another, providing a visually appealing transformation. By leveraging this node, you can create engaging visual content that captures the gradual change from one image to another, making it ideal for artistic projects, presentations, and creative animations. The node handles the complex process of image interpolation, ensuring a smooth and natural transition, and offers various customization options to control the duration, frame count, and looping behavior of the resulting animation.

Create Morph Image Input Parameters:

images

This parameter accepts a list of images that you want to morph. The images should be provided in a sequence, as the node will create transitions between each consecutive pair of images in the list. The quality and resolution of the input images will directly affect the final output.

steps

This parameter defines the number of intermediate frames to generate between each pair of images. A higher number of steps will result in a smoother transition but will also increase the processing time and the size of the output file. The default value is 10, with a minimum of 2 and a maximum of 60.

max_size

This parameter sets the maximum size (in pixels) for the output images. If the input images are larger than this size, they will be resized to fit within these dimensions while maintaining their aspect ratio. The default value is 512 pixels.

loop

This parameter specifies the number of times the animation should loop. A value of 0 means the animation will loop indefinitely. This is useful for creating continuous animations. The default value is 0.

still_duration

This parameter determines the duration (in milliseconds) for which each still image (the original images before and after the transition) will be displayed in the animation. The default value is 30 milliseconds.

duration

This parameter sets the duration (in seconds) for each transition frame. A shorter duration will make the transition faster, while a longer duration will slow it down. The default value is 0.1 seconds.

output_path

This parameter specifies the directory where the output GIF file will be saved. If the directory does not exist, it will be created. The default path is ./ComfyUI/output.

filename

This parameter defines the name of the output file without the extension. The default filename is "morph".

filetype

This parameter sets the format of the output file. Currently, the supported format is "GIF".

Create Morph Image Output Parameters:

image

This output parameter returns the list of input images, which can be used for further processing or reference.

output_file

This output parameter provides the path to the generated GIF file. It includes the full path and filename, allowing you to easily locate and use the output file.

filename

This output parameter returns the name of the output file without the extension. This can be useful for logging or further processing.

Create Morph Image Usage Tips:

  • To achieve a smoother transition, increase the steps parameter, but be mindful of the increased processing time and file size.
  • Use the max_size parameter to ensure that your output GIF is not too large, especially if you are working with high-resolution images.
  • Experiment with the duration and still_duration parameters to find the optimal timing for your animation, making it either faster or slower based on your needs.
  • Set the loop parameter to 0 for continuous animations, which can be useful for creating looping GIFs for social media or presentations.

Create Morph Image Common Errors and Solutions:

Unable to save output to <output_file> due to the following error:

  • Explanation: This error occurs when there is an issue with saving the output file, possibly due to incorrect file paths or permissions.
  • Solution: Ensure that the output_path parameter is set to a valid directory and that you have write permissions for that directory. Verify that the directory exists or can be created.

WAS NS Error: Unable to generate GIF due to the following error:

  • Explanation: This error indicates a problem during the GIF generation process, which could be due to issues with the input images or the parameters.
  • Solution: Check the input images for compatibility and ensure that all parameters are set correctly. Verify that the steps, duration, and max_size parameters are within their valid ranges.

Create Morph Image Related Nodes

Go back to the extension to check out more related nodes.
WAS Node Suite
RunComfy

© Copyright 2024 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals.