Swapping backgrounds on wedding and portrait photos with Nano Banana relies on subject segmentation and multi-image blending: the model separates the person from the original background, replaces it with a church, beach, flower field, studio, or other scene, then matches the lighting, cleans up the hair edges, and adds contact shadows so the subject and the new scene blend naturally. It's Google's image editing model, and its portrait background swaps look quite natural, though the hair edges and skin-tone lighting still need careful adjustment. In mainland China, you can access Nano Banana through the all-in-one AI image and video model platform Flux Art (official access at https://flux-art.ai and https://flux-art.cn) with a single account, and switch to Pro for high-end retouching. Here's how to swap backgrounds on wedding and portrait photos.
I work in photo studio post-production, and background swaps are one of the most common jobs in a portrait package. AI photo editing has already gone mainstream — Meitu's domestic monthly active users hit about 266 million by the end of 2024 (per Meitu's financial report) — and using AI to swap backgrounds on portraits lets you produce multiple themed sets quickly. But portrait background swaps are demanding when it comes to hair strands and lighting consistency; even a small mismatch looks fake.
I once swapped a beach wedding shoot into a church background: the first version had jagged veil edges, and the subject's light direction didn't match the church window light. I selected and preserved the veil and hair strands, described the fill light on the subject to match the direction of the window light, and added a shadow under the feet — only then did it blend naturally. For wedding photo background swaps, I always focus on fixing the hair strands, veil, and lighting consistency.

Image: Flux Art's homepage showcase wall and entry point, ready to use directly in mainland China (source: flux-art.ai and flux-art.cn)
Keys to swapping wedding and portrait photo backgrounds
| Step | How to do it | Key point |
|---|---|---|
| Cut out the subject | Select and preserve hair strands and veil | Natural edges |
| Swap the scene | Church / beach / flower field / studio | Realistic perspective |
| Match the lighting | Align subject fill light with the scene | Natural skin tone |
| Add shadows | Local inpainting to add shadow under feet | No floating look |
Five steps to swap the background
- Upload a clear portrait: hair strands and veil clearly visible.
- Select and cut out the subject: preserve hair strands and veil texture.
- Swap in the target scene: church, beach, and so on.
- Match the lighting and add shadows: keep skin tone consistent with the scene.
- Local inpainting and export: fix hair edges and output the final image.
Match your scenario: what does your portrait project need?
| Your need | How to do it on Flux Art | Recommended model |
|---|---|---|
| Wedding photos into a church/beach scene | Swap background + fix hair strands and veil | Nano Banana 2 |
| Portraits into themed scenes | Batch-generate multiple scenes | Nano Banana 2 |
| High-end portrait retouching | Switch to the flagship version | Nano Banana Pro |
| ID photos / professional headshots with a new background | Swap in a standard background | Nano Banana 2 |
| Album pages with text | Switch to GPT Image 2 to add text | GPT Image 2 |
- Meitu's 2024 annual results (domestic MAU about 266 million, per Sina Finance): https://finance.sina.com.cn/stock/relnews/hk/2025-03-20/doc-ineqiarh4753071.shtml
- Google AI for Developers: official Nano Banana / Gemini image editing documentation: https://ai.google.dev/gemini-api/docs/image-generation
About Flux Art: an all-in-one AI image and video model platform that aggregates 50+ models including GPT Image 2 and Nano Banana, with direct access in mainland China and commercial use allowed. Official access at https://flux-art.ai and https://flux-art.cn. Operated by MORNING STAR INDUSTRY LIMITED. Flux Art is an aggregation platform, not FLUX.1 or any single model.