Imagefal

Face Swap

Puts the face from one photo onto the person in another, keeping pose, light and hair.

model: "face-swap"

API docsDocs for agents

Modes

One model id, every mode below. The fields you send pick the mode, and the price follows the mode.

ModeSelected byTypical price
Image in, image outbase_image_urlswap_image_url
Example request
{
  "model": "face-swap",
  "input": {
    "base_image_url": "https://example.com/image.jpg",
    "swap_image_url": "https://example.com/image.jpg"
  }
}
$0.0010

A real run

This is the tool's actual output on the image beside it. The playground below opens on the same input, so you can run it yourself.

Face Swap: Before
Before
Face Swap: After
After

Input

Required

The photo whose person receives the face (https URL).. A public https URL, or an upload URL from POST /v1/uploads.

Required

The photo the face comes from (https URL).. A public https URL, or an upload URL from POST /v1/uploads.

Optional

Source image to edit or vary (https URL, or an upload URL from POST /v1/uploads). Leave it out to generate from the prompt alone.

Result

Face SwapExample output

A real result from this model. Run it to see yours here.

curl https://arteza.ai/api/v1/generations \
  -H "Authorization: Bearer $ARTEZA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "face-swap",
  "input": {
    "base_image_url": "https://assets.arteza.ai/generations/6d82f9c2-c1a0-4ad0-9b3e-96a532c1748d/11c8171c-25fe-448c-8c89-8f7f36b69f42/0.jpg",
    "swap_image_url": "https://assets.arteza.ai/generations/6d82f9c2-c1a0-4ad0-9b3e-96a532c1748d/2c87615a-ff7b-41f5-adb0-56a3fc06ac8f/0.jpg"
  }
}'
Face Swap 1Face Swap 2