Extensions/UncruchTextMotion
ComfyUI Extension

UncruchTextMotion

A ComfyUI custom node that adds animated title text to videos, one character at a time. Japanese titles work. Free version: POP-IN motion, with sample workflows.

By UncruchGraphics·Created 3 days ago·Updated about 10 hours ago· 0
UncruchGraphics/UncruchTextMotion
Nodes—
On cloudLocal install
Stars0
Updatedabout 10 hours ago
Readme

TextMotion (Free Version)

A ComfyUI custom node that adds title text to a video, moving one character at a time.

Requirements

  • ComfyUI (tested versions: 0.46.1, 0.46.4)
  • This node takes video frames (a set of images) as input. It works both on videos you have already generated and together with video generation.

Installation

  1. Unzip UncruchTextMotion_Free_v1.0.zip (you will get a folder named "UncruchTextMotion").
  2. Put the "UncruchTextMotion" folder into ComfyUI's custom_nodes folder. Inside custom_nodes, just add the "UncruchTextMotion" folder as it is. How to find it: in the Comfy Desktop app, open the ComfyUI page from the home screen menu, click "..." in the top right, then "Show in Explorer". The folder where ComfyUI is installed will open. Open the "ComfyUI" folder inside it, and you will find the "custom_nodes" folder. The direct path is C:\Users\(your user name)\AppData\Local\Comfy-Desktop\ComfyUI-Installs\ComfyUI\ComfyUI\custom_nodes. AppData is a hidden folder, so if you cannot find it, use "Show in Explorer".
  3. If ComfyUI is running, quit it completely and start it again. If it is not running yet, just go on to the next step.
  4. Search for "Text Motion" in the node search, and "Text Motion Composite" will appear.

How to use

  1. Connect the video frames (images) to the "images" input. In workflow B, the "images" output of the "Get Video Components" node is connected here.
  2. Type the text you want to show into "text".
  3. Choose a motion with "motion" and a strength with "strength". You can also adjust other settings as you like, such as the text size, color, position, letter spacing, shadow, and outline.
  4. There are 3 outputs.
    • Composited: the video with the text on it (use this one normally)
    • Text Only: the text only (the background is transparent)
    • Preview: the motion check only, on a gray background
  5. Sample workflows (A: integrated / B: post-attach) are in the same place. B is for adding text to a video you already have. Right after opening B, the "Load Video" node on the left shows a red error, "Failed to load video / Invalid URL". This is not a problem. Choose your own video with "Select video..." and the error will go away. If the video you choose is long, the node may stop because of memory. For your first try, use a short video of a few seconds.

About the fonts

  • Fonts that work right away (Noto Sans CJK JP Thin / Regular / Black) are included. These fonts may be used commercially and redistributed.
  • You can also choose fonts installed on your own PC. Please check the terms of those fonts yourself.

Safety

  • This node does not connect to the internet. The program contains no code for communication at all.
  • The only files it reads are the motion settings and the fonts inside its own folder. It does not read or write files anywhere else.
  • The code is a single Python file (text_motion.py). If you have the skills, you can read it before installing.
  • The fonts are the official Noto Sans CJK JP, and the license text (OFL.txt in the fonts folder) is included.
  • Maker: Uncruch Graphics
  • This software was developed with the assistance of generative AI. All code has been reviewed and tested by the maker.

Notes

  • When you try it for the first time, use a short video (a few seconds). Long or large videos use a lot of memory. As a guide, on a PC with 16 GB of memory, Full HD (1920×1080) videos are safe only up to a few seconds. If there is not enough memory, the node stops with a "video is too large" error before it starts. In that case, cut the video shorter or lower the resolution, and try again.
  • When you save a video, make the frame width and height even numbers. (Odd numbers cause an error when saving.)
  • If you turn "Text Only" into a video, the transparent parts become black. If you want to keep the transparency, export as a PNG sequence.