界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
效率与协作 · SKILL.md

each-faceswap-v1

each-faceswap-v1

【效率与协作】Eachlabs Face Swap. Swap faces in images using Eachlabs Face Swap. Triggers: eachlabs, face swap, image generation

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: each-faceswap-v1 description: "Eachlabs Face Swap. Swap faces in images using Eachlabs Face Swap. Triggers: eachlabs, face swap, image generation" allowed-tools: Bash(curl *), WebFetch

Eachlabs Face Swap

Swap faces in images using Eachlabs Face Swap.

Quick Start

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"
    }
  }'

Parameters

ParameterTypeDefaultDescription
source_imagestringThe image containing the face to be swapped.
target_image_gif_or_videostringThe image where the swapped face will be placed.

Examples

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"
    }
  }'

Related Models

Documentation

我的收藏