Nano Banana Pro - Face swap

Flow·1 step

Creates a highly realistic face swap with seamless blending, preserving the source face’s exact identity, facial proportions, and expression, while naturally matching skin tone, lighting, and shadows to the target image for a photorealistic result.

Steps
1
Inputs
2
Runs
-
Template · pipeline1 step
  1. 1
    nano-banana-pro-editid · step1 · model
    aspect_ratio
    "9:16"
    image_urls
    [2 items]
    num_images
    1
    output_format
    "png"
    prompt
    "Use the second uploaded image as the face source and the fir…"
    +1 more param
How to use this template
trigger.sh
sh
# 1. Trigger the workflow
EXEC=$(curl -s -X POST https://workflows.eachlabs.run/api/v1/c9603960-74fc-4255-8b73-c6dc59a4b811/trigger \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
      "version_id": "v1",
      "inputs": {
        "Person1": "https://cdn-us.eachlabs.ai/defaults/453f10fcfbde8894511c14112e7fcc958d9e99bba7c4f3e2485398a80ea1c004.png",
        "Person2": "https://cdn-us.eachlabs.ai/defaults/17801df9992207e3f3f703bfadabe8fe2698fab18d69b75c9350ee5e39eb2bec.png"
      }
    }' | jq -r .execution_id)

# 2. Poll the execution until it's done
curl -s https://workflows.eachlabs.run/api/v1/executions/$EXEC \
  -H "X-API-Key: $EACHLABS_API_KEY"

Trigger returns an execution_id · poll the executions endpoint for the final output

Playground · what you can change2 inputs

Clone this template into your workspace, then tweak any of the inputs below, or rewrite the step prompts, to spin up your own variation. The pipeline stays the same; the creative output is yours.

  • Person1required
    default · 453f10fcfbde8894511c14112e7fcc958d9e99bba7c4f3e2485398a80ea1c004.png
    image URL
  • Person2required
    default · 17801df9992207e3f3f703bfadabe8fe2698fab18d69b75c9350ee5e39eb2bec.png
    image URL
Ideas for your remix
  • · Swap the input media to retell the story with different subjects.
  • · Edit the prompt inside nano-banana-pro-edit to change tone, scene, or pacing.
  • · Chain extra steps (upscale, audio, captions) to extend the pipeline.

More flows like this