hair-color-changer

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Hair Color Changer

头发颜色更改工具

Transform hair color in photos using each::sense. This skill enables realistic hair color changes from subtle natural variations to bold fantasy colors, with support for complex effects like ombre, highlights, and multi-tone styling.
使用each::sense更改照片中的头发颜色。该功能可实现逼真的头发颜色更改,从细微的自然色调变化到大胆的奇幻色彩,还支持渐变、挑染和多色调造型等复杂效果。

Features

功能特性

  • Natural Colors: Blonde, brunette, black, red, auburn
  • Fantasy Colors: Purple, blue, pink, green, and more
  • Ombre & Gradient: Smooth color transitions from roots to tips
  • Highlights & Lowlights: Multi-dimensional color effects
  • Gray & Silver: Elegant silver, platinum, and gray tones
  • Color Correction: Fix or enhance existing hair color
  • Multi-Turn Sessions: Iterate on results and try different colors
  • 自然色调:金色、深棕色、黑色、红色、赤褐色
  • 奇幻色彩:紫色、蓝色、粉色、绿色等
  • 渐变效果:从发根到发梢的平滑色彩过渡
  • 挑染与补染:多层次的色彩效果
  • 灰色与银色:优雅的银色、铂金色和灰色调
  • 色彩校正:修复或增强现有头发颜色
  • 多轮会话:迭代优化结果,尝试不同颜色

Quick Start

快速开始

bash
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Change the hair color to platinum blonde, keep it looking natural and shiny"}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/portrait.jpg"],
    "mode": "max"
  }'
bash
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Change the hair color to platinum blonde, keep it looking natural and shiny"}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/portrait.jpg"],
    "mode": "max"
  }'

Use Case Examples

使用案例示例

1. Change Hair to Blonde

1. 将头发改为金色

bash
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Change the hair to a warm honey blonde color. Keep the hair texture and shine natural, maintain realistic highlights throughout."}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/original-photo.jpg"],
    "mode": "max"
  }'
bash
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Change the hair to a warm honey blonde color. Keep the hair texture and shine natural, maintain realistic highlights throughout."}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/original-photo.jpg"],
    "mode": "max"
  }'

2. Change Hair to Brunette

2. 将头发改为深棕色

bash
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Transform the hair to a rich chocolate brown color. Add subtle warm undertones and natural-looking dimension to the brunette shade."}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/portrait.jpg"],
    "mode": "max"
  }'
bash
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Transform the hair to a rich chocolate brown color. Add subtle warm undertones and natural-looking dimension to the brunette shade."}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/portrait.jpg"],
    "mode": "max"
  }'

3. Change Hair to Red/Auburn

3. 将头发改为红色/赤褐色

bash
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Change the hair color to a vibrant auburn red. Make it look like natural ginger hair with copper highlights that catch the light."}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/model-photo.jpg"],
    "mode": "max"
  }'
bash
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Change the hair color to a vibrant auburn red. Make it look like natural ginger hair with copper highlights that catch the light."}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/model-photo.jpg"],
    "mode": "max"
  }'

4. Fantasy Colors (Purple, Blue, Pink)

4. 奇幻色彩(紫色、蓝色、粉色)

bash
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Transform the hair to a vivid galaxy purple color. Make it look like professionally dyed hair with deep violet tones and subtle blue undertones. Keep the hair healthy and shiny looking."}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/portrait.jpg"],
    "mode": "max"
  }'
bash
undefined
bash
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Transform the hair to a vivid galaxy purple color. Make it look like professionally dyed hair with deep violet tones and subtle blue undertones. Keep the hair healthy and shiny looking."}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/portrait.jpg"],
    "mode": "max"
  }'
bash
undefined

Electric blue hair

Electric blue hair

curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "messages": [{"role": "user", "content": "Change the hair to electric blue color, like a bold fashion statement. Mix of deep blue and bright cyan tones throughout."}], "model": "eachsense/beta", "stream": true, "image_urls": ["https://example.com/photo.jpg"], "mode": "max" }'

```bash
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "messages": [{"role": "user", "content": "Change the hair to electric blue color, like a bold fashion statement. Mix of deep blue and bright cyan tones throughout."}], "model": "eachsense/beta", "stream": true, "image_urls": ["https://example.com/photo.jpg"], "mode": "max" }'

```bash

Pastel pink hair

Pastel pink hair

curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "messages": [{"role": "user", "content": "Transform the hair to a soft pastel pink color. Think rose gold meets cotton candy - delicate, feminine, and Instagram-worthy."}], "model": "eachsense/beta", "stream": true, "image_urls": ["https://example.com/headshot.jpg"], "mode": "max" }'
undefined
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "messages": [{"role": "user", "content": "Transform the hair to a soft pastel pink color. Think rose gold meets cotton candy - delicate, feminine, and Instagram-worthy."}], "model": "eachsense/beta", "stream": true, "image_urls": ["https://example.com/headshot.jpg"], "mode": "max" }'
undefined

5. Ombre/Gradient Effect

5. 渐变效果

bash
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Create an ombre hair effect - dark brown roots transitioning smoothly to caramel blonde at the ends. Make the gradient look natural and well-blended like salon balayage."}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/full-portrait.jpg"],
    "mode": "max"
  }'
bash
undefined
bash
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Create an ombre hair effect - dark brown roots transitioning smoothly to caramel blonde at the ends. Make the gradient look natural and well-blended like salon balayage."}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/full-portrait.jpg"],
    "mode": "max"
  }'
bash
undefined

Fantasy ombre

Fantasy ombre

curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "messages": [{"role": "user", "content": "Create a fantasy ombre effect with dark purple roots fading into bright pink, then to peachy coral at the tips. Smooth gradient transitions like a sunset."}], "model": "eachsense/beta", "stream": true, "image_urls": ["https://example.com/model.jpg"], "mode": "max" }'
undefined
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "messages": [{"role": "user", "content": "Create a fantasy ombre effect with dark purple roots fading into bright pink, then to peachy coral at the tips. Smooth gradient transitions like a sunset."}], "model": "eachsense/beta", "stream": true, "image_urls": ["https://example.com/model.jpg"], "mode": "max" }'
undefined

6. Highlights and Lowlights

6. 挑染与补染

bash
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Add dimensional highlights and lowlights to the hair. Keep the base color but add face-framing blonde highlights and subtle caramel lowlights throughout for depth and dimension."}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/brunette-photo.jpg"],
    "mode": "max"
  }'
bash
undefined
bash
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Add dimensional highlights and lowlights to the hair. Keep the base color but add face-framing blonde highlights and subtle caramel lowlights throughout for depth and dimension."}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/brunette-photo.jpg"],
    "mode": "max"
  }'
bash
undefined

Babylights effect

Babylights effect

curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "messages": [{"role": "user", "content": "Add subtle babylights throughout the hair - very fine, delicate highlights like sun-kissed natural lightening. Keep it soft and natural looking."}], "model": "eachsense/beta", "stream": true, "image_urls": ["https://example.com/portrait.jpg"], "mode": "max" }'
undefined
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "messages": [{"role": "user", "content": "Add subtle babylights throughout the hair - very fine, delicate highlights like sun-kissed natural lightening. Keep it soft and natural looking."}], "model": "eachsense/beta", "stream": true, "image_urls": ["https://example.com/portrait.jpg"], "mode": "max" }'
undefined

7. Gray/Silver Hair

7. 灰色/银色头发

bash
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Transform the hair to an elegant silver gray color. Make it look like intentional fashion-forward silver hair, not aging gray - metallic, shiny, and well-maintained."}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/fashion-photo.jpg"],
    "mode": "max"
  }'
bash
undefined
bash
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Transform the hair to an elegant silver gray color. Make it look like intentional fashion-forward silver hair, not aging gray - metallic, shiny, and well-maintained."}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/fashion-photo.jpg"],
    "mode": "max"
  }'
bash
undefined

Platinum silver

Platinum silver

curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "messages": [{"role": "user", "content": "Change hair to platinum silver with icy undertones. Think high fashion editorial silver - cool-toned, luminous, and striking."}], "model": "eachsense/beta", "stream": true, "image_urls": ["https://example.com/model-headshot.jpg"], "mode": "max" }'
undefined
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "messages": [{"role": "user", "content": "Change hair to platinum silver with icy undertones. Think high fashion editorial silver - cool-toned, luminous, and striking."}], "model": "eachsense/beta", "stream": true, "image_urls": ["https://example.com/model-headshot.jpg"], "mode": "max" }'
undefined

8. Natural Color Variations

8. 自然色调调整

bash
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Adjust the hair color to be 2 shades darker, turning it from medium brown to a deep espresso brown. Keep all the natural texture and shine."}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/natural-photo.jpg"],
    "mode": "max"
  }'
