Spiral gives your agent every tool with one account. Browse the tools →

Muse Code · Image

How to Use fal Hair Change in Muse 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 Muse Code

Copy an example into Muse 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.

fal Hair ChangeMuse Code
Try asking
  • 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 Muse Code

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

Use Spiral's MCP server

  1. Install Muse Code
    curl -fsSL https://dev.meta.ai/install.sh | bash
  2. Ask Muse to add the server

    Start muse and ask:

    Add the Spiral MCP server at https://api.spiral.ai/mcp
  3. Sign in

    In your terminal, run:

    muse mcp login spiral

Use the Spiral skill

  1. Send Muse Code 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.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. 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: Muse 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.

falImage
Image Editing Hair Change
fal-ai/image-editing/hair-change

Settings you can ask for

fal Hair Change works from your image URL and hair style prompt. Ask Muse Code for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Guidance scale0 to 203.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 steps1 to 5030

Number of inference steps for sampling.

Safety tolerance1 to 62

The safety tolerance level for the generated image. 1 being the most strict and 6 being the most permissive.

Output formatjpeg or pngjpeg

The format of the generated image.

Aspect ratio21: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.

Seeda 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 Muse 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.

Questions about fal Hair Change in Muse Code

Can Muse Code use fal Hair Change?

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

How much does fal Hair Change cost in Muse 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 Muse Code plan is separate.

Do I need a fal account to use fal Hair Change in Muse 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 Muse Code?

About two minutes: install Muse Code, then ask Muse to add the server, then sign in.

Does Muse Code wait while fal Hair Change runs?

fal Hair Change runs in the background. Muse 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.

Get started

Start using fal Hair Change in Muse Code

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Muse Code:

Set up Muse Code

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options