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

Free photo background changer

免费AI 图片

Describe the new background and the AI swaps it in, keeping your subject, its edges and its hair exactly as they are, with lighting that matches the new scene.

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

示例结果

A dog in a park, moved to a snowy mountain meadow at sunrise.编辑前的原始图片之前之后
示例

A dog in a park, moved to a snowy mountain meadow at sunrise.

如何使用 Change Background

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

  1. 01

    Upload a photo

    Drop, paste or pick a JPG, PNG, WebP or HEIC image; on a phone you can take one with the camera. Then type your new background, for example "a sunny beach at golden hour", or tap one of the examples.

  2. 02

    Run it

    Select Change background (put your subject in any scene). A result usually takes about 20 seconds.

  3. 03

    Compare and download

    Compare it with your original, then download a JPG. Example on this page: a dog in a park, moved to a snowy mountain meadow at sunrise.

更多示例

同一工具在其他照片上的效果,没有人工编辑。打开一个即可自己试用。

大家用它来做什么

  • Profile photos

    Move yourself from a messy room to a studio, an office or a beach.

  • Product shots

    Put a product in a kitchen, on a desk or outdoors without a new shoot.

  • Social posts

    Place a pet or a friend somewhere fun for a post or a card.

获得更好结果的技巧

  • Name the place and the light: “a sunny beach at noon” beats “beach”.
  • A photo where the subject is sharp and fully visible cuts out cleanest.
  • Match the time of day to your original light so the result looks real.

需要更多控制?使用 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=Change the background to snowy mountains at sunrise. Keep the main subject exactly as in the photo: same shape, edges, hair strands, clothing, colors, pose and position, with lighting and shadows on the subject that match the new background. Do not alter the subject.'
此示例使用的是示例设置,并请求更高质量的输出。你可以根据自己的任务修改提示词。免费工具也可能在你的浏览器中处理下载。

常见问题

Can I describe any background?

Yes: a place, a color, a mood or a setting. Short, concrete descriptions work best, for example "a sunny beach at golden hour" rather than "nice background".

Change Background 免费吗?

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

我上传到 Change Background 的照片会怎样处理?

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