bash
undefined
bash
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Adjust the hair color to be 2 shades darker, turning it from medium brown to a deep espresso brown. Keep all the natural texture and shine."}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/natural-photo.jpg"],
    "mode": "max"
  }'
bash
undefined

Warm up cool tones

Warm up cool tones

curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "messages": [{"role": "user", "content": "Add warm golden undertones to the existing hair color. Keep the same overall shade but remove any ashy tones and make it warmer and more vibrant."}], "model": "eachsense/beta", "stream": true, "image_urls": ["https://example.com/portrait.jpg"], "mode": "eco" }'
undefined
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "messages": [{"role": "user", "content": "Add warm golden undertones to the existing hair color. Keep the same overall shade but remove any ashy tones and make it warmer and more vibrant."}], "model": "eachsense/beta", "stream": true, "image_urls": ["https://example.com/portrait.jpg"], "mode": "eco" }'
undefined

9. Multiple Color Options from Same Photo

9. 同一张照片尝试多种颜色

Use
session_id
to try different colors on the same photo:
bash
undefined
使用
session_id
在同一张照片上尝试不同颜色:
bash
undefined

First option - Blonde

First option - Blonde

curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "messages": [{"role": "user", "content": "Change my hair to platinum blonde. I want to see how I would look with this color."}], "model": "eachsense/beta", "stream": true, "image_urls": ["https://example.com/my-photo.jpg"], "session_id": "hair-color-tryout-001", "mode": "eco" }'
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "messages": [{"role": "user", "content": "Change my hair to platinum blonde. I want to see how I would look with this color."}], "model": "eachsense/beta", "stream": true, "image_urls": ["https://example.com/my-photo.jpg"], "session_id": "hair-color-tryout-001", "mode": "eco" }'

Second option - Red (same session)

Second option - Red (same session)

curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "messages": [{"role": "user", "content": "Now show me the same photo but with fiery red hair instead."}], "model": "eachsense/beta", "stream": true, "session_id": "hair-color-tryout-001", "mode": "eco" }'
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "messages": [{"role": "user", "content": "Now show me the same photo but with fiery red hair instead."}], "model": "eachsense/beta", "stream": true, "session_id": "hair-color-tryout-001", "mode": "eco" }'

Third option - Black (same session)

Third option - Black (same session)

curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "messages": [{"role": "user", "content": "And one more variation with jet black hair please."}], "model": "eachsense/beta", "stream": true, "session_id": "hair-color-tryout-001", "mode": "eco" }'
undefined
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "messages": [{"role": "user", "content": "And one more variation with jet black hair please."}], "model": "eachsense/beta", "stream": true, "session_id": "hair-color-tryout-001", "mode": "eco" }'
undefined

10. Before/After Comparison

10. 前后对比

bash
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Change the hair to rose gold color, then create a side-by-side before and after comparison showing the original on the left and the new color on the right."}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/original-portrait.jpg"],
    "mode": "max"
  }'
bash
undefined
bash
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Change the hair to rose gold color, then create a side-by-side before and after comparison showing the original on the left and the new color on the right."}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/original-portrait.jpg"],
    "mode": "max"
  }'
bash
undefined

Iterative refinement for comparison

Iterative refinement for comparison

curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "messages": [{"role": "user", "content": "Transform the hair to strawberry blonde."}], "model": "eachsense/beta", "stream": true, "image_urls": ["https://example.com/client-photo.jpg"], "session_id": "client-consultation-001", "mode": "max" }'
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "messages": [{"role": "user", "content": "Transform the hair to strawberry blonde."}], "model": "eachsense/beta", "stream": true, "image_urls": ["https://example.com/client-photo.jpg"], "session_id": "client-consultation-001", "mode": "max" }'

Follow-up to adjust

Follow-up to adjust

curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "messages": [{"role": "user", "content": "Make the strawberry blonde a bit more pink and less orange. Also make it slightly lighter overall."}], "model": "eachsense/beta", "stream": true, "session_id": "client-consultation-001", "mode": "max" }'
undefined
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "messages": [{"role": "user", "content": "Make the strawberry blonde a bit more pink and less orange. Also make it slightly lighter overall."}], "model": "eachsense/beta", "stream": true, "session_id": "client-consultation-001", "mode": "max" }'
undefined

Best Practices

最佳实践

Getting Realistic Results

