Face Swap
Swap faces between photos or onto scenes
Try asking
About
Face Swap places a face from one photo onto another image or a newly generated scene. Provide a face source and a target — either an existing photo or a text description — and get a photorealistic result in seconds.
It works in two modes: swap onto an existing image (the body, pose, and background are preserved, only the face changes) or generate a brand-new scene around the face using a text prompt. You can combine both — pass a target image and a prompt to guide how the swap is applied. Useful for marketing mockups, creative content, and visualizing how someone looks in different contexts.
What you can do
- swap_face — swap a face from a source photo onto a target image or a generated scene described by a prompt
Who it's for
Marketing teams creating personalized content, content creators experimenting with visual styles, and developers building photo editing or virtual try-on features.
How to use it
- Get a URL for the source photo containing the face you want to use.
- Call swap_face with face_image and either target_image (to swap onto an existing photo) or prompt (to generate a new scene).
- Optionally specify aspect_ratio and output_format. Use list_models to see available model options.
- Display the result inline with the returned image URL.
Getting started
Call swap_face with a face_image URL and a target_image URL to see the swap result immediately.
Swap a face onto a target image or generate a new scene with the given face. Provide a face source and a target image or prompt.
List available models for this tool, sorted by popularity. Returns provider details and pricing.
- Accept personas from your file library
- Initial release
Powered by
Related
Questions
What do I need to swap a face?
`swap_face` needs a `face_image` plus either a `target_image` or a text `prompt`.
Can I swap onto a new scene instead of a photo I already have?
Yes. If you only provide a prompt, the tool can generate a scene and place the face into it.
What happens if I provide both a target image and a prompt?
The target image is still used, and the prompt guides how the swap should look in context.
Can I override the default model?
Yes. It defaults to Nano Banana 2 Edit, but you can pass a different `model` if needed.