免费工具 + 提示词

AI 换背景:几秒钟换个新背景

在浏览器里直接把人像抠出来,换成干净的纯色、渐变或你自己的图片。想换成全新的场景?用下面的 14 条提示词。

免费 · 无需注册在你的设备上运行14 条提示词

快速回答

上面的小工具是传统的“抠图换底”:设备上的 AI 模型识别人物、抠出来,再放到纯色、渐变或你选择的图片上。速度快、隐私好,适合头像、证件照风格照片和干净背景的人像。

更新于: · 作者:drawcue 编辑部

最佳工具
工具最适合免费情况
Jimeng 即梦参考图编辑保持人物稳定,中文描述场景很准确。每日免费积分
Doubao 豆包直接说“把背景换成……”即可,出图快。每日免费使用
Google Gemini换整个场景时人脸一致性很好。有免费额度
ChatGPT上传照片描述新地点,会重新给人物打光。免费版有次数限制

免费工具

在浏览器里一键换照片背景

上传人像照片,在你的设备上自动抠出人物并换上新背景,全程不上传。

背景

选择一张照片开始。AI 模型约 10 MB,只加载一次并缓存。

基于 MediaPipe 人像分割(Apache-2.0 开源),模型由 drawcue 本站提供。适合一到两人正对镜头的照片;头发边缘可用“柔和度”微调。护照、签证、身份证等官方证件照请以官方规定为准,多数要求未经修改的真实照片。

概述

换照片背景的两种方法

上面的小工具是传统的“抠图换底”:设备上的 AI 模型识别人物、抠出来,再放到纯色、渐变或你选择的图片上。速度快、隐私好,适合头像、证件照风格照片和干净背景的人像。

如果想要以假乱真的新场景(日落海边、影棚柔光、夜晚街头),生成式模型效果更好,因为它会重新打光并加上匹配的阴影。把下面的提示词和照片一起粘贴到即梦、豆包、Gemini、ChatGPT 或可灵。

隐私优先。换背景工具完全在浏览器里运行,照片不会离开你的设备。护照、签证和身份证等官方证件通常要求未经修改的真实照片,这里的证件照底色仅适合非正式用途,请以官方要求为准。

教程

换照片背景的步骤

  1. 上传人像照片

    使用上面的工具。一到两人正对镜头、和背景有一定反差的照片效果最好。

  2. 选择背景

    证件照蓝、白、红,渐变,自定义颜色,透明,或上传自己的图片。

  3. 调节边缘

    拖动“边缘柔和度”,让头发和肩膀过渡自然。

  4. 下载 PNG

    按原图分辨率保存(最大 2048 像素)。透明 PNG 可直接用于稿定、PPT 等。

  5. 想换完整场景就用提示词

    旅行、影棚、节日等需要真实光影的场景,把提示词和照片一起交给即梦、豆包或 Gemini。

指南

换照片背景实用指南

选一张容易分离的照片

人物越突出,抠图越干净:衣服和背景颜色有反差、光线均匀、身后没有别人。头和肩膀要完整入镜。离墙一步远用手机拍的人像最理想。

纯色适合头像和证件照风格

蓝、白、红是很多地方常见的证件照底色;浅灰适合领英和公司通讯录。头部居中、上方留一点空间,下载后再按表格要求裁成对应尺寸。

渐变和品牌色

柔和的双色渐变放在演讲嘉宾页和社交头像上很有现代感。用自定义颜色匹配品牌色,背景比肤色稍暗一点,人像会更出彩。

新场景需要重新打光

把人直接贴到日落照片上很少看起来真实,因为光线方向不对。这时就需要生成式工具:写清场景、时间和光线方向,它会重新给你打光,并加上落在地面的阴影。

真实使用

换背景用于头像、创意分享和娱乐都没问题。不要用来伪造你或别人到过某个地方、参加过某个活动,法律要求真实照片的场合绝不要使用修改过的照片。

提示词

14 条 AI 换背景提示词

先上传照片。每条都保持人物不变,只替换场景。

显示 14 / 14 条

#01

影棚柔和灰背景

以上传照片作为身份参考,人物的脸、发际线、肤色、体型和姿势保持完全不变。人物保持原样,只替换背景。新背景:无缝中灰色影棚背景纸,带柔和暗角。左前方柔光主光,肩后有淡淡阴影,专业人像质感。

