Hair Makeover Effect

Flow·2 steps

Upload a reference image with the desired hairstyle and color, then apply that exact look to the uploaded person. Instantly transform their hair while keeping their face and identity fully preserved.

Steps
2
Inputs
2
Runs
-
Template · pipeline2 steps
  1. 1
    gemini-2-0-flash-liteid · step1 · model
    image_urls
    [1 item]
    prompt
    "Analyze the hairstyle in this image in detail. Provide a com…"
  2. 2
    nano-banana-pro-editid · step2 · model
    aspect_ratio
    "9:16"
    image_urls
    [1 item]
    num_images
    1
    output_format
    "png"
    prompt
    "Apply this exact hairstyle to the person in the photo while …"
    +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/7f703cd2-2e90-4652-aeb8-812843f2d9cb/trigger \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
      "version_id": "v1",
      "inputs": {
        "hairstyle_reference": "https://cdn-us.eachlabs.ai/defaults/50971f14d321a3e5baa94ebfb011b7fff6c6c0bdb78b452031e34e4c1ecfd80f.png",
        "person_photo": "https://cdn-us.eachlabs.ai/defaults/5eb4f504e3148b4d026cdee0a0c440aa8e48647dda5148eb35f308381f504477.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.

  • hairstyle_referencerequired
    default · 50971f14d321a3e5baa94ebfb011b7fff6c6c0bdb78b452031e34e4c1ecfd80f.png
    image URL
  • person_photorequired
    default · 5eb4f504e3148b4d026cdee0a0c440aa8e48647dda5148eb35f308381f504477.png
    image URL
Ideas for your remix
  • · Swap the input media to retell the story with different subjects.
  • · Edit the prompt inside gemini-2-0-flash-lite to change tone, scene, or pacing.
  • · Replace any model step with a faster or pricier alternative for a different vibe.
  • · Chain extra steps (upscale, audio, captions) to extend the pipeline.

More flows like this