外观
图片换脸
把源人脸替换到目标图片中。
http
POST /v1/images/faceswap| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
face | string | 是 | 要换上去的源人脸,URL 或 base64 |
target_image | string | 是 | 要被换脸的目标图片,URL 或 base64 |
webhook_url | string | 否 | 完成回调地址 |
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"}'