How to Use fal Hair Change in Claude Code
fal Hair Change edits hairstyles in an existing image, including a completely bald look. Its focus is hair experimentation with natural lighting and realistic results.
Prompts to try with fal Hair Change in Claude Code
Copy an example into Claude Code, or ask in your own words.
Use fal Hair Change on the portrait in this project's assets folder to try a chin-length bob with blunt bangs. Save the result beside the original for review.
Use fal Hair Change on our demo portrait to create a bald look. Add it to the hairstyle comparison page and label the requested edit.
Use fal Hair Change to make three separate edits of the project's reference portrait: a pixie cut, shoulder-length waves, and long straight hair. Start each from the original and label the results.
Use fal Hair Change on the project's sample portrait with the prompt 'short curls with a side part.' Save the prompt and returned seed alongside the image for a repeatability check.
Use fal Hair Change to test two guidance values on the same project portrait with the same hairstyle prompt. Build a comparison view so I can inspect prompt adherence and unintended changes.
How to set up fal Hair Change in Claude Code
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the hosted server
This adds Spiral to the current project. Add --scope user to use it in every project.
claude mcp add --transport http spiral https://api.spiral.ai/mcp
- Sign in
Start claude, type /mcp, choose spiral and Authenticate. Sign in to Spiral in the browser and click Authorize. No API key.
Use the Spiral skill
- Send Claude Code this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run fal Hair Change
One request; the result comes back by polling or a webhook.
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-editing/hair-change", "input": { "image_url": "https://v3.fal.media/files/zebra/hAjCkcyly4gsS9-cptD3Y_image%20(20).png" } }'
Then paste one of the prompts above: Claude Code finds fal Hair Change on Spiral, shows the price and runs it.
fal Hair Change providers and prices
Spiral runs fal Hair Change through fal. Open a card for today's price, with every fee included.
Settings you can ask for
fal Hair Change works from your image URL and hair style prompt. Ask Claude Code for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Guidance scale | 0 to 20 | 3.5 | The CFG (Classifier Free Guidance) scale is a measure of how close you want the model to stick to your prompt when looking for a related image to show you. |
| Number of inference steps | 1 to 50 | 30 | Number of inference steps for sampling. |
| Safety tolerance | 1 to 6 | 2 | The safety tolerance level for the generated image. 1 being the most strict and 6 being the most permissive. |
| Output format | jpeg or png | jpeg | The format of the generated image. |
| Aspect ratio | 21:9, 16:9, 4:3, 3:2, 1:1, 2:3, 3:4, 9:16 and 1 more | The aspect ratio of the generated image. | |
| Seed | a whole number | The same seed and the same prompt given to the same version of the model will output the same image every time. |
Every API field of Image Editing Hair Change is on its tool page: open its card above.
What can you do with fal Hair Change in Claude Code?
Create hairstyle comparison assets from portraits in your project. Save each result beside its prompt so you can review the requested look against the edit.
Haircut consultation
Try a bob, pixie cut, and shoulder-length cut on the same portrait before discussing the choices with a stylist.
Bald look preview
Request a bald edit of a portrait to explore a different appearance before shaving.
Bangs comparison
Compare blunt bangs and side-swept bangs on one portrait. Request the same hair length in both edits.
Character appearance studies
Start with a character portrait and explore short curls, a close crop, or long straight hair for an appearance board.
Photo shoot planning
Use a subject's reference portrait to explore hairstyle directions before a portrait or fashion shoot.
Hairstyle comparison content
Create labeled hairstyle examples from a source portrait for a haircut guide. Inspect each edit before publishing.
More on fal Hair Change and Claude Code
Overview
fal Hair Change in other agents
Questions about fal Hair Change in Claude Code
Can Claude Code use fal Hair Change?
Yes. Add Spiral to Claude Code as an MCP server, and Claude Code can find and run fal Hair Change like any built-in tool.
How much does fal Hair Change cost in Claude Code?
$0.052 per image. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Claude Code plan is separate.
Do I need a fal account to use fal Hair Change in Claude Code?
No. Spiral runs fal Hair Change on its own fal account. You sign in to Spiral once and never paste a key.
How long does it take to set up fal Hair Change in Claude Code?
About two minutes: add the hosted server, then sign in.
Does Claude Code wait while fal Hair Change runs?
fal Hair Change runs in the background. Claude Code starts the run, checks on it and gives you the image when it's ready.
What is fal Hair Change useful for?
It changes hairstyles in an existing image. Try it for haircut previews, salon consultation images, or character appearance studies.
Can fal Hair Change preview a bald look?
Yes. Bald looks are explicitly included in fal's description, so a direct instruction such as “bald” is a supported starting point.
How should I describe a hairstyle?
Write a concrete target such as “chin-length bob with blunt bangs.” As a practical comparison method, change one detail at a time, such as length or part placement.
Does fal Hair Change aim for realistic results?
fal describes natural lighting and realistic results as its goals. Review the hairline, face, and background before choosing an edit.
How can I repeat an edit?
Keep the source image and settings unchanged, and reuse the same prompt and seed. fal documents repeatability for the same seed, prompt, and model version.
Start using fal Hair Change in Claude Code
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Claude Code:
set up https://spiral.ai/SKILL.md


