npx skills add https://github.com/eachlabs/skills --skill portrait-enhancement使用 each::sense 的专业级 AI 修图技术,对肖像照片进行美化。此技能为摄影师、内容创作者以及任何希望优化照片的人提供全面的肖像增强功能。
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"]
}'
| 设置项 |
|---|
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
| 值 |
|---|
| 端点 | POST https://sense.eachlabs.run/chat |
| Content-Type | application/json |
| Accept | text/event-stream |
| 客户端超时 | 最少 10 分钟 |
在生成前询问您的用户:
"您想要快速且经济,还是高质量?"
| 模式 | 最适合 | 速度 | 质量 |
|---|---|---|---|
max | 最终交付物、客户作品、印刷级 | 较慢 | 最高 |
eco | 快速预览、批量处理、草稿 | 较快 | 良好 |
自然的皮肤平滑,在减少瑕疵的同时保留纹理和毛孔。
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"]
}'
自然提亮牙齿,避免过度美白。
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"]
}'
提亮并锐化眼睛,打造更具吸引力的眼神。
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"]
}'
去除粉刺、疤痕和暂时性皮肤瑕疵。
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"]
}'
修复不良光线或添加影棚级灯光效果。
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"]
}'
创建专业的景深效果,使主体突出。
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"]
}'
增加发量、光泽并优化头发。
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"]
}'
增强现有妆容或添加微妙、自然的妆容。
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"]
}'
微妙、自然的抗衰老修饰。
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"]
}'
结合多种增强功能的完整专业修饰工作流。
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"]
}'
使用 session_id 迭代优化肖像增强效果:
# 初始增强
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": "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": "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": "Finally, add a gentle background blur for a professional look",
"session_id": "portrait-retouch-001"
}'
以一致的增强效果处理多张肖像:
# 肖像 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"]
}'
# 肖像 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"]
}'
# 肖像 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"]
}'
请求肖像增强时,请包含以下细节:
"Apply [enhancement type] to this portrait.
[Specific instructions for the enhancement].
Keep [what to preserve].
The result should look [desired outcome] for [use case]."
| 错误 | 原因 | 解决方案 |
|---|---|---|
Failed to create prediction: HTTP 422 | 余额不足 | 前往 eachlabs.ai 充值 |
| 内容策略违规 | 禁止的内容 | 确保肖像内容合适 |
| 超时 | 复杂增强 | 将客户端超时设置为最少 10 分钟 |
| 未检测到人脸 | 人脸不可见 | 提供清晰可见人脸的肖像 |
each-sense - 核心 API 文档face-swap - 人脸交换功能image-edit - 通用图像编辑image-generation - 从头生成新肖像每周安装量
75
代码仓库
GitHub 星标数
8
首次出现
2026年2月20日
安全审计
安装于
gemini-cli74
codex73
kimi-cli73
cursor73
opencode73
github-copilot73
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.
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"]
}'
| Setting | Value |
|---|---|
| Endpoint | POST https://sense.eachlabs.run/chat |
| Content-Type | application/json |
| Accept | text/event-stream |
| Client Timeout | Minimum 10 minutes |
Ask your users before generating:
"Do you want fast & cheap, or high quality?"
| Mode | Best For | Speed | Quality |
|---|---|---|---|
max | Final deliverables, client work, print-ready | Slower | Highest |
eco | Quick previews, bulk processing, drafts | Faster | Good |
Natural skin smoothing that preserves texture and pores while reducing imperfections.
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"]
}'
Brighten teeth naturally without over-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": "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"]
}'
Brighten and sharpen eyes for a more captivating look.
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"]
}'
Remove acne, scars, and temporary skin imperfections.
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"]
}'
Fix poor lighting or add studio-quality lighting effects.
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"]
}'
Create professional depth-of-field effects to make subjects stand out.
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"]
}'
Add volume, shine, and polish to hair.
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"]
}'
Enhance existing makeup or add subtle, natural-looking makeup.
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"]
}'
Subtle, natural-looking age-defying retouching.
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"]
}'
Complete professional retouching workflow combining multiple enhancements.
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"]
}'
Use session_id to iteratively refine portrait enhancements:
# 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"]
}'
# 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"
}'
# 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"
}'
# 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"
}'
Process multiple portraits with consistent enhancement:
# Portrait 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"]
}'
# Portrait 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"]
}'
# Portrait 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"]
}'
When requesting portrait enhancements, include these details:
"Apply [enhancement type] to this portrait.
[Specific instructions for the enhancement].
Keep [what to preserve].
The result should look [desired outcome] for [use case]."
| Error | Cause | Solution |
|---|---|---|
Failed to create prediction: HTTP 422 | Insufficient balance | Top up at eachlabs.ai |
| Content policy violation | Prohibited content | Ensure portrait is appropriate |
| Timeout | Complex enhancement | Set client timeout to minimum 10 minutes |
| No face detected | Face not visible | Provide clear portrait with visible face |
each-sense - Core API documentationface-swap - Face swapping capabilitiesimage-edit - General image editingimage-generation - Generate new portraits from scratchWeekly Installs
75
Repository
GitHub Stars
8
First Seen
Feb 20, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykWarn
Installed on
gemini-cli74
codex73
kimi-cli73
cursor73
opencode73
github-copilot73
AI 代码实施计划编写技能 | 自动化开发任务分解与 TDD 流程规划工具
50,900 周安装
Brave Search 本地描述 API:获取 AI 生成的本地商家描述,增强搜索结果与旅行指南
74 周安装
Google图片搜索技能:AI智能选图,自动化配图与Obsidian笔记增强工具
245 周安装
AWS Lambda PHP 集成指南:使用Bref部署Symfony应用与冷启动优化
249 周安装
HL7 IHE PAM 消息解析器 - 解析验证医疗患者管理ADT消息,支持HL7 v2.5标准
74 周安装
AWS Lambda Java 集成指南:Micronaut与原生Java优化冷启动性能
248 周安装
腾讯云CloudBase开发指南:云函数、Web认证、小程序集成与MCP配置
251 周安装