[Integrations](https://spiral.ai/integrations) › [n8n](https://spiral.ai/integrations/n8n) › [Headshot Generator](https://spiral.ai/integrations/n8n/headshot-generator)

# How to Use Headshot Generator in n8n

Headshot Generator turns an existing portrait into a professional headshot with a customizable background. Use it for profile photos, team pages, and speaker bios, with documented 4K output.

|  |  |
| --- | --- |
| Model | Headshot Generator |
| 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 Headshot Generator in n8n

- Every Monday, use Headshot Generator on newly submitted employee portraits. Choose a corporate background and three-to-four portrait framing, and collect the headshot drafts for review.
- Each morning, use Headshot Generator on new portraits submitted by confirmed conference speakers. Choose a professional background and keep each result labeled with the speaker's name.
- Once a week, use Headshot Generator on new contributor portraits submitted for our publication. Choose a clean background and three-to-four portrait framing, and collect the results beside their originals.
- Each Friday, use Headshot Generator on newly submitted consultant portraits for our directory. Request 4K output with a professional background and three-to-four framing, then prepare a review gallery.
- Every morning, use Headshot Generator on newly submitted leadership portraits. Make a clean-background draft and a corporate-background draft from each portrait, keeping the framing consistent for comparison.

## How to set up Headshot Generator 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 Headshot Generator in a workflow step**: Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds Headshot Generator, 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 Headshot Generator**: 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/headshot-photo",
    "input": {
      "image_url": "https://v3.fal.media/files/panda/oMob58qZJRtbDs5l45QKT_e3a1512c455d425fab2d62e07a51c506.png"
    }
  }'
```

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

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

## Headshot Generator tools and prices

- [Headshot Generator](https://spiral.ai/tools/fal/fal-ai/image-apps-v2/headshot-photo) (fal): $0.052 per image.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| background_style | professional, corporate, clean, gradient | professional |  |
| aspect_ratio |  | — | Aspect ratio for 4K output (default: 3:4 for portraits) |

## What can you do with Headshot Generator in n8n?

Prepare headshot drafts as new portraits arrive for an employee directory or event program. A scheduled agent can apply a consistent treatment and collect the results for review.

### Professional profile photos

Turn an existing portrait into a headshot for a professional profile. Review it at the small size visitors will actually see.

### Company team pages

Create headshots from employee portraits using the same background treatment. Compare the results together before adding them to the team page.

### Conference speaker biographies

Prepare headshots from speaker portraits for event biographies and session pages. Keep each result associated with the correct speaker.

### Author biographies

Use an author's existing portrait to prepare a headshot for article bylines, book pages, or a press biography.

### Consultant and freelancer portfolios

Create a professional headshot from a supplied portrait for an about page or service proposal. Choose the background treatment to suit the destination.

### New employee directories

Process newly submitted employee portraits into headshot drafts for an internal directory. Keep the originals available for comparison.

## Overview

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

## Headshot Generator in other agents

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

## More n8n guides

- [Hair Change](https://spiral.ai/integrations/n8n/hair-change)
- [Hi3D Image to Relief](https://spiral.ai/integrations/n8n/hi3d-image-to-relief)
- [Grok Imagine Image Quality Text to Image](https://spiral.ai/integrations/n8n/grok-imagine-image-quality-text-to-image)
- [HiDream I1 Fast](https://spiral.ai/integrations/n8n/hidream-i1-fast)
- [Grok Imagine Image Quality Edit](https://spiral.ai/integrations/n8n/grok-imagine-image-quality-edit)
- [HiDream I1 Full](https://spiral.ai/integrations/n8n/hidream-i1-full)

## Questions about Headshot Generator in n8n

**Can n8n use Headshot Generator?**

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

**How much does Headshot Generator 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 Headshot Generator in n8n?**

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

**How long does it take to set up Headshot Generator in n8n?**

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

**Does n8n wait while Headshot Generator runs?**

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

**What is Headshot Generator good for?**

Headshot Generator creates professional headshots from existing portraits with customizable backgrounds. Suggested uses include professional profiles, company directories, and speaker biographies.

**Can Headshot Generator create a person from a written description?**

Headshot Generator is documented as an image-to-image tool. Start with a portrait of the person you want pictured.

**What resolution does Headshot Generator produce?**

The documentation describes 4K output and a 3:4 portrait default. Specify 3:4 explicitly when you want that framing.

**How should I brief an agent using Headshot Generator?**

Identify the source portrait, the intended use, and the background treatment you want. For a team directory, request the same treatment and framing for each person, then review the results together.

**What should I check before using a generated headshot?**

Compare it with the original portrait, paying attention to facial features, hair, glasses, and the edges around the subject. Check the intended crop and ask the person pictured to review the result.

