
NVIDIA Synthetic Video Detector is an AI-powered micro-service for detecting AI‑generated (synthetic) videos.
NVIDIA Synthetic Video Detector NIM uses gRPC APIs for inferencing requests. Following instructions demonstrate the usage of Synthetic Video Detector NIM model using Python client.
You will need a system with git and Python 3.10+ installed.
Download code by cloning the gRPC Client Repository:
git clone https://github.com/NVIDIA-Maxine/nim-clients.git
cd nim-clients/synthetic-video-detector/
Install the dependencies for the NVIDIA Synthetic Video Detector Python client:
sudo apt-get install python3-pip
pip install -r requirements.txt
cd scripts
Open a command terminal and execute below command to send gRPC request. If you have generated the API key, it will be auto-populated in the command.
python synthetic-video-detector.py --preview-mode \
--target grpc.nvcf.nvidia.com:443 \
--function-id 847b6e53-0133-452d-ab85-d7acf3ace723 \
--api-key $NVIDIA_API_KEY \
--video-input <input file path> \
--save-csv
python synthetic-video-detector.py --preview-mode \
--target grpc.nvcf.nvidia.com:443 \
--function-id 847b6e53-0133-452d-ab85-d7acf3ace723 \
--api-key $NVIDIA_API_KEY \
--video-input ../assets/fake_sample_video.mp4 \
--save-csv
Refer this documentation for more information.