G
GetLLMs

Change Haircut and Hair Color

Unlock endless possibilities for your portrait photos. Ready to experience the power of AI? Start your journey here!

Platform: Replicate
Hair Style EditingHair Color ChangerPortrait Transformation
13.4k runs
Warm⟨1⟩
0.04 per output image
Commercial

🚀Function Overview

This model edits portrait photos to modify hairstyles and hair colors using text-guided image transformation.

Key Features

  • Hairstyle modification through text prompts
  • Hair color alteration based on descriptive input
  • Aspect ratio preservation matching the original image
  • Reproducible results via seed control
  • Adjustable content safety filters

Use Cases

  • Experimenting with new hairstyles virtually
  • Visualizing hair color changes before salon visits
  • Creating avatar variations for character design

⚙️Input Parameters

input_image

string

Image of the person's haircut you want to edit. Must be jpeg, png, gif, or webp.

haircut

string

The haircut to give them

hair_color

string

The color of the person's hair

gender

string

The gender of the person

aspect_ratio

string

Aspect ratio of the generated image. Use 'match_input_image' to match the aspect ratio of the input image.

seed

integer

Random seed. Set for reproducible generation

output_format

string

Output format for the generated image

safety_tolerance

integer

Safety tolerance, 0 is most strict and 2 is most permissive. 2 is currently the maximum allowed.

💡Usage Examples

Example 1

Input Parameters

{
  "gender": "none",
  "haircut": "Random",
  "hair_color": "Random",
  "input_image": "https://replicate.delivery/pbxt/N59ByLfdAQG73Kk5kxpVQ5OcN4cji8rYLuEBk4kVPYML9Fx2/0_1.webp",
  "aspect_ratio": "match_input_image"
}

Output Results

https://replicate.delivery/xezq/MfGIVaVyn2UEP6pCaDkjMDvPWMgGEt0N3g96yNwbnQkV8bYKA/tmpaz81d5ea.png

Quick Actions

Technical Specifications

Hardware Type
Warm⟨1⟩
Run Count
13.4k
Commercial Use
Supported
Pricing
0.04 per output image
Platform
Replicate

Related Keywords

Hairstyle modificationHair color alterationPortrait transformationExperiment with new hairstylesVisualize hair color changes