#Video face changing
Replace the source face into the target video.
http
POST /v1/videos/faceswap| Parameters | Type | Required | Description |
|---|---|---|---|
face | string | Yes | The source face to be replaced, URL or base64 |
target_video | string | Yes | Public HTTP(S) video address, base64 not supported |
webhook_url | string | No | Completion callback address |
bash
curl -X POST https://api.modelgo.moneygo.ai/v1/videos/faceswap \
-H "Authorization: Bearer sk-your-key" \
-H "Idempotency-Key: face-video-1001" \
-H "Content-Type: application/json" \
-d '{"face":"https://example.com/face.jpg","target_video":"https://example.com/target.mp4"}'