Spaces:
Paused
Paused
File size: 2,274 Bytes
6574d5e c7dd3e8 6574d5e c7dd3e8 6574d5e c7dd3e8 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 | ---
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](https://github.com/aabiro/video-time-travel)
|