ComfyUI Extension
ComfyUI-Handwriting-Video-Replace
Custom ComfyUI node for RunningHub that generates MP4 video from template and overlays handwriting-style text on the red paper area.
hyt131331-creator/ComfyUI-Handwriting-Video-Replace
Nodes—
On cloudLocal install
Stars0
Updated2 months ago
Readme
ComfyUI Handwriting Video Replace
Custom ComfyUI node for RunningHub.
It generates an MP4 video from a fixed template video and overlays handwriting-style text on the red paper area.
Node Names
Main node:
HandwritingVideoReplace
Display name:
Handwriting Video Replace
Environment check node:
HandwritingVideoEnvCheck
Display name:
Handwriting Video Env Check
Category:
Video/Handwriting
Files
__init__.py
nodes.py
renderer.py
requirements.txt
assets/aaa.TTF
templates/fixed_template.mp4
Dependencies
opencv-python
Pillow
numpy
imageio-ffmpeg
The renderer uses OpenCV for frame processing, Pillow for text rendering, and FFmpeg for final MP4/audio muxing.
Test Steps On RunningHub
- Install this custom node repository.
- Search for
Handwriting Video Env Check. - Run the environment check node first.
- Confirm the report shows the required packages and template video are available.
- Search for
Handwriting Video Replace. - Run the main node with default parameters.
The main node returns a local MP4 output path as a string.
Inputs
line_one: first text lineline_two: second text linefont_size: default36font_color: default#000000max_seconds: default23text_seconds: default0fade_seconds: default0.12output_fps: default60text_position:bottom-center,center, ortop-center
Notes
This node uses templates/fixed_template.mp4 as the fixed source material.
No video upload input is required.