Video Faceswap
Developing
POST
https://api.piapi.ai/api/face_swap/v1/async
legacy/Face Swap
Basic Information
API | Task-type | Model | Description | Input Limitation |
---|---|---|---|---|
Video Faceswap API | face-swap | Qubico/image-toolkit | Swap faces in the target video sequentially using the chosen images. | Supports MP4 only (≤10MB, ≤720p, ≤600 frames). |
Face-Swapping Logic Based on Algorithmic Face Order
1
(smaller)0
(larger)0
1
Examples: How Face Indexing Affects Results
Case 1
target_faces_index: 1 0
Action: The left face in the source image replaces the right face in the target video, and the right face in the source replaces the left face in the target.
Case 2
target_faces_index: 0 1
Action: The left face in the source replaces the left face in the target; the right face in the source replaces the right face in the target.
Pricing
Task-type | Pricing |
---|---|
face-swap | $0.004 per frame |
Request
Header Params
X-API-Key
string
required
Example:
{{x-api-key}}
Body Params application/json