[Integrations](https://spiral.ai/integrations) › [n8n](https://spiral.ai/integrations/n8n) › [Hair Change](https://spiral.ai/integrations/n8n/hair-change)

# How to Use Hair Change in n8n

Hair Change previews hairstyle and color changes on an existing portrait. Use it to compare cuts, textures, and shades before choosing a look.

|  |  |
| --- | --- |
| Model | Hair Change |
| Available through | fal |
| Category | Image |
| Price | $0.052 per image. |
| Returns | image |
| Runs | In the background |
| Setup | About 2 minutes, with a Spiral API key |

## Prompts to try with Hair Change in n8n

- Each Monday, use Hair Change on new consultation portraits to preview dark brown short hair and bobs. Prepare a labeled review set.
- Each morning, use Hair Change on newly submitted portraits requesting color ideas to compare blonde and auburn long hair.
- Every Friday, use Hair Change on new event consultation portraits to compare a black bun and a black high ponytail.
- Each week, use Hair Change on new texture consultation portraits to compare curly and wavy hair, both light brown.
- Each morning, use Hair Change on new gray-preview requests to create gray long-hair portraits. Pair each result with its original.

## How to set up Hair Change in n8n

Pick the way that suits you. Each takes about two minutes.

### Use the Spiral skill

1. **Send n8n this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use Spiral's MCP server

1. **Create a key**: Create a key under API keys in the console.

2. **Add an MCP Client node**: In a workflow, add an MCP Client node (or, under an AI Agent node, an MCP Client Tool) and set:

```text
https://api.spiral.ai/mcp
```

3. **Pick a tool**: The node lists Spiral's tools. In an MCP Client node pick one, such as `run`, and give it its arguments:

```json
{
  "provider": "fal",
  "model": "fal-ai/flux/schnell",
  "input": { "prompt": "a lighthouse at dawn" },
  "wait": true
}
```

4. **Run Hair Change in a workflow step**: Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds Hair Change, prices it and runs it each time the step fires.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run Hair Change**: One request; the result comes back by polling or a webhook.

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "fal",
    "model": "fal-ai/image-apps-v2/hair-change",
    "input": {
      "image_url": "https://v3.fal.media/files/zebra/1ois7lqES78dLualcytmS_1e088ef24f474972824cffcfdd7ff291.png"
    }
  }'
