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) with a single account, and switch to Pro for high-end retouching. Here's how to swap backgrounds on wedding and portrait photos.

Image: Flux Art's homepage showcase wall and entry point, ready to use directly in mainland China (source: flux-art.ai)
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. Operated by MORNING STAR INDUSTRY LIMITED. Flux Art is an aggregation platform, not FLUX.1 or any single model.