zsxkib/stable-video-face-restoration 🖼️🔢❓ → 🖼️

▶️ 753 runs 📅 Jan 2025 ⚙️ Cog 0.13.6 🔗 GitHub 📄 Paper ⚖️ License
video-colorization video-inpainting video-restoration

About

SVFR: A Unified Framework for Generalized Video Face Restoration

Example Output

Output

Performance Metrics

107.25s Prediction Time
330.70s Total Time
All Input Parameters
{
  "seed": -1,
  "tasks": "face-restoration-and-colorization",
  "video": "https://replicate.delivery/pbxt/MIbOfHGBUvbjrd6qxFBb1ujR4FsyJfspsrN6EFbZfOM6CtZp/lq3.mp4"
}
Input Parameters
mask Type: string
An inpainting mask image (white areas will be restored). Only required when tasks includes inpainting.
seed Type: integer
Random seed. Leave blank to randomize.
tasks Default: face-restoration
Which restoration tasks to apply.
video (required) Type: string
Input video file (e.g. MP4).
overlap Type: integerDefault: 3
Number of overlapping frames between segments.
decode_chunk_size Type: integerDefault: 16
Chunk size for decoding long videos.
i2i_noise_strength Type: numberDefault: 1
Image-to-image noise strength.
noise_aug_strength Type: numberDefault: 0
Noise augmentation strength.
num_inference_steps Type: integerDefault: 30
Number of diffusion steps.
max_appearance_guidance_scale Type: numberDefault: 2
Maximum guidance scale for restoration.
min_appearance_guidance_scale Type: numberDefault: 2
Minimum guidance scale for restoration.
Output Schema

Output

Type: stringFormat: uri

Example Execution Logs
Using seed: 32680
CUDA_VISIBLE_DEVICES is not set.
task_ids: [0, 1]
task_prompt: [1, 1, 0]
total_frames: 54
Generating the first clip...
  0%|          | 0/50 [00:00<?, ?it/s]
  2%|▏         | 1/50 [00:00<00:39,  1.24it/s]
  4%|▍         | 2/50 [00:01<00:44,  1.09it/s]
  6%|▌         | 3/50 [00:02<00:45,  1.04it/s]
  8%|▊         | 4/50 [00:03<00:35,  1.28it/s]
 10%|█         | 5/50 [00:03<00:30,  1.47it/s]
 12%|█▏        | 6/50 [00:04<00:27,  1.62it/s]
 14%|█▍        | 7/50 [00:04<00:24,  1.72it/s]
 16%|█▌        | 8/50 [00:05<00:23,  1.80it/s]
 18%|█▊        | 9/50 [00:05<00:22,  1.85it/s]
 20%|██        | 10/50 [00:06<00:21,  1.89it/s]
 22%|██▏       | 11/50 [00:06<00:20,  1.92it/s]
 24%|██▍       | 12/50 [00:07<00:19,  1.94it/s]
 26%|██▌       | 13/50 [00:07<00:18,  1.95it/s]
 28%|██▊       | 14/50 [00:08<00:18,  1.96it/s]
 30%|███       | 15/50 [00:08<00:17,  1.97it/s]
 32%|███▏      | 16/50 [00:09<00:17,  1.97it/s]
 34%|███▍      | 17/50 [00:09<00:16,  1.98it/s]
 36%|███▌      | 18/50 [00:10<00:16,  1.98it/s]
 38%|███▊      | 19/50 [00:10<00:15,  1.98it/s]
 40%|████      | 20/50 [00:11<00:15,  1.98it/s]
 42%|████▏     | 21/50 [00:11<00:14,  1.98it/s]
 44%|████▍     | 22/50 [00:12<00:14,  1.98it/s]
 46%|████▌     | 23/50 [00:12<00:13,  1.98it/s]
 48%|████▊     | 24/50 [00:13<00:13,  1.98it/s]
 50%|█████     | 25/50 [00:13<00:12,  1.98it/s]
 52%|█████▏    | 26/50 [00:14<00:12,  1.98it/s]
 54%|█████▍    | 27/50 [00:14<00:11,  1.98it/s]
 56%|█████▌    | 28/50 [00:15<00:11,  1.98it/s]
 58%|█████▊    | 29/50 [00:15<00:10,  1.98it/s]
 60%|██████    | 30/50 [00:16<00:10,  1.98it/s]
 62%|██████▏   | 31/50 [00:16<00:09,  1.98it/s]
 64%|██████▍   | 32/50 [00:17<00:09,  1.98it/s]
 66%|██████▌   | 33/50 [00:17<00:08,  1.97it/s]
 68%|██████▊   | 34/50 [00:18<00:08,  1.97it/s]
 70%|███████   | 35/50 [00:18<00:07,  1.97it/s]
 72%|███████▏  | 36/50 [00:19<00:07,  1.97it/s]
 74%|███████▍  | 37/50 [00:19<00:06,  1.97it/s]
 76%|███████▌  | 38/50 [00:20<00:06,  1.97it/s]
 78%|███████▊  | 39/50 [00:20<00:05,  1.97it/s]
 80%|████████  | 40/50 [00:21<00:05,  1.97it/s]
 82%|████████▏ | 41/50 [00:22<00:04,  1.97it/s]
 84%|████████▍ | 42/50 [00:22<00:04,  1.97it/s]
 86%|████████▌ | 43/50 [00:23<00:03,  1.97it/s]
 88%|████████▊ | 44/50 [00:23<00:03,  1.97it/s]
 90%|█████████ | 45/50 [00:24<00:02,  1.97it/s]
 92%|█████████▏| 46/50 [00:24<00:02,  1.97it/s]
 94%|█████████▍| 47/50 [00:25<00:01,  1.97it/s]
 96%|█████████▌| 48/50 [00:25<00:01,  1.97it/s]
 98%|█████████▊| 49/50 [00:26<00:00,  1.96it/s]
