portrait-enhancement

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Portrait Enhancement

人像照片优化

Transform portrait photos with professional-grade AI retouching using each::sense. This skill provides comprehensive portrait enhancement capabilities for photographers, content creators, and anyone looking to polish their photos.
借助each::sense的专业级AI修图功能,实现人像照片的蜕变。该技能为摄影师、内容创作者及所有想要美化照片的用户提供全面的人像优化能力。

Features

功能特性

  • Skin Smoothing: Natural texture-preserving skin retouching
  • Teeth Whitening: Brighten smiles while maintaining realism
  • Eye Enhancement: Brighten, sharpen, and enhance eye clarity
  • Blemish Removal: Remove acne, scars, and skin imperfections
  • Lighting Adjustment: Fix harsh shadows, add studio lighting effects
  • Background Blur (Bokeh): Create professional depth-of-field effects
  • Hair Enhancement: Add volume, shine, and fix flyaways
  • Makeup Enhancement: Enhance or add natural-looking makeup
  • Age Reduction: Subtle age-defying retouching
  • Professional Polish: Complete portrait finishing workflow
  • 磨皮美白:保留自然肤质的人像修图
  • 牙齿提亮:在保持真实感的同时提亮笑容
  • 眼部增强:提亮、锐化眼部,提升清晰度
  • 瑕疵去除:去除痘痘、疤痕及皮肤瑕疵
  • 光线调整:修复生硬阴影,添加影棚光效
  • 背景虚化(散景):打造专业的景深效果
  • 头发优化:增加蓬松感、光泽度,抚平毛躁
  • 妆容增强:优化或添加自然妆容
  • 减龄修图:自然的年轻化修图效果
  • 专业精修:完整的人像后期工作流

Quick Start

快速开始

bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Enhance this portrait with natural skin smoothing and subtle teeth whitening",
    "mode": "max",
    "image_urls": ["https://example.com/portrait.jpg"]
  }'
bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Enhance this portrait with natural skin smoothing and subtle teeth whitening",
    "mode": "max",
    "image_urls": ["https://example.com/portrait.jpg"]
  }'

API Configuration

API配置

SettingValue
Endpoint
POST https://sense.eachlabs.run/chat
Content-Type
application/json
Accept
text/event-stream
Client TimeoutMinimum 10 minutes
设置项
接口地址
POST https://sense.eachlabs.run/chat
内容类型
application/json
接收类型
text/event-stream
客户端超时时间至少10分钟

Mode Selection

模式选择

Ask your users before generating:
"Do you want fast & cheap, or high quality?"
ModeBest ForSpeedQuality
max
Final deliverables, client work, print-readySlowerHighest
eco
Quick previews, bulk processing, draftsFasterGood
生成前请询问用户:
"您需要快速低成本模式,还是高质量模式?"
模式适用场景速度质量
max
最终交付成果、客户项目、印刷级输出较慢最高
eco
快速预览、批量处理、草稿修图较快良好

Use Case Examples

应用场景示例

1. Skin Smoothing and Retouching

1. 磨皮美白修图

Natural skin smoothing that preserves texture and pores while reducing imperfections.
bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Apply natural skin smoothing to this portrait. Keep the skin texture realistic, reduce visible pores and fine lines, but avoid the plastic look. Maintain skin detail around eyes and lips.",
    "mode": "max",
    "image_urls": ["https://example.com/portrait.jpg"]
  }'
保留肤质和毛孔的自然磨皮效果,同时减少瑕疵。
bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Apply natural skin smoothing to this portrait. Keep the skin texture realistic, reduce visible pores and fine lines, but avoid the plastic look. Maintain skin detail around eyes and lips.",
    "mode": "max",
    "image_urls": ["https://example.com/portrait.jpg"]
  }'

2. Teeth Whitening

2. 牙齿提亮

Brighten teeth naturally without over-whitening.
bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Whiten the teeth in this portrait photo. Make them bright but natural looking - not Hollywood white. Remove any yellow or staining while keeping the natural tooth shape and texture.",
    "mode": "max",
    "image_urls": ["https://example.com/smile-portrait.jpg"]
  }'
自然提亮牙齿,避免过度美白。
bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Whiten the teeth in this portrait photo. Make them bright but natural looking - not Hollywood white. Remove any yellow or staining while keeping the natural tooth shape and texture.",
    "mode": "max",
    "image_urls": ["https://example.com/smile-portrait.jpg"]
  }'

3. Eye Enhancement

