Reference
Remy Reference/agent/imageFaceSwap
?

imageFaceSwap

Replace a face in an image with a face from another image using AI.
mindstudio.imageFaceSwap({ imageUrl, faceImageUrl, engine }) → Result

Replaces a face in one image with a face from another using AI, returning the composited image.

Parameters
imageUrl
string
RequiredURL of the target image containing the face to replace
faceImageUrl
string
RequiredURL of the image containing the replacement face
engine
string
RequiredFace swap engine to use
Call from a method
import { mindstudio } from '@mindstudio-ai/agent';

const result = await mindstudio.imageFaceSwap({
  imageUrl: /* ... */,
  faceImageUrl: /* ... */,
  engine: /* ... */
});