hair-color-changer
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseHair 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
undefinedbash
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
undefinedElectric 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" }'
-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" }'
```bashcurl -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" }'
-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" }'
```bashPastel 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" }'
-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" }'
undefinedcurl -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" }'
-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" }'
undefined5. 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
undefinedbash
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
undefinedFantasy 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" }'
-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" }'
undefinedcurl -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" }'
-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" }'
undefined6. 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
undefinedbash
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
undefinedBabylights 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" }'
-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" }'
undefinedcurl -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" }'
-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" }'
undefined7. 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
undefinedbash
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
undefinedPlatinum 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" }'
-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" }'
undefinedcurl -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" }'
-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" }'
undefined8. 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
undefinedbash
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
undefinedWarm 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" }'
-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" }'
undefinedcurl -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" }'
-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" }'
undefined9. Multiple Color Options from Same Photo
9. 同一张照片尝试多种颜色
Use to try different colors on the same photo:
session_idbash
undefined使用在同一张照片上尝试不同颜色:
session_idbash
undefinedFirst 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" }'
-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" }'
-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" }'
-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" }'
-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" }'
-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" }'
undefinedcurl -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" }'
-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" }'
undefined10. 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
undefinedbash
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
undefinedIterative 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" }'
-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" }'
-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" }'
-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" }'
undefinedcurl -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" }'
-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" }'
undefinedBest 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
提示技巧
- Be Specific: Describe the exact shade you want (e.g., "warm honey blonde" vs just "blonde")
- Reference Tones: Mention undertones (warm, cool, neutral, ashy, golden)
- Texture Preservation: Request to maintain natural texture and shine
- Realistic Expectations: Fantasy colors may look more vibrant on lighter base colors
- 具体明确:描述你想要的精确色调(例如,"暖蜂蜜金色"而非仅"金色")
- 提及色调:说明底色(暖色调、冷色调、中性色调、灰调、金色调)
- 保留质感:要求保留自然质感和光泽
- 合理预期:奇幻色彩在较浅底色上看起来更鲜艳
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?"
| Mode | Best For | Speed | Quality |
|---|---|---|---|
| Final results, client presentations, portfolio work | Slower | Highest |
| Quick previews, trying multiple colors, concept exploration | Faster | Good |
"你想要快速结果还是最高质量?"
| 模式 | 适用场景 | 速度 | 质量 |
|---|---|---|---|
| 最终结果、客户展示、作品集工作 | 较慢 | 最高 |
| 快速预览、尝试多种颜色、概念探索 | 较快 | 良好 |
Multi-Turn Color Exploration
多轮色彩探索
Use to iterate and explore colors:
session_idbash
undefined使用迭代探索不同颜色:
session_idbash
undefinedStart 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" }'
-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" }'
-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" }'
-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" }'
-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" }'
-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" }'
undefinedcurl -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" }'
-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" }'
undefinedError Handling
错误处理
| Error | Cause | Solution |
|---|---|---|
| Insufficient balance | Top up at eachlabs.ai |
| No hair detected | Hair not visible in image | Use a clearer photo with visible hair |
| Unnatural results | Low quality source image | Use higher resolution photo with good lighting |
| Timeout | Complex generation | Set client timeout to minimum 10 minutes |
| 错误 | 原因 | 解决方案 |
|---|---|---|
| 余额不足 | 在eachlabs.ai充值 |
| No hair detected | 图像中头发不可见 | 使用头发清晰可见的照片 |
| Unnatural results | 源图像质量低 | 使用光线良好的高分辨率照片 |
| Timeout | 生成过程复杂 | 将客户端超时设置为至少10分钟 |
Related Skills
相关功能
- - Core API documentation
each-sense - - Face swapping capabilities
face-swap - - General image editing
image-edit - - E-commerce product shots
product-photo-generation
- - 核心API文档
each-sense - - 人脸互换功能
face-swap - - 通用图像编辑
image-edit - - 电商产品照片生成
product-photo-generation