faceswap
AI Face Swap - Swap face in video, deepfake face replacement, face swap for portraits. Use from command line. Supports local video files, YouTube, Bilibili URLs, auto-download, real-time progress tracking.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/alouhaou/face-swapWhat This Skill Does
The faceswap skill allows you to leverage the powerful verging.ai deepfake technology directly from your OpenClaw command-line interface. This tool automates the complex pipeline of video processing, face detection, and image replacement. It enables you to take any target video—whether it is a local file or a direct link from platforms like YouTube or Bilibili—and replace the faces within it with a face from a provided source image. With support for real-time progress tracking and automatic downloads, it bridges the gap between sophisticated AI compute clusters and your local machine, allowing for seamless portrait and video face swapping without requiring a deep knowledge of underlying machine learning models.
Installation
To integrate this skill into your environment, run the following command in your terminal:
clawhub install openclaw/skills/skills/alouhaou/face-swap
Once installed, ensure your VERGING_API_KEY is set as an environment variable to enable authentication. You can obtain your API key by logging into the verging.ai dashboard.
Use Cases
This skill is perfect for creators, developers, and researchers. Common use cases include:
- Digital Content Creation: Quickly creating personalized video messages or adding actors into existing footage for creative projects.
- Testing and Prototyping: Developers can use it to test facial recognition and deepfake detection algorithms by generating synthetic datasets.
- Social Media Content: Automatically swapping faces in short-form content for meme generation or entertainment purposes.
- Educational Demonstrations: Illustrating the capabilities and implications of AI-driven media manipulation.
Example Prompts
- "/faceswap --video https://youtube.com/watch?v=example --face ./my-face.jpg --hd true --download true"
- "/faceswap --video ./local_video.mp4 --face ./target_face.png --start 10 --end 25 --output ./exports/"
- "/faceswap --video ./presentation.mp4 --face https://example.com/portrait.jpg --api-key $CUSTOM_KEY"
Tips & Limitations
- Credit Consumption: Note that HD mode is more computationally expensive, consuming 3 credits per second compared to the standard 1 credit per second.
- Face Quality: For optimal results, ensure the source face image is high resolution, well-lit, and provides a clear frontal view.
- Time Limits: You can optimize costs by using the
--startand--endflags to only process the specific segments of the video you actually need, rather than the entire clip. - Compliance: Always use this tool ethically and respect the privacy and consent of the individuals whose faces you are processing.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-alouhaou-face-swap": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-write, file-read, external-api
Related Skills
video-enhancement
AI Video Enhancement - Upscale video resolution, improve quality, denoise, sharpen, enhance low-quality videos to HD/4K. Supports local video files, remote URLs (YouTube, Bilibili), auto-download, real-time progress tracking.
background-remover
AI Background Removal - Remove background from images, create transparent PNG, one-click background remover for e-commerce product photos, portrait headshots, design materials. Supports JPG, PNG, WebP local files and remote URLs.