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

faceswap-video

faceswap-video

【效率与协作】Faceswap | Video. Swap faces in videos using AI. Replace a face in a target video with a face from a source image. Triggers: face swap video, video face swap, replace face video, faceswap, swap face in video, ai face replacement

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

技能说明

GitHub

name: faceswap-video description: "Faceswap | Video. Swap faces in videos using AI. Replace a face in a target video with a face from a source image. Triggers: face swap video, video face swap, replace face video, faceswap, swap face in video, ai face replacement" allowed-tools: Bash(curl *), WebFetch

Faceswap | Video

Swap faces in videos using AI. Provide a face image and a target video, and the model replaces the face in the video with the one from your image, maintaining natural movement and expressions.

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": "faceswap-video",
    "version": "0.0.1",
    "input": {
      "face_image_url": "https://example.com/face-photo.jpg",
      "target_video_url": "https://example.com/target-video.mp4"
    }
  }'

Parameters

ParameterTypeDefaultDescription
face_image_urlstring-URL of the source face image to use for swapping
target_video_urlstring-URL of the target video where the face will be replaced

Examples

Basic face swap in a video:

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "faceswap-video",
    "version": "0.0.1",
    "input": {
      "face_image_url": "https://example.com/headshot.jpg",
      "target_video_url": "https://example.com/presentation.mp4"
    }
  }'

Face swap for creative content:

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "faceswap-video",
    "version": "0.0.1",
    "input": {
      "face_image_url": "https://example.com/actor-face.jpg",
      "target_video_url": "https://example.com/movie-clip.mp4"
    }
  }'

Related Models

Documentation

我的收藏