反向提示词:脸变了,换了一个人,抠图白边,头发边缘锯齿,光线不一致,人物悬浮,阴影错误,模糊,文字,水印,标志
影棚人像
English version 英文版
Use the uploaded photo as the identity reference and keep the person's face, hairline, skin tone, body shape and pose exactly the same. Keep the person exactly as they are and replace only the background. New background: a seamless mid-grey photo studio backdrop with a soft vignette. Soft key light from the front-left, gentle shadow behind the shoulders, professional portrait look.

Negative prompt: changed face, different person, cut-out halo, jagged edges around hair, mismatched lighting, floating subject, wrong shadows, blurry, text, watermark, logo

#02

证件照纯白底

以上传照片作为身份参考,人物的脸、发际线、肤色、体型和姿势保持完全不变。人物保持原样,只替换背景。新背景:纯白(#FFFFFF)平涂,光线均匀无阴影,头肩居中,头顶留白,干净中性。

反向提示词:脸变了,换了一个人,抠图白边,头发边缘锯齿,光线不一致,人物悬浮,阴影错误,模糊,文字,水印,标志
证件照影棚
English version 英文版
Use the uploaded photo as the identity reference and keep the person's face, hairline, skin tone, body shape and pose exactly the same. Keep the person exactly as they are and replace only the background. New background: flat pure white (#FFFFFF), even lighting, no shadows, head and shoulders centred with space above the head, neutral and clean.

Negative prompt: changed face, different person, cut-out halo, jagged edges around hair, mismatched lighting, floating subject, wrong shadows, blurry, text, watermark, logo

#03

证件照蓝底

以上传照片作为身份参考,人物的脸、发际线、肤色、体型和姿势保持完全不变。人物保持原样,只替换背景。新背景:纯蓝色(#438EDB)平涂,光线均匀,无渐变无阴影,头肩居中,端正正式。

反向提示词:脸变了,换了一个人,抠图白边,头发边缘锯齿,光线不一致,人物悬浮,阴影错误,模糊,文字,水印,标志
证件照影棚
English version 英文版
Use the uploaded photo as the identity reference and keep the person's face, hairline, skin tone, body shape and pose exactly the same. Keep the person exactly as they are and replace only the background. New background: flat solid blue (#438EDB), even lighting with no gradient or shadow, head and shoulders centred, neat and formal.

Negative prompt: changed face, different person, cut-out halo, jagged edges around hair, mismatched lighting, floating subject, wrong shadows, blurry, text, watermark, logo

#04

证件照红底

以上传照片作为身份参考,人物的脸、发际线、肤色、体型和姿势保持完全不变。人物保持原样,只替换背景。新背景:纯红色(#D9001B)平涂,光线均匀无阴影,头肩居中,头发边缘清晰。

反向提示词:脸变了,换了一个人,抠图白边,头发边缘锯齿,光线不一致,人物悬浮,阴影错误,模糊,文字,水印,标志
证件照影棚
English version 英文版
Use the uploaded photo as the identity reference and keep the person's face, hairline, skin tone, body shape and pose exactly the same. Keep the person exactly as they are and replace only the background. New background: flat solid red (#D9001B), even lighting with no shadow, head and shoulders centred, crisp edges around the hair.

Negative prompt: changed face, different person, cut-out halo, jagged edges around hair, mismatched lighting, floating subject, wrong shadows, blurry, text, watermark, logo

#05

巴黎街头黄昏

以上传照片作为身份参考,人物的脸、发际线、肤色、体型和姿势保持完全不变。人物保持原样,只替换背景。新背景:迷人的巴黎街道,米色石砌建筑和铁艺阳台,远处隐约可见埃菲尔铁塔,身后是温暖的黄金时刻逆光,人行道上有自然的影子。

反向提示词:脸变了,换了一个人,抠图白边,头发边缘锯齿,光线不一致,人物悬浮,阴影错误,模糊,文字,水印,标志
旅行地标
English version 英文版
Use the uploaded photo as the identity reference and keep the person's face, hairline, skin tone, body shape and pose exactly the same. Keep the person exactly as they are and replace only the background. New background: a charming Parisian street with cream stone buildings and wrought-iron balconies, the Eiffel Tower softly visible in the distance, warm golden-hour light from behind, natural shadow on the pavement.

Negative prompt: changed face, different person, cut-out halo, jagged edges around hair, mismatched lighting, floating subject, wrong shadows, blurry, text, watermark, logo

#06

纽约时代广场夜景

以上传照片作为身份参考,人物的脸、发际线、肤色、体型和姿势保持完全不变。人物保持原样,只替换背景。新背景:夜晚热闹的纽约广场,巨幅广告牌发光(不出现可读文字),黄色出租车动态模糊,城市灯光映在湿润路面上,电影感色调。

反向提示词:脸变了,换了一个人,抠图白边,头发边缘锯齿,光线不一致,人物悬浮,阴影错误,模糊,文字,水印,标志
旅行城市
English version 英文版
Use the uploaded photo as the identity reference and keep the person's face, hairline, skin tone, body shape and pose exactly the same. Keep the person exactly as they are and replace only the background. New background: a bustling New York square at night with glowing billboards (no readable text), yellow cabs blurred in motion, city lights reflecting on wet pavement, cinematic colour.

Negative prompt: changed face, different person, cut-out halo, jagged edges around hair, mismatched lighting, floating subject, wrong shadows, blurry, text, watermark, logo

#07

长城日出

以上传照片作为身份参考,人物的脸、发际线、肤色、体型和姿势保持完全不变。人物保持原样,只替换背景。新背景:日出时蜿蜒在青山上的长城,山谷里薄雾缭绕,暖色侧光与人物一致,人物站在城墙步道上。

反向提示词:脸变了,换了一个人,抠图白边,头发边缘锯齿,光线不一致,人物悬浮,阴影错误,模糊,文字,水印,标志
旅行地标
English version 英文版
Use the uploaded photo as the identity reference and keep the person's face, hairline, skin tone, body shape and pose exactly the same. Keep the person exactly as they are and replace only the background. New background: the Great Wall winding over green mountains at sunrise, soft mist in the valleys, warm side light that matches the subject, standing on the stone walkway.

Negative prompt: changed face, different person, cut-out halo, jagged edges around hair, mismatched lighting, floating subject, wrong shadows, blurry, text, watermark, logo

#08

热带海滩

以上传照片作为身份参考,人物的脸、发际线、肤色、体型和姿势保持完全不变。人物保持原样,只替换背景。新背景:白沙热带海滩,碧蓝海水和椰子树,午后明亮侧光,沙滩上有柔和阴影,轻松度假氛围。

反向提示词:脸变了,换了一个人,抠图白边,头发边缘锯齿,光线不一致,人物悬浮,阴影错误,模糊,文字,水印,标志
旅行夏天
English version 英文版
Use the uploaded photo as the identity reference and keep the person's face, hairline, skin tone, body shape and pose exactly the same. Keep the person exactly as they are and replace only the background. New background: a white-sand tropical beach with turquoise water and palm trees, bright late-afternoon sun from the side, soft shadow on the sand, relaxed holiday mood.

Negative prompt: changed face, different person, cut-out halo, jagged edges around hair, mismatched lighting, floating subject, wrong shadows, blurry, text, watermark, logo

#09

现代办公室

以上传照片作为身份参考,人物的脸、发际线、肤色、体型和姿势保持完全不变。人物保持原样,只替换背景。新背景:明亮的现代办公室,玻璃隔断、绿植和木质办公桌,柔和虚化(f/2),冷调日光,专业职场感。

反向提示词:脸变了,换了一个人,抠图白边,头发边缘锯齿,光线不一致,人物悬浮,阴影错误,模糊,文字,水印,标志
办公室人像
English version 英文版
Use the uploaded photo as the identity reference and keep the person's face, hairline, skin tone, body shape and pose exactly the same. Keep the person exactly as they are and replace only the background. New background: a bright modern office with glass walls, plants and wooden desks, softly blurred (f/2), cool daylight, professional LinkedIn look.

Negative prompt: changed face, different person, cut-out halo, jagged edges around hair, mismatched lighting, floating subject, wrong shadows, blurry, text, watermark, logo

#10

温馨咖啡馆

以上传照片作为身份参考,人物的脸、发际线、肤色、体型和姿势保持完全不变。人物保持原样,只替换背景。新背景:温馨的咖啡馆内景,暖色吊灯、砖墙和摆满杯子的架子,柔和虚化,暖色调与人物肤色协调。

反向提示词:脸变了,换了一个人,抠图白边,头发边缘锯齿,光线不一致,人物悬浮,阴影错误,模糊,文字,水印,标志
生活室内
English version 英文版
Use the uploaded photo as the identity reference and keep the person's face, hairline, skin tone, body shape and pose exactly the same. Keep the person exactly as they are and replace only the background. New background: a cosy café interior with warm pendant lights, brick wall and shelves of cups, softly out of focus, warm tones matching the subject's skin.

Negative prompt: changed face, different person, cut-out halo, jagged edges around hair, mismatched lighting, floating subject, wrong shadows, blurry, text, watermark, logo

#11

圣诞客厅

以上传照片作为身份参考,人物的脸、发际线、肤色、体型和姿势保持完全不变。人物保持原样,只替换背景。新背景:装饰好的圣诞树、暖色串灯光斑和壁炉的节日客厅,温馨的夜晚光线照在人物身上。

反向提示词:脸变了,换了一个人,抠图白边,头发边缘锯齿,光线不一致,人物悬浮,阴影错误,模糊,文字,水印,标志
节日冬天
English version 英文版
Use the uploaded photo as the identity reference and keep the person's face, hairline, skin tone, body shape and pose exactly the same. Keep the person exactly as they are and replace only the background. New background: a festive living room with a decorated Christmas tree, warm fairy lights bokeh and a fireplace, cosy evening light on the subject.

Negative prompt: changed face, different person, cut-out halo, jagged edges around hair, mismatched lighting, floating subject, wrong shadows, blurry, text, watermark, logo

#12

春节红灯笼

以上传照片作为身份参考,人物的脸、发际线、肤色、体型和姿势保持完全不变。人物保持原样,只替换背景。新背景:挂满红灯笼和梅花的春节街道,暖光,柔和光斑,喜庆氛围,不出现可读文字。

反向提示词:脸变了,换了一个人,抠图白边,头发边缘锯齿,光线不一致,人物悬浮,阴影错误,模糊,文字,水印,标志
节日春节
English version 英文版
Use the uploaded photo as the identity reference and keep the person's face, hairline, skin tone, body shape and pose exactly the same. Keep the person exactly as they are and replace only the background. New background: a festive street lined with glowing red lanterns and plum blossoms for Lunar New Year, warm light, soft bokeh, cheerful atmosphere, no readable characters or text.

Negative prompt: changed face, different person, cut-out halo, jagged edges around hair, mismatched lighting, floating subject, wrong shadows, blurry, text, watermark, logo

#13

樱花公园

以上传照片作为身份参考,人物的脸、发际线、肤色、体型和姿势保持完全不变。人物保持原样,只替换背景。新背景:樱花盛开的公园,花瓣飘落,春日柔光,背景轻微虚化。

反向提示词:脸变了,换了一个人,抠图白边,头发边缘锯齿,光线不一致,人物悬浮,阴影错误,模糊,文字,水印,标志
四季春天
English version 英文版
Use the uploaded photo as the identity reference and keep the person's face, hairline, skin tone, body shape and pose exactly the same. Keep the person exactly as they are and replace only the background. New background: a park full of pink cherry blossoms in full bloom, petals drifting, soft spring daylight, gentle background blur.

Negative prompt: changed face, different person, cut-out halo, jagged edges around hair, mismatched lighting, floating subject, wrong shadows, blurry, text, watermark, logo

#14

电商风渐变背景

以上传照片作为身份参考,人物的脸、发际线、肤色、体型和姿势保持完全不变。人物保持原样,只替换背景。新背景:从浅丁香紫到淡蓝的平滑渐变,脚下有淡淡投影,干净的电商风格,影棚均匀布光。

反向提示词:脸变了,换了一个人,抠图白边,头发边缘锯齿,光线不一致,人物悬浮,阴影错误,模糊,文字,水印,标志
渐变影棚
English version 英文版
Use the uploaded photo as the identity reference and keep the person's face, hairline, skin tone, body shape and pose exactly the same. Keep the person exactly as they are and replace only the background. New background: a smooth gradient from soft lilac to pale blue with a subtle floor shadow, clean e-commerce look, even studio lighting.

Negative prompt: changed face, different person, cut-out halo, jagged edges around hair, mismatched lighting, floating subject, wrong shadows, blurry, text, watermark, logo

问答

常见问题

这个换背景工具真的免费吗?

真的免费,无需注册、无水印、不限次数。它在你自己的设备上运行,我们没有任何成本可收费。

照片会上传到哪里吗?

不会。抠图模型(MediaPipe 人像分割,Apache-2.0)只从 drawcue 下载一次,在你的浏览器里运行,照片始终留在你的设备上。

可以做蓝底、白底、红底证件照吗?

可以做简历、校园卡、工牌等非正式用途的证件照风格照片。护照、签证等通常要求按官方规定拍摄、未经修改的照片,请先查看官方要求。

为什么头发边缘有点毛糙?

细碎的头发配上杂乱背景是最难的情况。调高边缘柔和度、换一张背景更简单的照片,或者用下面的提示词让 AI 重新生成场景。

能给商品或宠物换背景吗?

模型是针对人像训练的,商品和动物效果不稳定。商品图建议看“AI 店铺装修套图”提示词,或使用生成式编辑工具。