Sand AISand AI MAGI-2MAGI-2 现已上线 SandBase:支持原生音频的 1080p 视频立即试用

Free face swap

免费AI 图片

Upload the photo to edit and a clear photo of the face to use. The tool matches the angle, light and skin tone so the face fits the scene. Use it only on yourself or on people who agreed.

  • 100% free
  • No sign-up
  • No watermark
  • Works on phone

示例结果

The face from a portrait (second photo) put on a man in a hallway.编辑前的原始图片之前之后
示例

The face from a portrait (second photo) put on a man in a hallway.

如何使用 Face Swap

三个步骤,在电脑或手机上都可以。

  1. 01

    Upload the photo to edit

    Drop, paste or pick a JPG, PNG, WebP or HEIC image; on a phone you can take one with the camera. Then type your anything to add (optional) (optional), for example "e.g. keep the smile".

  2. 02

    Choose hair and glasses

    Pick Hair (Keep the photo's hair or Use the face's hair) and Glasses (As in the face photo or No glasses), then select Swap face. A result usually takes about 40 seconds.

  3. 03

    Compare and download

    Compare it with your original, then download a JPG. Example on this page: the face from a portrait (second photo) put on a man in a hallway.

大家用它来做什么

  • Fun with friends

    Put yourself or a friend who agreed into a movie still, a costume or a new place.

  • Creative projects

    Mock up a character, a poster or a thumbnail with your own face.

  • Try a look

    See your face with another hairstyle, outfit or setting before you commit.

需要更多控制?使用 API

此工具基于 SandBase 图像 API 运行。API 可为你提供免费工具替你固定好的所有设置。

  • 更高质量和更大尺寸一次调用即可获得 quality=high、最高 2K 尺寸和透明背景。
  • 你自己的提示词修改模板、添加参考图片,或从你的代码或 Agent 批量处理数百张图片。
  • 按张付费在免费工具额度之外使用你的 SandBase 余额。仍受模型可用性和 API 速率限制影响。
cURL

# Set SANDBASE_API_KEY and choose your local image file.
IMAGE_FILE="photo.jpg"
curl --fail-with-body https://api.sandbase.ai/v1/images/edits \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  --form-string 'model=gpt-image-2.6-flare' \
  --form "image=@${IMAGE_FILE}" \
  --form-string 'quality=high' \
  --form-string 'size=2048x2048' \
  --form-string 'prompt=Image 1 is the photo to edit. Image 2 shows the face to use. Replace the face of the main person in image 1 with the face of the person in image 2, so that person appears in the photo. Keep the face identity, facial features, facial hair and skin tone from image 2, including glasses if the person in image 2 wears them. Match the head angle, expression, lighting and color of image 1 so the face blends naturally with the neck. Use the hairstyle and hair color of the person in image 2. Keep the body, pose, clothing, background and framing of image 1 exactly the same. One photorealistic photo, same framing as image 1, suitable for all audiences.'
此示例使用的是示例设置,并请求更高质量的输出。你可以根据自己的任务修改提示词。免费工具也可能在你的浏览器中处理下载。

常见问题

Can I swap anyone's face?

Only use photos of yourself or of people who agreed. Do not use photos of minors, and do not use the result to deceive, harass or impersonate anyone. You confirm this before each run.

What photos work best?

For the face: one person, looking at the camera, in even light, with nothing covering the face. For the photo to edit: a person whose face is clearly visible and roughly the same angle.

Will the person still look like themselves?

The tool keeps the identity from the face photo and the hair, body and setting from the other photo. AI can still change small details, so compare the result before you download it.

Can I swap faces in a video?

Not here: this tool works on photos. Each run makes one new picture.

Face Swap 免费吗?

是的,无水印、无需注册。运行一次 Face Swap 大约需要 40 秒,并会生成 一个 JPG。它会占用每日免费 AI 图像额度的一次运行,该额度在所有 AI 图像工具之间共享:未登录每天 10 次,注册免费 SandBase 账号后每天 30 次。工具会显示你还剩多少次,次数在 UTC 午夜重置;也可能受网络和站点级限制影响。

我上传到 Face Swap 的照片会怎样处理?

你的照片和设置会由 SandBase 及图像提供方处理,以生成这一结果。Face Swap 不会将任何内容发布到公开画廊。结果最多可从缓存中复用 24 小时,因此相同请求不会再次消耗次数;如需保留,请下载你想保存的结果。