Advanced Face Swap
Use dual-image editing to migrate the new character's facial and hair features to the user image while maintaining the user image's body shape, pose, clothing, background, and composition. The server administrator selects Flux or Qwen and configures a separate prompt for each model; API clients do not select the model.
http
POST /v1/images/faceswap-advanced| Parameters | Type | Required | Description |
|---|---|---|---|
face | string | Yes | New face photo, that is, the character to be replaced |
target_image | string | Yes | User picture, that is, the picture that needs to retain the body and scene |
webhook_url | string | No | Completion callback address |
bash
curl -X POST https://api.modelgo.moneygo.ai/v1/images/faceswap-advanced \
-H "Authorization: Bearer sk-your-key" \
-H "Idempotency-Key: face-advanced-1001" \
-H "Content-Type: application/json" \
-d '{"face":"https://example.com/new-face.jpg","target_image":"https://example.com/user.jpg"}'Advanced Face Swap replaces facial features as well as hairstyle, hair color, bangs, and hairline, and usually takes longer than Fast Face Swap.
