计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
aifaceswap-face-swap【效率与协作】AI Face Swap V1. Swap faces between two images using AI. Triggers: face swap, face replace, deepfake, face transfer
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Swap faces between two images using AI. Provide a face image (the face to use) and a source image (the image where the face will be placed) for seamless face replacement.
Requires an each::labs API key. Get one at eachlabs.ai.
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "aifaceswap-face-swap",
"version": "0.0.1",
"input": {
"face_image": "https://example.com/face-to-swap.jpg",
"source_image": "https://example.com/target-photo.jpg"
}
}'
| Parameter | Type | Default | Description |
|---|---|---|---|
| face_image | string | - | URL of the face image to use as the replacement face. |
| source_image | string | - | URL of the source image where the face will be placed. |
Basic face swap:
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "aifaceswap-face-swap",
"version": "0.0.1",
"input": {
"face_image": "https://example.com/my-face.jpg",
"source_image": "https://example.com/movie-poster.jpg"
}
}'
Face swap on group photo:
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "aifaceswap-face-swap",
"version": "0.0.1",
"input": {
"face_image": "https://example.com/portrait.jpg",
"source_image": "https://example.com/group-photo.jpg"
}
}'