zsxkib/keep 🔢✓🖼️❓ → 🖼️
About
🧼Upscales faces in videos look to be clearer and better using KEEP, Kalman-Inspired Feature Propagation for Video Face Super-Resolution

Example Output
Output
Performance Metrics
20.21s
Prediction Time
59.19s
Total Time
All Input Parameters
{ "draw_box": true, "input_video": "https://api.replicate.com/v1/files/YmFjMzJiY2YtY2ViMC00MjJjLTg0MTItYWFmYmU4NGYyOGU1", "bg_enhancement": false }
Input Parameters
- bg_tile
- Tile size for background upsampler (RealESRGAN)
- upscale
- Upscaling factor for enhancement (RealESRGAN)
- draw_box
- Draw box around detected faces
- max_length
- Maximum number of frames to process in one batch for KEEP model
- has_aligned
- Set to true if faces in the video are already aligned and cropped (512x512)
- input_video (required)
- Input video file
- face_upsample
- Upsample restored faces using RealESRGAN
- bg_enhancement
- Enable background enhancement using RealESRGAN
- save_video_fps
- FPS for the output video. If None, uses original FPS.
- detection_model
- Face detection model to use
- only_center_face
- Process only the center face if multiple faces are detected
Output Schema
Output
Example Execution Logs
Background upsampling: False, Face upsampling: False Detecting keypoints and smoothing alignment ... Restoring faces ... Pasting faces back ... Saving video ... All results are saved in /tmp/cog_outputs/current_prediction/tmp65mci3dvdownload_restored.mp4.
Version Details
- Version ID
51d5aa9f475690a7cec1f9684efec31f70beca623c27b96dfb604f8223aa437b
- Version Created
- May 20, 2025