3. 眼部增强

Brighten and sharpen eyes for a more captivating look.
bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Enhance the eyes in this portrait. Brighten the whites, add subtle catchlights, increase iris clarity and color vibrancy, and reduce any redness or dark circles under the eyes. Keep it natural.",
    "mode": "max",
    "image_urls": ["https://example.com/headshot.jpg"]
  }'
提亮并锐化眼部,打造更具吸引力的效果。
bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Enhance the eyes in this portrait. Brighten the whites, add subtle catchlights, increase iris clarity and color vibrancy, and reduce any redness or dark circles under the eyes. Keep it natural.",
    "mode": "max",
    "image_urls": ["https://example.com/headshot.jpg"]
  }'

4. Blemish Removal

4. 瑕疵去除

Remove acne, scars, and temporary skin imperfections.
bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Remove blemishes from this portrait including acne spots, small scars, and any temporary skin imperfections. Keep moles and natural beauty marks. Preserve the natural skin texture in treated areas.",
    "mode": "max",
    "image_urls": ["https://example.com/portrait-blemishes.jpg"]
  }'
去除痘痘、疤痕及临时性皮肤瑕疵。
bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Remove blemishes from this portrait including acne spots, small scars, and any temporary skin imperfections. Keep moles and natural beauty marks. Preserve the natural skin texture in treated areas.",
    "mode": "max",
    "image_urls": ["https://example.com/portrait-blemishes.jpg"]
  }'

5. Lighting Adjustment

5. 光线调整

Fix poor lighting or add studio-quality lighting effects.
bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Fix the lighting in this portrait. It was taken in harsh midday sun with unflattering shadows. Apply soft studio-style lighting with gentle shadows, reduce harsh highlights on the forehead, and add subtle rim lighting for depth.",
    "mode": "max",
    "image_urls": ["https://example.com/harsh-light-portrait.jpg"]
  }'
修复糟糕的光线效果,添加影棚级光效。
bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Fix the lighting in this portrait. It was taken in harsh midday sun with unflattering shadows. Apply soft studio-style lighting with gentle shadows, reduce harsh highlights on the forehead, and add subtle rim lighting for depth.",
    "mode": "max",
    "image_urls": ["https://example.com/harsh-light-portrait.jpg"]
  }'

6. Background Blur (Bokeh)

6. 背景虚化(散景)

Create professional depth-of-field effects to make subjects stand out.
bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Add a professional bokeh effect to this portrait. Blur the background with a smooth, creamy quality like an 85mm f/1.4 lens. Keep the subject perfectly sharp including hair edges. The blur should gradually increase with distance from the subject.",
    "mode": "max",
    "image_urls": ["https://example.com/portrait-busy-background.jpg"]
  }'
打造专业的景深效果,让主体更突出。
bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Add a professional bokeh effect to this portrait. Blur the background with a smooth, creamy quality like an 85mm f/1.4 lens. Keep the subject perfectly sharp including hair edges. The blur should gradually increase with distance from the subject.",
    "mode": "max",
    "image_urls": ["https://example.com/portrait-busy-background.jpg"]
  }'

7. Hair Enhancement

7. 头发优化

Add volume, shine, and polish to hair.
bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Enhance the hair in this portrait. Add natural-looking shine and healthy luster, tame flyaway hairs, add subtle volume at the crown, and make the hair color more vibrant. Keep the overall hairstyle unchanged.",
    "mode": "max",
    "image_urls": ["https://example.com/portrait-hair.jpg"]
  }'
为头发增加蓬松感、光泽度,打造精致效果。
bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Enhance the hair in this portrait. Add natural-looking shine and healthy luster, tame flyaway hairs, add subtle volume at the crown, and make the hair color more vibrant. Keep the overall hairstyle unchanged.",
    "mode": "max",
    "image_urls": ["https://example.com/portrait-hair.jpg"]
  }'

8. Makeup Enhancement

8. 妆容增强

Enhance existing makeup or add subtle, natural-looking makeup.
bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Enhance the makeup in this portrait photo. Add subtle contouring to define cheekbones, slightly darken and define the eyebrows, add a soft natural lip color, and apply light mascara effect to the lashes. Keep everything looking natural and not overdone.",
    "mode": "max",
    "image_urls": ["https://example.com/natural-portrait.jpg"]
  }'
