计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
each-faceswap-v1【效率与协作】Eachlabs Face Swap. Swap faces in images using Eachlabs Face Swap. Triggers: eachlabs, face swap, image generation
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Swap faces in images using Eachlabs Face Swap.
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": "each-faceswap-v1",
"version": "0.0.1",
"input": {
"source_image": "https://example.com/source-face.jpg",
"target_image_gif_or_video": "https://example.com/target-image.jpg"
}
}'
| Parameter | Type | Default | Description |
|---|---|---|---|
source_image | string | The image containing the face to be swapped. | |
target_image_gif_or_video | string | The image where the swapped 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": "each-faceswap-v1",
"version": "0.0.1",
"input": {
"source_image": "https://example.com/source-face.jpg",
"target_image_gif_or_video": "https://example.com/target-image.jpg"
}
}'
Portrait 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": "each-faceswap-v1",
"version": "0.0.1",
"input": {
"source_image": "https://example.com/portrait.jpg",
"target_image_gif_or_video": "https://example.com/group-photo.jpg"
}
}'