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

# How to Use Headshot Generator in Cursor

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, no API key |

## Prompts to try with Headshot Generator in Cursor

- Use Headshot Generator on the founder portrait in this project's assets. Request a professional background and 3:4 framing, save the result separately, and show it in the existing about page.
- Use Headshot Generator to prepare headshots from the portraits used by our team page. Apply a corporate background and 3:4 framing throughout, then build a local preview for review.
- Use Headshot Generator on the author portrait referenced by our blog template. Choose a clean background, preserve the original asset, and preview the result beside an article byline.
- Use Headshot Generator on the speaker portrait in this project's conference assets. Request 4K output with 3:4 framing and a professional background, then preview it in the speaker biography layout.
- Use Headshot Generator to make two headshot drafts from the portfolio portrait in this project, one with a clean background and one with a gradient background. Keep the framing at 3:4 and show them side by side.

## How to set up Headshot Generator in Cursor

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

### Use Spiral's MCP server

1. **Add the hosted server**: Use Add to Cursor on the console's Agents & MCP page, or add this to `.cursor/mcp.json` (one project) or `~/.cursor/mcp.json` (every project):

```json
{
  "mcpServers": {
    "spiral": { "url": "https://api.spiral.ai/mcp" }
  }
}
```

2. **Sign in**: Open Cursor Settings › MCP, click Connect next to spiral, sign in to Spiral and click Authorize. No API key. Spiral then shows as connected, with its tools listed.

### Use the Spiral skill

1. **Send Cursor 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 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: Cursor finds Headshot Generator on Spiral, shows the price and runs it.

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

## 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 Cursor?

Create headshot assets for team pages, author biographies, and portfolios from existing portraits. A coding agent can place the results in the project and check how they appear in the actual layout.

### 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 Cursor guides](https://spiral.ai/integrations/cursor)

## 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)
- [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)
- [n8n](https://spiral.ai/integrations/n8n/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 Cursor guides

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

## Questions about Headshot Generator in Cursor

**Can Cursor use Headshot Generator?**

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

**How much does Headshot Generator cost in Cursor?**

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

**Do I need a fal account to use Headshot Generator in Cursor?**

No. Spiral runs Headshot Generator on its own fal account. You sign in to Spiral once and never paste a key.

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

About two minutes: add the hosted server, then sign in.

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

Headshot Generator runs in the background. Cursor 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.

