Deforum is an open-source extension for Stable Diffusion that enables keyframe-based animation and camera movement control in AI-generated video sequences. It allows users to define parameters such as zoom, rotation, translation, and prompt evolution across a timeline, producing animated sequences where the image content morphs and transforms according to user-specified motion paths and prompt schedules.
The tool works by generating each frame individually while applying interpolated transformations and prompt variations between keyframes, creating the appearance of camera movement and content evolution over time. Users can specify complex multi-parameter animations including 3D camera motion, perspective shifts, and prompt strength modulation, giving significant creative control over the visual narrative. Deforum became popular in the AI art community for producing psychedelic, surreal, and abstract animated sequences that explore the latent space of diffusion models in ways not possible with standard image generation workflows.
While more advanced dedicated video generation models have since emerged, Deforum remains relevant for creators working with Stable Diffusion-based workflows who need fine-grained control over animation parameters and want to produce experimental, stylized video content. Its open-source nature and extensive customization options make it a valuable tool for technical users comfortable working with code-based creative workflows.