Skip to content

图片换脸

把源人脸替换到目标图片中。

http
POST /v1/images/faceswap
参数类型必填说明
facestring要换上去的源人脸,URL 或 base64
target_imagestring要被换脸的目标图片,URL 或 base64
webhook_urlstring完成回调地址
bash
curl -X POST https://api.modelgo.moneygo.ai/v1/images/faceswap \
  -H "Authorization: Bearer sk-你的Key" \
  -H "Idempotency-Key: face-image-1001" \
  -H "Content-Type: application/json" \
  -d '{"face":"https://example.com/face.jpg","target_image":"https://example.com/target.jpg"}'