Tencent Cloud AI FaceID Fake Face Detection
Paste the following prompt into your AI chat to install this skill:
Please install @tencent-adm/tencentcloud-faceid-detectaifakefaces according to https://skillhub.cn/install/skillhub.md.
About this skill
Problem to Solve
In face verification, remote onboarding, and identity checking, a system must not only confirm that a face is present, but also decide whether the face may come from screen replay, AI face swapping, batch black-market material, or watermark tampering. Basic face detection often answers only “is there a face,” while real fraud workflows need signals for AIGC face swaps, high-resolution replay, liveness spoofing, and other attack patterns. TencentCloud FaceID DetectAIFakeFaces is aimed at these anti-attack use cases, extending detection to single face images and short video clips and returning risk levels plus attack types that can be used in business decisions.
How the Skill Works
The skill wraps the Tencent Cloud FaceID AI fake-face detection API and gives Python callers a straightforward input-output path:
- Input:
FaceInputaccepts a local image/video path or a Base64 string;FaceInputTypeis optional, and local files can be inferred from the file extension. - Media constraints: images support
jpg/png, with Base64 size ideally under3MB; videos supportmp4/avi/flv, ideally2–5 seconds, around480×640, with Base64 size under8MB. - Detection scope: it covers AIGC face-swap detection, replay detection, black-market attack detection, watermark detection, and related liveness spoofing risks in the result model.
- Output shape: it returns JSON with risk levels such as
Low,Mid, andHigh, plus concrete attack types, making it easier to feed into risk rules, manual review, or blocking logic.
From an engineering perspective, its value is not to replace liveness capture, but to add a second-layer anti-forgery check on face media that has already been collected: for example, a replayed ID photo, a short video with synthesized face swapping, batch signups using similar black-market clips, or images with suspicious watermark traces.
Boundaries and Notes
This skill fits environments where the caller already has Tencent Cloud FaceID permissions and lawful consent for face data. It focuses on anti-forgery detection, not general image classification or face matching; if the product requires strict identity consistency, it should be combined with face comparison, liveness capture, and other risk signals. Image/video formats, duration, resolution, and Base64 size are constrained, so integrations should handle preprocessing and fallbacks. Face data is personal information, so local regulations and user consent must be respected.
Use Cases
- During remote onboarding, run a second anti-forgery check on uploaded face images for AI face swapping or replay risk.
- After failed identity verification, analyze short video clips for liveness spoofing, watermark traces, or batch black-market attack signals.
- Before integrating risk rules, test ID photos and short videos to obtain Low/Mid/High levels for rule tuning.
- During complaint handling, verify whether disputed videos were replayed or created from watermarked material to support disposition.
Best For
- Risk-control engineers integrating face anti-forgery signals into onboarding or login blocking workflows.
- Operations staff handling remote onboarding who need to identify AI face swaps, replay, and black-market material.
- Security auditors assessing face media for liveness spoofing, watermark attacks, and tampering traces.
- Backend engineers using the Tencent Cloud SDK who need to handle Base64 inputs and parse risk levels.
Related Skills
Provides compliance self-check and remediation guidance for medical aesthetics and jewelry businesses, covering tax categories, invoicing, and private-account risk.
Covers literature review, data analysis, visualization, drug discovery, paper writing, and grant writing workflows.
A retrieval assistant for Chinese laws and regulations, supporting semantic queries, validity checks, clause location, and regulation comparison with CLI-based output.
Wraps the Tonghuashun finance data MCP service for querying stocks, funds, macro data, news, bonds, global stocks, and indices.