Downloads · 30 days
0
pxlpshr/ComfyUI-SD-CN-Animation
ComfyUI-SD-CN-Animation is a image-to-video model from pxlpshr. Use it for the image-to-video task on the model card, and read the license before you ship it in a product. It is set up for comfyui. The card lists the license as mit.
Pre-trained model weights for ComfyUI-SD-CN-Animation, a ComfyUI custom node pack for temporally coherent video generation and stylization using optical flow.
Downloads · 30 days
0
Access
Public
Updated Oct 4, 2026
Repo size
29.5 MB
Likes
1
Public
Click a slice to open those files.
.pth29.5 MB · 100%
From the Hugging Face model README
Pre-trained model weights for ComfyUI-SD-CN-Animation, a ComfyUI custom node pack for temporally coherent video generation and stylization using optical flow.
| File | Size | Used By | Description |
|---|---|---|---|
FloweR_0.1.2.pth | ~8 MB | Txt2Vid | FloweR optical flow reconstruction model. Predicts motion, occlusion, and next frame from 4 previous frames. |
raft-things.pth | ~20 MB | Vid2Vid | RAFT optical flow estimation model. Computes dense bidirectional optical flow between video frame pairs. |
If you install the ComfyUI-SD-CN-Animation node pack, these weights are downloaded automatically the first time ComfyUI starts with the pack installed. No manual setup required.
If you prefer to download manually, place the files in your ComfyUI models directory:
ComfyUI/models/FloweR/FloweR_0.1.2.pth
ComfyUI/models/RAFT/raft-things.pth
Or via CLI (run from the folder that contains ComfyUI/):
hf download pxlpshr/ComfyUI-SD-CN-Animation models/FloweR/FloweR_0.1.2.pth models/RAFT/raft-things.pth --local-dir ComfyUI
The files live under models/ in this repo, so --local-dir ComfyUI places them at the paths above.
Generate video sequences from a text prompt. FloweR drives the motion by predicting optical flow and the next frame, while Stable Diffusion adds detail and style through a two-pass sampling pipeline (inpaint + refine). Histogram matching prevents color drift.
Stylize existing videos with any SD checkpoint. RAFT computes real optical flow between input frames, warps the previous stylized frame forward, and uses occlusion detection to determine what needs regenerating. Maintains temporal coherence across the full sequence.
Both modes support ControlNet and IPAdapter for additional control over style and structure.