JCTN / WarpTuber

huggingface.co
Total runs: 0
24-hour runs: 0
7-day runs: 0
30-day runs: 0
Model's Last Updated: January 07 2026

Introduction of WarpTuber

Model Details of WarpTuber

WarpTuber

A real-time face animation tool that brings static images and videos to life using your webcam.

Tutorial: https://www.youtube.com/watch?v=w1_KY5E7Aig

Overview

WarpTuber allows you to animate portraits or character images by mapping your facial expressions and movements to them in real-time. It supports both static images and video animations, making it perfect for virtual avatars, content creation, and streaming.

Quick Start
  1. Connect your webcam
  2. Choose one of the following launch options:
    • camera_image.bat - For animating a static image
    • camera_video.bat - For using a video animation with facial expressions
Setup Requirements
  • Windows 10/11
  • Webcam
  • Python environment (included in the venv folder)
  • NVIDIA GPU with CUDA support (recommended)
  • Python local install
Usage Instructions
Using Static Images ( camera_image.bat )

Use this mode when you want to animate a single static portrait or character image with your facial movements.

  1. Place your image in assets/examples/source/ and name it main.jpg
  2. Run camera_image.bat
  3. When prompted, select your webcam index (usually 0 for the default webcam)
  4. The application will open with your animated image
Using Video Animations ( camera_video.bat )

Use this mode when you want to combine a pre-recorded animation/idle loop with your facial expressions.

  1. Place your video in assets/examples/source/ and name it main.mp4
  2. Run camera_video.bat
  3. When prompted, select your webcam index (usually 0 for the default webcam)
  4. The application will open with your video animation that responds to your facial movements
File Requirements
  • Static Image : Must be named main.jpg and placed in assets/examples/source/
  • Animation Video : Must be named main.mp4 and placed in assets/examples/source/

For best results:

  • Images should be clear portraits with visible facial features
  • Videos should be looping animations with consistent lighting
  • Both should have dimensions of at least 512x512 pixels
Image Compatibility and Facial Landmark Detection

WarpTuber relies on facial landmark detection to animate images. Not all images will work properly, especially:

  • Highly stylized anime or cartoon characters
  • Images with unusual facial proportions
  • Artwork with abstract facial features
  • Images with poor lighting or low contrast
  • Side-profile portraits (faces should be mostly front-facing)

If you encounter an error message like "no face in [image path]! exit!" , this means the system failed to detect facial landmarks in your image.

Solutions for facial landmark detection issues:

  1. Try a different image : Use photographs or realistic illustrations with clear facial features

  2. Enable animal mode : For cartoon characters, try running with the --animal parameter:

    camera_image.bat --animal
    
  3. Adjust the image : Edit your image to make facial features more prominent:

    • Increase contrast around eyes, nose, and mouth
    • Ensure the face is well-lit and centered
    • Crop the image to focus more on the face
    • Convert stylized characters to a more realistic style using AI tools
  4. Pre-process with face enhancement : Use photo editing software to enhance facial features before using with WarpTuber

Note that even with these adjustments, some highly stylized images may not work with the current facial landmark detection system.

Advanced Configuration
Command Line Parameters

Both batch files support additional parameters:

  • --src_image [path] - Specify a custom source image/video path
  • --animal - Enable animal face mode
  • --paste_back - Enable background preservation (enabled by default)
  • --interactive - Enable interactive controls (enabled by default)
  • --advanced_ui - Enable advanced UI controls

Example: camera_image.bat --src_image assets/my_custom_folder/portrait.jpg --animal

TensorRT Optimization