优化现有妆容,或添加自然的淡妆效果。
bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Enhance the makeup in this portrait photo. Add subtle contouring to define cheekbones, slightly darken and define the eyebrows, add a soft natural lip color, and apply light mascara effect to the lashes. Keep everything looking natural and not overdone.",
    "mode": "max",
    "image_urls": ["https://example.com/natural-portrait.jpg"]
  }'

9. Age Reduction

9. 减龄修图

Subtle, natural-looking age-defying retouching.
bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Apply subtle age reduction to this portrait. Soften fine lines and wrinkles, reduce sagging under the eyes, lift the corners of the mouth slightly, and add a healthy glow to the skin. The result should look natural - like a well-rested version, not like a different person.",
    "mode": "max",
    "image_urls": ["https://example.com/mature-portrait.jpg"]
  }'
自然、微妙的年轻化修图效果。
bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Apply subtle age reduction to this portrait. Soften fine lines and wrinkles, reduce sagging under the eyes, lift the corners of the mouth slightly, and add a healthy glow to the skin. The result should look natural - like a well-rested version, not like a different person.",
    "mode": "max",
    "image_urls": ["https://example.com/mature-portrait.jpg"]
  }'

10. Professional Portrait Polish

10. 专业人像精修

Complete professional retouching workflow combining multiple enhancements.
bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Give this portrait a complete professional polish suitable for a corporate headshot. Apply natural skin smoothing, subtle teeth whitening, eye enhancement with catchlights, blemish removal, soft studio lighting, gentle background blur, and hair touch-up. The final result should look polished but authentic - suitable for LinkedIn or company website.",
    "mode": "max",
    "image_urls": ["https://example.com/corporate-portrait.jpg"]
  }'
结合多种优化功能的完整专业修图工作流。
bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Give this portrait a complete professional polish suitable for a corporate headshot. Apply natural skin smoothing, subtle teeth whitening, eye enhancement with catchlights, blemish removal, soft studio lighting, gentle background blur, and hair touch-up. The final result should look polished but authentic - suitable for LinkedIn or company website.",
    "mode": "max",
    "image_urls": ["https://example.com/corporate-portrait.jpg"]
  }'

Multi-Turn Enhancement Workflow

多轮优化工作流

Use
session_id
to iteratively refine portrait enhancements:
bash
undefined
使用
session_id
逐步细化人像优化效果:
bash
undefined

Initial enhancement

初始优化

curl -X POST https://sense.eachlabs.run/chat
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "message": "Start with basic skin smoothing on this portrait", "session_id": "portrait-retouch-001", "image_urls": ["https://example.com/portrait.jpg"] }'
curl -X POST https://sense.eachlabs.run/chat
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "message": "Start with basic skin smoothing on this portrait", "session_id": "portrait-retouch-001", "image_urls": ["https://example.com/portrait.jpg"] }'

Add teeth whitening

添加牙齿提亮

curl -X POST https://sense.eachlabs.run/chat
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "message": "Now add subtle teeth whitening to the result", "session_id": "portrait-retouch-001" }'
curl -X POST https://sense.eachlabs.run/chat
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "message": "Now add subtle teeth whitening to the result", "session_id": "portrait-retouch-001" }'

Add eye enhancement

添加眼部增强

curl -X POST https://sense.eachlabs.run/chat
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "message": "Enhance the eyes - brighten and add catchlights", "session_id": "portrait-retouch-001" }'
curl -X POST https://sense.eachlabs.run/chat
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "message": "Enhance the eyes - brighten and add catchlights", "session_id": "portrait-retouch-001" }'

Final background blur

最终背景虚化

curl -X POST https://sense.eachlabs.run/chat
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "message": "Finally, add a gentle background blur for a professional look", "session_id": "portrait-retouch-001" }'
undefined
curl -X POST https://sense.eachlabs.run/chat
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "message": "Finally, add a gentle background blur for a professional look", "session_id": "portrait-retouch-001" }'
undefined

Batch Processing Multiple Portraits

批量处理多个人像

Process multiple portraits with consistent enhancement:
bash
undefined
批量处理多个人像,保持优化效果一致:
bash
undefined

Portrait 1

人像1

curl -X POST https://sense.eachlabs.run/chat
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "message": "Professional headshot retouch: natural skin smoothing, eye brightening, subtle background blur", "mode": "eco", "image_urls": ["https://example.com/team-member-1.jpg"] }'
curl -X POST https://sense.eachlabs.run/chat
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "message": "Professional headshot retouch: natural skin smoothing, eye brightening, subtle background blur", "mode": "eco", "image_urls": ["https://example.com/team-member-1.jpg"] }'

