๐ฅ AI Face Swap API Overview#
Welcome to the official Facemint documentation for our AI-powered Face Swap API โ a production-ready solution for precise and flexible face swapping in images, GIFs, and videos.Whether you're building creative tools, video editing apps, or content moderation platforms, this API gives you full control over face-swapping tasks with blazing-fast performance.
Base URL:#
https://api.facemint.io/api
๐ Key Features#
๐ฌ Supports Images, GIFs, and Videos
Seamlessly swap faces across static and dynamic media types.
๐ง Targeted or Full Face Swapping
Swap all detected faces by default โ or specify one or more target faces to replace only those.
โ๏ธ Video Trimming
Crop your video by setting start and end times โ only the trimmed segment will be processed.
๐ Output Resolution Control
Choose from 480p to 8K โ output can match the original resolution or be downscaled as needed.
โจ Face Enhancement
Toggle high-quality mode for more realistic results.
๐ NSFW Detection Toggle
Set nsfw_check
0
(off) or 1
(on) to control whether NSFW content detection is applied.
๐ผ๏ธ Video Thumbnails
Automatically generate a cover image from your video for display or cataloging.
โ๏ธ Workflow#
1.
Create a face swap task
Provide media URL, face image (optional), resolution, and settings.
2.
Poll task status
Use the task_id
to query progress and get results when complete.
3.
Cancel if needed
Tasks can be cancelled if they havenโt started processing yet.
๐งช Use Cases#
AI video editors & creative tools
Social media avatars or meme generators
Face censorship or anonymization pipelines
Modified atย 2025-07-13 06:41:38