VideoTimeTravel / README.md
aabiro's picture
Upload 4 files
c7dd3e8 verified
|
Raw History Blame Contribute Delete
2.27 kB

A newer version of the Gradio SDK is available: 6.32.0

Upgrade
metadata
title: VideoTimeTravel
emoji: 🕰️
colorFrom: indigo
colorTo: purple
sdk: gradio
app_file: app.py
pinned: false
license: mit
short_description: Re-age faces in video - younger or older, kept consistent.

VideoTimeTravel

Temporally consistent face re-aging in video, using diffusion-based editing and optical flow warping. Make people look younger or older in a video while preserving identity and coherence across frames.

This is an implementation of the paper "VideoTimeTravel: High-Fidelity Face Re-Aging Diffusion Models for Production Video" (Kim, Nam, Seo - The Visual Computer, 2026), by Aaryn Biro. The same pipeline is a feature of PixelSpark and runs standalone as the video-time-travel project.

How it works

  1. Keyframe selection - fixed intervals plus scene boundaries
  2. Age estimation - MiVOLO estimates source age and gender automatically (overridable in the UI)
  3. DDIM inversion of every keyframe
  4. Joint null-text optimization - one shared embedding across all keyframes, for global consistency
  5. Keyframe editing - FADING (diffusion, paper quality) or FRAN (single forward pass, faster and subtler), via Prompt-to-Prompt
  6. Delta extraction - only the age-related change is kept
  7. Flow propagation - GMFlow warps the deltas to the frames between keyframes, blended bidirectionally

Using the demo

  • Short clips only (under 60 seconds). Processing at 512x512 with 50 DDIM steps takes minutes on a GPU - this Space needs ZeroGPU hardware; it cannot run on CPU.
  • Pick a target age, or shift by years (negative makes the subject younger).
  • FADING is the paper method and the best quality. FRAN is much faster per keyframe with a subtler effect.

Credits and license

  • Paper: Kim, Nam, Seo - VideoTimeTravel (The Visual Computer, 2026)
  • Built on: FADING (Chen et al.), GMFlow (Xu et al., CVPR 2022), MiVOLO (Kuprashevich and Tolstykh), and the open FRAN replication by timroelofs123 (itself after Disney Research's FRAN paper)
  • This implementation: MIT license. Model weights are downloaded at first run from a separate model repo and keep their own licenses.

By Aaryn Biro - github.com/aabiro/video-time-travel