Portrait 2

人像2

curl -X POST https://sense.eachlabs.run/chat
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "message": "Professional headshot retouch: natural skin smoothing, eye brightening, subtle background blur", "mode": "eco", "image_urls": ["https://example.com/team-member-2.jpg"] }'
curl -X POST https://sense.eachlabs.run/chat
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "message": "Professional headshot retouch: natural skin smoothing, eye brightening, subtle background blur", "mode": "eco", "image_urls": ["https://example.com/team-member-2.jpg"] }'

Portrait 3

人像3

curl -X POST https://sense.eachlabs.run/chat
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "message": "Professional headshot retouch: natural skin smoothing, eye brightening, subtle background blur", "mode": "eco", "image_urls": ["https://example.com/team-member-3.jpg"] }'
undefined
curl -X POST https://sense.eachlabs.run/chat
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "message": "Professional headshot retouch: natural skin smoothing, eye brightening, subtle background blur", "mode": "eco", "image_urls": ["https://example.com/team-member-3.jpg"] }'
undefined

Prompt Tips for Portrait Enhancement

人像优化提示词技巧

When requesting portrait enhancements, include these details:
  1. Specific Enhancement: What exactly to enhance (skin, eyes, teeth, etc.)
  2. Intensity Level: Subtle, moderate, or dramatic
  3. Natural Look: Emphasize keeping results realistic
  4. Areas to Preserve: Features that should remain unchanged
  5. Use Case: Headshot, social media, print, etc.
请求人像优化时,请包含以下细节:
  1. 具体优化项:明确要优化的部位(皮肤、眼睛、牙齿等)
  2. 强度等级:轻微、中等或显著
  3. 自然效果:强调保持结果真实自然
  4. 保留区域:需要保持不变的特征
  5. 使用场景:证件照、社交媒体、印刷等

Example Prompt Structure

提示词结构示例

"Apply [enhancement type] to this portrait.
[Specific instructions for the enhancement].
Keep [what to preserve].
The result should look [desired outcome] for [use case]."
"为这张人像应用[优化类型]。
[优化的具体要求]。
保留[需要保留的内容]。
最终效果需符合[预期风格],适用于[使用场景]。"

Best Practices

最佳实践

Maintaining Realism

保持真实感

  • Always specify "natural looking" or "realistic" in prompts
  • Request preservation of skin texture when smoothing
  • Avoid over-whitening teeth or over-brightening eyes
  • Keep enhancements subtle for professional contexts
  • 提示词中始终明确“自然效果”或“真实感”
  • 磨皮时要求保留肤质
  • 避免过度美白牙齿或过度提亮眼部
  • 专业场景下保持优化效果轻微

Preserving Identity

保留个人特征

  • Don't request changes that alter facial structure
  • Preserve natural beauty marks and distinctive features
  • Keep skin tone consistent across the image
  • Maintain natural proportions
  • 不要请求改变面部结构的操作
  • 保留自然的美人痣和独特特征
  • 保持肤色在画面中一致
  • 维持自然的比例

Technical Considerations

技术注意事项

  • Provide high-resolution source images for best results
  • Images with good initial lighting enhance better
  • Front-facing portraits work best for most enhancements
  • JPG and PNG formats are supported
  • 提供高分辨率原图以获得最佳效果
  • 初始光线良好的照片优化效果更佳
  • 正面人像适用于大多数优化操作
  • 支持JPG和PNG格式

Error Handling

错误处理

ErrorCauseSolution
Failed to create prediction: HTTP 422
Insufficient balanceTop up at eachlabs.ai
Content policy violationProhibited contentEnsure portrait is appropriate
TimeoutComplex enhancementSet client timeout to minimum 10 minutes
No face detectedFace not visibleProvide clear portrait with visible face
错误信息原因解决方案
Failed to create prediction: HTTP 422
余额不足前往eachlabs.ai充值
内容政策违规包含违禁内容确保人像内容合规
超时优化操作复杂将客户端超时时间设置为至少10分钟
未检测到人脸人脸不可见提供人脸清晰可见的人像照片

Related Skills

相关技能

  • each-sense
    - Core API documentation
  • face-swap
    - Face swapping capabilities
  • image-edit
    - General image editing
  • image-generation
    - Generate new portraits from scratch
  • each-sense
    - 核心API文档
  • face-swap
    - 人脸互换功能
  • image-edit
    - 通用图像编辑
  • image-generation
    - 从头生成新的人像照片