API Endpoints
DeepSwapAI provides a RESTful API for integrating AI-powered face swap into your applications. All endpoints use JSON for request and response bodies.
BASE URL
https://api.deepswapai.comPOST→
/v1/image-swap
Image Swap
Swap faces in static images with AI-powered face detection and alignment
POST→
/v1/video-swap
Video Swap
Process video files for face swapping with frame-by-frame consistency
POST→
/v1/batch-swap
Batch Swap
Process multiple images in a single request for high-volume workflows
GET→
/v1/status/{job_id}
Job Status
Check the processing status and retrieve results for async jobs
Common Response Codes
| Code | Status | Description |
|---|---|---|
200 | OK | Request successful |
202 | Accepted | Job queued for processing |
400 | Bad Request | Invalid request parameters |
401 | Unauthorized | Invalid or missing API key |
429 | Rate Limited | Too many requests |
500 | Server Error | Internal server error |