Video tool for smooth Stable Diffusion prompt transitions
Top 78.5% on sourcepulse
This repository provides a Python library for generating high-quality, smooth video transitions between text prompts using Stable Diffusion XL. It's designed for researchers and artists looking to create seamless visual narratives or dynamic animations with minimal computational cost and high user control.
How It Works
Latent blending manipulates intermediate latent representations within the diffusion process. It constructs a "diffusion tree" where branches are dynamically added based on perceptual similarity (LPIPS) to ensure smooth transitions. Key features include cross-feeding latents between branches to preserve structure and a novel approach to suppress motion artifacts, tricking the visual system into perceiving a single continuous image. SDXL Turbo support enables transitions faster than playback.
Quick Start & Requirements
pip install git+https://github.com/lunarring/latentblending
stable-fast
compilation (do_compile=True
).python latentblending/gradio_ui.py
Highlighted Details
Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
1 year ago
Inactive