```

Then paste one of the prompts above: n8n finds Hair Change on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/n8n

## Hair Change tools and prices

- [Hair Change](https://spiral.ai/tools/fal/fal-ai/image-apps-v2/hair-change) (fal): $0.052 per image.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| target_hairstyle | short_hair, medium_long_hair, long_hair, curly_hair, wavy_hair, high_ponytail, bun, bob_cut, pixie_cut, braids, straight_hair, afro, dreadlocks, buzz_cut, mohawk, bangs, side_part, middle_part | long_hair |  |
| hair_color | black, dark_brown, light_brown, blonde, platinum_blonde, red, auburn, gray, silver, blue, green, purple, pink, rainbow, natural, highlights, ombre, balayage | natural |  |
| aspect_ratio |  | — | Aspect ratio for 4K output (default: 3:4 for portraits) |

## What can you do with Hair Change in n8n?

Prepare recurring hairstyle review sets from incoming portraits. A scheduled agent can organize Hair Change previews by person and requested look.

### Haircut consultation

Preview short hair, a bob, and long hair on one portrait to discuss with a stylist.

### Color appointment planning

Build a portrait comparison of brunette, blonde, and auburn looks before an appointment.

### Texture exploration

Compare curly and wavy looks using the same starting photo.

### Event hair planning

Preview a bun and a high ponytail to help choose an event look.

### Photo shoot concepts

Create hair color studies from a model's portrait for a shoot planning board.

### Gray hair preview

Try a gray hair edit on an existing portrait as a visual reference.

## Overview

- [fal](https://spiral.ai/providers/fal)
- [All n8n guides](https://spiral.ai/integrations/n8n)

## Hair Change in other agents

- [Amp](https://spiral.ai/integrations/amp/hair-change)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/hair-change)
- [Claude](https://spiral.ai/integrations/claude-desktop/hair-change)
- [Claude Code](https://spiral.ai/integrations/claude-code/hair-change)
- [Cline](https://spiral.ai/integrations/cline/hair-change)
- [Codex](https://spiral.ai/integrations/codex/hair-change)
- [Cursor](https://spiral.ai/integrations/cursor/hair-change)
- [Devin](https://spiral.ai/integrations/devin/hair-change)
- [dots](https://spiral.ai/integrations/dots/hair-change)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/hair-change)
- [Gemini](https://spiral.ai/integrations/gemini/hair-change)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/hair-change)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/hair-change)
- [goose](https://spiral.ai/integrations/goose/hair-change)
- [Grok](https://spiral.ai/integrations/grok/hair-change)
- [Grok Build](https://spiral.ai/integrations/grok-build/hair-change)
- [Hermes](https://spiral.ai/integrations/hermes/hair-change)
- [Instinct](https://spiral.ai/integrations/instinct/hair-change)
- [Manus](https://spiral.ai/integrations/manus/hair-change)
- [Muse](https://spiral.ai/integrations/muse/hair-change)
- [Muse Code](https://spiral.ai/integrations/muse-code/hair-change)
- [Notion](https://spiral.ai/integrations/notion/hair-change)
- [OpenClaw](https://spiral.ai/integrations/openclaw/hair-change)
- [opencode](https://spiral.ai/integrations/opencode/hair-change)
- [Perplexity](https://spiral.ai/integrations/perplexity/hair-change)
- [Raycast](https://spiral.ai/integrations/raycast/hair-change)
- [VS Code](https://spiral.ai/integrations/vscode/hair-change)
- [Windsurf](https://spiral.ai/integrations/windsurf/hair-change)
- [Zapier](https://spiral.ai/integrations/zapier/hair-change)

## More n8n guides

- [Grok Imagine Image Quality Text to Image](https://spiral.ai/integrations/n8n/grok-imagine-image-quality-text-to-image)
- [Headshot Generator](https://spiral.ai/integrations/n8n/headshot-generator)
- [Grok Imagine Image Quality Edit](https://spiral.ai/integrations/n8n/grok-imagine-image-quality-edit)
- [Hi3D Image to Relief](https://spiral.ai/integrations/n8n/hi3d-image-to-relief)
- [Grok Imagine Image Edit](https://spiral.ai/integrations/n8n/grok-imagine-image-edit)
- [HiDream I1 Fast](https://spiral.ai/integrations/n8n/hidream-i1-fast)

## Questions about Hair Change in n8n

**Can n8n use Hair Change?**

Yes. Add Spiral to n8n as an MCP server, and n8n can find and run Hair Change like any built-in tool.

**How much does Hair Change cost in n8n?**

$0.052 per image. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your n8n plan is separate.

**Do I need a fal account to use Hair Change in n8n?**

You need no fal account. n8n uses one Spiral API key for every tool, and Spiral runs Hair Change on its own fal account.

**How long does it take to set up Hair Change in n8n?**

About two minutes: create a key, then add an MCP Client node, then pick a tool.

**Does n8n wait while Hair Change runs?**

Hair Change runs in the background. n8n starts the run, checks on it and gives you the image when it's ready.

**What is Hair Change useful for?**

Previewing hairstyle and hair color changes on a portrait. Use the results to build a shortlist for a haircut, color appointment, or photo concept.

**Does Hair Change need a photo?**

Yes. Hair Change requires an existing portrait to edit.

**What resolution does Hair Change produce?**

The documentation describes 4K output, with 3:4 as the default portrait shape.

**Does 4K mean every result is 4096 pixels wide?**

The documentation does not establish a fixed 4096-pixel width. Check the returned image dimensions before planning a crop or print.

**How should I compare different looks?**

Use the same original portrait for each edit. Compare styles with one color first, then compare colors on your preferred style.

