Nationality Match Effect

Flow·2 steps

Upload your photo and discover your playful "nationality matches." A sci-fi face scanner reveals fun percentage results for several countries with flags and a top "highest match" — a slick, high-tech effect made for sharing.

Steps
2
Inputs
1
Runs
4
Template · pipeline2 steps
  1. 1
    openai-chat-completionid · step1 · model
    image_url
    $.inputs.Person
    max_tokens
    200
    model
    "gpt-5.1"
    system_prompt
    "You are an helpful assistant"
    temperature
    0
    +1 more param
  2. 2
    gpt-image-v2-editid · step2 · model
    aspect_ratio
    "Auto"
    background
    "auto"
    image_size
    "auto"
    image_urls
    [1 item]
    moderation
    "low"
    +4 more params
How to use this template
trigger.sh
sh
# 1. Trigger the workflow
EXEC=$(curl -s -X POST https://workflows.eachlabs.run/api/v1/ab4468d4-fc2c-4282-b231-29c784a82fd6/trigger \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
      "version_id": "v1",
      "inputs": {
        "Person": "https://cdn-us.eachlabs.ai/uploads/8e0145e4-22e1-4fe3-b4b9-5539128847ad.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 change1 input

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.

  • Personrequired
    default · 8e0145e4-22e1-4fe3-b4b9-5539128847ad.png
    image URL
Ideas for your remix
  • · Swap the input media to retell the story with different subjects.
  • · Edit the prompt inside openai-chat-completion 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