Hairstyle Changer
Change hairstyles and hair color in photos using AI. Upload a portrait and select from dozens of hairstyle options and 30+ hair colors to preview different looks before committing to a change.
Quick Start
Requires an each::labs API key. Get one at eachlabs.ai.
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "change-haircut",
"version": "0.0.1",
"input": {
"input_image": "https://example.com/selfie.jpg",
"haircut": "Bob",
"hair_color": "Platinum Blonde"
}
}'
Parameters
| Parameter |
Type |
Default |
Description |
| aspect_ratio |
string |
1:1 |
Output aspect ratio. Options: 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3, 4:5, 5:4, 21:9, 9:21, 2:1, 1:2 |
| gender |
string |
none |
Gender hint. Options: none, male, female |
| hair_color |
string |
No change |
Hair color. Options include: No change, Random, Blonde, Brunette, Black, Dark Brown, Medium Brown, Light Brown, Auburn, Copper, Red, Strawberry Blonde, Platinum Blonde, Silver, White, Blue, Purple, Pink, Green, Rose Gold, and more |
| haircut |
string |
No change |
Hairstyle. Options include: No change, Random, Straight, Wavy, Curly, Bob, Pixie Cut, Layered, Messy Bun, High Ponytail, French Braid, Undercut, Mohawk, Crew Cut, Slicked Back, Side-Parted, Blunt Bangs, Shag, Lob, Dreadlocks, Cornrows, Box Braids, Chignon, Beehive, Victory Rolls, and many more |
| input_image |
string |
- |
Image of the person. Must be jpeg, png, or webp |
| output_format |
string |
png |
Output format. Options: jpg, png |
| safety_tolerance |
integer |
2 |
Safety tolerance, 0 is most strict and 2 is most permissive |
| seed |
integer |
- |
Random seed for reproducible generation |
Examples
Try a pixie cut with auburn color:
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "change-haircut",
"version": "0.0.1",
"input": {
"input_image": "https://example.com/portrait.jpg",
"haircut": "Pixie Cut",
"hair_color": "Auburn",
"gender": "female",
"output_format": "png"
}
}'
Try a slicked back style for men:
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "change-haircut",
"version": "0.0.1",
"input": {
"input_image": "https://example.com/male-photo.jpg",
"haircut": "Slicked Back",
"hair_color": "Dark Brown",
"gender": "male"
}
}'
Random hairstyle and color:
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "change-haircut",
"version": "0.0.1",
"input": {
"input_image": "https://example.com/face.jpg",
"haircut": "Random",
"hair_color": "Random",
"seed": 42
}
}'
Related Models
Documentation
1---2name: change-haircut3description: Hairstyle Changer. Change hairstyles and hair color in photos using AI. Try different haircuts and colors on any portrait. Triggers: change hairstyle, haircut changer, hair color change, hairstyle ai, try hairstyle, virtual haircut, hair makeover, change hair4---56# Hairstyle Changer78Change hairstyles and hair color in photos using AI. Upload a portrait and select from dozens of hairstyle options and 30+ hair colors to preview different looks before committing to a change.910## Quick Start1112> Requires an each::labs API key. Get one at [eachlabs.ai](https://eachlabs.ai).1314```bash15curl -X POST https://api.eachlabs.ai/v1/prediction \16 -H "Content-Type: application/json" \17 -H "X-API-Key: $EACHLABS_API_KEY" \18 -d '{19 "model": "change-haircut",20 "version": "0.0.1",21 "input": {22 "input_image": "https://example.com/selfie.jpg",23 "haircut": "Bob",24 "hair_color": "Platinum Blonde"25 }26 }'27```2829## Parameters3031| Parameter | Type | Default | Description |32|-----------|------|---------|-------------|33| aspect_ratio | string | 1:1 | Output aspect ratio. Options: `1:1`, `16:9`, `9:16`, `4:3`, `3:4`, `3:2`, `2:3`, `4:5`, `5:4`, `21:9`, `9:21`, `2:1`, `1:2` |34| gender | string | none | Gender hint. Options: `none`, `male`, `female` |35| hair_color | string | No change | Hair color. Options include: `No change`, `Random`, `Blonde`, `Brunette`, `Black`, `Dark Brown`, `Medium Brown`, `Light Brown`, `Auburn`, `Copper`, `Red`, `Strawberry Blonde`, `Platinum Blonde`, `Silver`, `White`, `Blue`, `Purple`, `Pink`, `Green`, `Rose Gold`, and more |36| haircut | string | No change | Hairstyle. Options include: `No change`, `Random`, `Straight`, `Wavy`, `Curly`, `Bob`, `Pixie Cut`, `Layered`, `Messy Bun`, `High Ponytail`, `French Braid`, `Undercut`, `Mohawk`, `Crew Cut`, `Slicked Back`, `Side-Parted`, `Blunt Bangs`, `Shag`, `Lob`, `Dreadlocks`, `Cornrows`, `Box Braids`, `Chignon`, `Beehive`, `Victory Rolls`, and many more |37| input_image | string | - | Image of the person. Must be jpeg, png, or webp |38| output_format | string | png | Output format. Options: `jpg`, `png` |39| safety_tolerance | integer | 2 | Safety tolerance, 0 is most strict and 2 is most permissive |40| seed | integer | - | Random seed for reproducible generation |4142## Examples4344**Try a pixie cut with auburn color:**45```bash46curl -X POST https://api.eachlabs.ai/v1/prediction \47 -H "Content-Type: application/json" \48 -H "X-API-Key: $EACHLABS_API_KEY" \49 -d '{50 "model": "change-haircut",51 "version": "0.0.1",52 "input": {53 "input_image": "https://example.com/portrait.jpg",54 "haircut": "Pixie Cut",55 "hair_color": "Auburn",56 "gender": "female",57 "output_format": "png"58 }59 }'60```6162**Try a slicked back style for men:**63```bash64curl -X POST https://api.eachlabs.ai/v1/prediction \65 -H "Content-Type: application/json" \66 -H "X-API-Key: $EACHLABS_API_KEY" \67 -d '{68 "model": "change-haircut",69 "version": "0.0.1",70 "input": {71 "input_image": "https://example.com/male-photo.jpg",72 "haircut": "Slicked Back",73 "hair_color": "Dark Brown",74 "gender": "male"75 }76 }'77```7879**Random hairstyle and color:**80```bash81curl -X POST https://api.eachlabs.ai/v1/prediction \82 -H "Content-Type: application/json" \83 -H "X-API-Key: $EACHLABS_API_KEY" \84 -d '{85 "model": "change-haircut",86 "version": "0.0.1",87 "input": {88 "input_image": "https://example.com/face.jpg",89 "haircut": "Random",90 "hair_color": "Random",91 "seed": 4292 }93 }'94```9596## Related Models9798- [Cartoonify V2](../cartoonify-v2/) - Convert photos to cartoon style99- [Faceswap | Video](../faceswap-video/) - Swap faces in videos100- [Flux.1 Kontext | Pro](../flux-kontext-pro/) - AI image editing101102## Documentation103104- [each::labs Docs](https://docs.eachlabs.ai)105- [API Reference](https://docs.eachlabs.ai/api/overview)