100%|██████████| 50/50 [00:26<00:00,  1.96it/s]
100%|██████████| 50/50 [00:26<00:00,  1.88it/s]
Generating all video clips...
  0%|          | 0/30 [00:00<?, ?it/s]
  3%|▎         | 1/30 [00:02<01:07,  2.31s/it]
  7%|▋         | 2/30 [00:04<01:09,  2.47s/it]
 10%|█         | 3/30 [00:07<01:07,  2.52s/it]
 13%|█▎        | 4/30 [00:09<01:00,  2.34s/it]
 17%|█▋        | 5/30 [00:11<00:56,  2.24s/it]
 20%|██        | 6/30 [00:13<00:52,  2.19s/it]
 23%|██▎       | 7/30 [00:15<00:49,  2.15s/it]
 27%|██▋       | 8/30 [00:17<00:46,  2.13s/it]
 30%|███       | 9/30 [00:19<00:44,  2.11s/it]
 33%|███▎      | 10/30 [00:21<00:41,  2.10s/it]
 37%|███▋      | 11/30 [00:24<00:39,  2.09s/it]
 40%|████      | 12/30 [00:26<00:37,  2.08s/it]
 43%|████▎     | 13/30 [00:28<00:35,  2.08s/it]
 47%|████▋     | 14/30 [00:30<00:33,  2.07s/it]
 50%|█████     | 15/30 [00:32<00:31,  2.07s/it]
 53%|█████▎    | 16/30 [00:34<00:29,  2.07s/it]
 57%|█████▋    | 17/30 [00:36<00:26,  2.07s/it]
 60%|██████    | 18/30 [00:38<00:24,  2.07s/it]
 63%|██████▎   | 19/30 [00:40<00:22,  2.07s/it]
 67%|██████▋   | 20/30 [00:42<00:20,  2.07s/it]
 70%|███████   | 21/30 [00:44<00:18,  2.07s/it]
 73%|███████▎  | 22/30 [00:46<00:16,  2.07s/it]
 77%|███████▋  | 23/30 [00:48<00:14,  2.07s/it]
 80%|████████  | 24/30 [00:50<00:12,  2.07s/it]
 83%|████████▎ | 25/30 [00:53<00:10,  2.08s/it]
 87%|████████▋ | 26/30 [00:55<00:08,  2.08s/it]
 90%|█████████ | 27/30 [00:57<00:06,  2.08s/it]
 93%|█████████▎| 28/30 [00:59<00:04,  2.08s/it]
 97%|█████████▋| 29/30 [01:01<00:02,  2.08s/it]
100%|██████████| 30/30 [01:03<00:00,  2.08s/it]
100%|██████████| 30/30 [01:03<00:00,  2.12s/it]
Version Details
Version ID
63512c77555a80ca5c84c590641036ba9f938d38b9a1841ea369780072561373
Version Created
January 14, 2025
Run on Replicate →