██╗ ██╗ ██████╗ ███████╗██╗ ██╗██╗ ███████╗██╗ ██╗ ██╗██╗ ██╗
██║ ██╔╝██╔═══██╗██╔════╝██║ ██║██║ ██╔════╝██║ ██║ ██║╚██╗██╔╝
█████╔╝ ██║ ██║███████╗███████║██║ █████╗ ██║ ██║ ██║ ╚███╔╝
██╔═██╗ ██║ ██║╚════██║██╔══██║██║ ██╔══╝ ██║ ██║ ██║ ██╔██╗
██║ ██╗╚██████╔╝███████║██║ ██║██║ ██║ ███████╗╚██████╔╝██╔╝ ██╗
╚═╝ ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝ ╚══════╝ ╚═════╝ ╚═╝ ╚═╝
░░░░░░░░░░░░░░░░ Motion Pipeline for BFL FLUX models ░░░░░░░░░░░░░░░░░░░░
V2V motion pipeline for FLUX.2 Klein models. Optical flow, temporal blending, color matching. Inspired by Deforum.
ComfyUI: ComfyUI-Koshi-Nodes
genctr_morph_v4.mp4
| Mode | Pipeline | Status |
|---|---|---|
| Video (Light) | Flow → Warp → VAE → BFL Denoise | ✅ Best |
| Video + Motion | + Motion engine schedules | ✅ |
| Pixel | + FeedbackProcessor + VAE roundtrips | ✅ Stable |
| Latent | WarpedNoiseManager (no decode) |
All modes: Diffusers VAE + BFL native denoise (flux2.sampling).
pip install -e ./flux# Diffusers (text2video)
python presets/diffusers/klein_diffusers.py --frames 30 -p "mystical forest"
# Hybrid V2V (recommended)
python presets/hybrid-v2v/klein_v2v_motion.py -i input.mp4 -p "oil painting"
# Native (experimental)
python presets/native/klein_native.py -i input.mp4 -p "watercolor"presets/
├── diffusers/ # Full diffusers pipeline
├── hybrid-v2v/ # Diffusers VAE + BFL denoise
└── native/ # Pure BFL SDK
| Folder | Preset | Features |
|---|---|---|
| diffusers | klein_diffusers |
Text2Video with zoom |
| hybrid-v2v | klein_v2v_motion |
Optical flow V2V |
| hybrid-v2v | klein_v2v_deforum |
+ Motion schedules |
| native | klein_native |
Pure BFL, no diffusers |
-i, --input Input video
-o, --output Output path
-p, --prompt Style prompt
-s, --strength Denoise (0.3-0.5)
--zoom "0:(1.0), 60:(1.05)"
--angle "0:(0), 30:(5)"
--seed Random seed
- Python 3.10+, CUDA 8GB+ (Klein 4B), ffmpeg
Apache 2.0 — Uses FLUX.2 by Black Forest Labs.