获取逼真效果

  • Good Lighting: Use photos with clear, even lighting on the hair
  • Hair Visibility: Ensure the hair is clearly visible and not obscured
  • Face Forward: Front-facing or 3/4 angle photos work best
  • High Resolution: Higher quality source images yield better results
  • 良好光线:使用头发上光线清晰均匀的照片
  • 头发可见:确保头发清晰可见,没有被遮挡
  • 正面角度:正面或3/4角度的照片效果最佳
  • 高分辨率:高质量的源图像能产生更好的结果

Prompt Tips

提示技巧

  1. Be Specific: Describe the exact shade you want (e.g., "warm honey blonde" vs just "blonde")
  2. Reference Tones: Mention undertones (warm, cool, neutral, ashy, golden)
  3. Texture Preservation: Request to maintain natural texture and shine
  4. Realistic Expectations: Fantasy colors may look more vibrant on lighter base colors
  1. 具体明确:描述你想要的精确色调(例如,"暖蜂蜜金色"而非仅"金色")
  2. 提及色调:说明底色(暖色调、冷色调、中性色调、灰调、金色调)
  3. 保留质感:要求保留自然质感和光泽
  4. 合理预期:奇幻色彩在较浅底色上看起来更鲜艳

Example Prompt Structure

提示示例结构

"Change the hair to [specific color with undertones].
[Additional details about dimension, highlights, or effects].
Keep the hair looking [natural/healthy/shiny/textured]."
"Change the hair to [specific color with undertones].
[Additional details about dimension, highlights, or effects].
Keep the hair looking [natural/healthy/shiny/textured]."

Mode Selection

模式选择

"Do you want fast results or highest quality?"
ModeBest ForSpeedQuality
max
Final results, client presentations, portfolio workSlowerHighest
eco
Quick previews, trying multiple colors, concept explorationFasterGood
"你想要快速结果还是最高质量?"
模式适用场景速度质量
max
最终结果、客户展示、作品集工作较慢最高
eco
快速预览、尝试多种颜色、概念探索较快良好

Multi-Turn Color Exploration

多轮色彩探索

Use
session_id
to iterate and explore colors:
bash
undefined
使用
session_id
迭代探索不同颜色:
bash
undefined

Start with a base change

Start with a base change

curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "messages": [{"role": "user", "content": "Change my hair to copper red"}], "model": "eachsense/beta", "stream": true, "image_urls": ["https://example.com/selfie.jpg"], "session_id": "hair-exploration" }'
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "messages": [{"role": "user", "content": "Change my hair to copper red"}], "model": "eachsense/beta", "stream": true, "image_urls": ["https://example.com/selfie.jpg"], "session_id": "hair-exploration" }'

Request adjustment

Request adjustment

curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "messages": [{"role": "user", "content": "Make it more auburn and less orange, add some brown lowlights"}], "model": "eachsense/beta", "stream": true, "session_id": "hair-exploration" }'
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "messages": [{"role": "user", "content": "Make it more auburn and less orange, add some brown lowlights"}], "model": "eachsense/beta", "stream": true, "session_id": "hair-exploration" }'

Try a completely different direction

Try a completely different direction

curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "messages": [{"role": "user", "content": "Actually, let me see the original photo with silver gray hair instead"}], "model": "eachsense/beta", "stream": true, "session_id": "hair-exploration" }'
undefined
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "messages": [{"role": "user", "content": "Actually, let me see the original photo with silver gray hair instead"}], "model": "eachsense/beta", "stream": true, "session_id": "hair-exploration" }'
undefined

Error Handling

错误处理

ErrorCauseSolution
Failed to create prediction: HTTP 422
Insufficient balanceTop up at eachlabs.ai
No hair detectedHair not visible in imageUse a clearer photo with visible hair
Unnatural resultsLow quality source imageUse higher resolution photo with good lighting
TimeoutComplex generationSet client timeout to minimum 10 minutes
错误原因解决方案
Failed to create prediction: HTTP 422
余额不足在eachlabs.ai充值
No hair detected图像中头发不可见使用头发清晰可见的照片
Unnatural results源图像质量低使用光线良好的高分辨率照片
Timeout生成过程复杂将客户端超时设置为至少10分钟

Related Skills

相关功能

  • each-sense
    - Core API documentation
  • face-swap
    - Face swapping capabilities
  • image-edit
    - General image editing
  • product-photo-generation
    - E-commerce product shots
  • each-sense
    - 核心API文档
  • face-swap
    - 人脸互换功能
  • image-edit
    - 通用图像编辑
  • product-photo-generation
    - 电商产品照片生成