This repository includes pre-compiled TensorRT models for optimal performance. If you encounter issues with the included models, you may need to compile your own:

  1. Navigate to the checkpoints directory and locate any existing .trt files:

    • Human model files: checkpoints/liveportrait_onnx/*.trt
    • Animal model files: checkpoints/liveportrait_animal_onnx/*.trt
    • Example path: C:\FLivePort\WarpTuber\checkpoints\liveportrait_onnx\stitching_lip.trt
  2. Delete these .trt files if you're experiencing compatibility issues

  3. Run scripts/all_onnx2trt.bat to recompile all models

    • This will convert all ONNX models to TensorRT format optimized for your specific GPU
    • The conversion process may take several minutes to complete

Note: Compiling your own TensorRT models is only necessary if the pre-compiled models don't work on your system. The compilation process creates optimized models specifically for your GPU hardware.

Troubleshooting
  • If no webcams are detected, ensure your camera is properly connected and not in use by another application
  • If the animation appears laggy, try closing other GPU-intensive applications
  • If you encounter model loading errors, try running the scripts/all_onnx2trt.bat script to compile models for your specific GPU
  • If you see the error "no face in driving frame" , ensure your webcam can clearly see your face with good lighting
License

MIT License

Copyright (c) 2024 Kuaishou Visual Generation and Interaction Center

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.


Important Note :

  • The code of InsightFace is released under the MIT License.
  • The models of InsightFace are for non-commercial research purposes only.
  • If you want to use the WarpTuber project for commercial purposes, you should remove and replace InsightFace's detection models to fully comply with the MIT license.
Acknowledgements

This project is based on FasterLivePortrait by warmshao , which is an optimized implementation of the original LivePortrait technology developed by the Kuaishou Technology team.

The original LivePortrait technology was created by Jianzhu Guo, Dingyun Zhang, Xiaoqiang Liu, Zhizhou Zhong, Yuan Zhang, Pengfei Wan, and Di Zhang from Kuaishou Technology and academic institutions.

WarpTuber is a customized implementation that simplifies the usage of this technology with a focus on ease of use for content creators and streamers.

Key technologies used:

  • Face landmark detection and tracking
  • Neural rendering for portrait animation
  • TensorRT optimization for real-time performance

Special thanks to the original developers for making this technology accessible and open source.

For more information about the original research, please visit liveportrait.github.io .

Runs of JCTN WarpTuber on huggingface.co

0
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
0
30-day runs

More Information About WarpTuber huggingface.co Model

WarpTuber huggingface.co

WarpTuber huggingface.co is an AI model on huggingface.co that provides WarpTuber's model effect (), which can be used instantly with this JCTN WarpTuber model. huggingface.co supports a free trial of the WarpTuber model, and also provides paid use of the WarpTuber. Support call WarpTuber model through api, including Node.js, Python, http.

WarpTuber huggingface.co Url

https://huggingface.co/JCTN/WarpTuber

JCTN WarpTuber online free

WarpTuber huggingface.co is an online trial and call api platform, which integrates WarpTuber's modeling effects, including api services, and provides a free online trial of WarpTuber, you can try WarpTuber online for free by clicking the link below.

JCTN WarpTuber online free url in huggingface.co:

https://huggingface.co/JCTN/WarpTuber

WarpTuber install

WarpTuber is an open source model from GitHub that offers a free installation service, and any user can find WarpTuber on GitHub to install. At the same time, huggingface.co provides the effect of WarpTuber install, users can directly use WarpTuber installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

WarpTuber install url in huggingface.co:

https://huggingface.co/JCTN/WarpTuber

Url of WarpTuber

WarpTuber huggingface.co Url

Provider of WarpTuber huggingface.co

JCTN
ORGANIZATIONS

Other API from JCTN

huggingface.co

Total runs: 4.7K
Run Growth: -876
Growth Rate: -18.77%
Updated:December 01 2025
huggingface.co

Total runs: 706
Run Growth: 359
Growth Rate: 50.85%
Updated:January 22 2025
huggingface.co

Total runs: 75
Run Growth: 0
Growth Rate: 0.00%
Updated:January 11 2025
huggingface.co

Total runs: 45
Run Growth: 14
Growth Rate: 31.11%
Updated:April 20 2024
huggingface.co

Total runs: 12
Run Growth: 6
Growth Rate: 50.00%
Updated:February 28 2024
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:February 12 2024
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:February 17 2024
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:May 30 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:September 28 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:June 26 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:December 01 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:April 27 2024
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:September 11 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:August 31 2024
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:January 11 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:June 15 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:June 16 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:June 20 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:April 11 2024
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:November 27 2024
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:September 25 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:August 24 2024
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:August 19 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:July 17 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:December 29 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:December 01 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:May 06 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:September 05 2024
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:March 30 2024
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:August 22 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:September 22 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:June 15 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:May 11 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:September 25 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:March 30 2024
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:December 20 2024
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:July 21 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:September 04 2024
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:June 03 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:February 10 2024
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:February 10 2024
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:May 12 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:July 21 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:May 30 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:June 27 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:April 01 2026
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:March 12 2024
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:June 10 2023