ai-headshot-generation
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseAI Headshot Generation
AI头像生成
Generate professional AI headshots from casual photos or text descriptions using each::sense. This skill creates polished, professional portraits suitable for corporate use, social media profiles, resumes, and marketing materials.
借助each::sense,可通过日常照片或文字描述生成专业AI头像。该技能生成的精致专业肖像适用于企业宣传、社交媒体个人资料、简历及营销物料。
Features
功能特性
- Corporate Headshots: Professional portraits for company websites and directories
- LinkedIn Photos: Optimized headshots for professional networking
- Executive Portraits: Premium headshots for C-suite and leadership
- Team Photos: Consistent style across multiple team members
- Background Options: Office, studio, gradient, or custom backgrounds
- Outfit Changes: Transform casual attire to professional business wear
- Expression Variations: Generate multiple expressions from same source
- Multi-Platform: Optimized for various aspect ratios and use cases
- 企业头像:适用于公司官网及员工名录的专业肖像
- LinkedIn头像:为职业社交平台优化的头像
- 高管肖像:面向高管及领导层的高端头像
- 团队照片:多团队成员风格统一的照片
- 背景选项:办公室、工作室、渐变或自定义背景
- 着装更换:将日常着装转换为专业商务装
- 表情变体:基于同一张源照片生成多种表情
- 多平台适配:针对不同宽高比及使用场景优化
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": "Create a professional corporate headshot from this casual photo. Clean background, professional lighting, business appropriate appearance.",
"mode": "max",
"image_urls": ["https://example.com/casual-photo.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": "Create a professional corporate headshot from this casual photo. Clean background, professional lighting, business appropriate appearance.",
"mode": "max",
"image_urls": ["https://example.com/casual-photo.jpg"]
}'Headshot Formats & Sizes
头像格式与尺寸
| Use Case | Aspect Ratio | Recommended Size | Notes |
|---|---|---|---|
| 1:1 | 400x400 to 800x800 | Square crop, head-and-shoulders | |
| Corporate Website | 3:4 | 600x800 | Standard portrait orientation |
| Resume/CV | 1:1 or 3:4 | 300x300 or 300x400 | Clean, minimal background |
| Email Signature | 1:1 | 150x150 to 300x300 | Small but recognizable |
| Speaker Profile | 1:1 or 16:9 | 800x800 or 1920x1080 | Conference/event use |
| Team Page | 1:1 | 500x500 | Consistent across team |
| 使用场景 | 宽高比 | 推荐尺寸 | 说明 |
|---|---|---|---|
| 1:1 | 400x400 至 800x800 | 方形裁剪,仅展示头部及肩部 | |
| 企业官网 | 3:4 | 600x800 | 标准肖像竖版比例 |
| 简历/CV | 1:1 或 3:4 | 300x300 或 300x400 | 背景简洁、风格极简 |
| 邮件签名 | 1:1 | 150x150 至 300x300 | 尺寸小巧但辨识度高 |
| 演讲者资料 | 1:1 或 16:9 | 800x800 或 1920x1080 | 适用于会议及活动场景 |
| 团队页面 | 1:1 | 500x500 | 团队成员风格统一 |
Use Case Examples
使用场景示例
1. Corporate Headshot from Casual Photo
1. 从日常照片生成企业头像
Transform a casual selfie or personal photo into a polished corporate headshot.
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": "Transform this casual photo into a professional corporate headshot. Use a clean neutral gray background, soft professional studio lighting, and ensure the subject looks polished and approachable. Keep the likeness accurate.",
"mode": "max",
"image_urls": ["https://example.com/casual-selfie.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": "Transform this casual photo into a professional corporate headshot. Use a clean neutral gray background, soft professional studio lighting, and ensure the subject looks polished and approachable. Keep the likeness accurate.",
"mode": "max",
"image_urls": ["https://example.com/casual-selfie.jpg"]
}'2. LinkedIn Profile Headshot
2. LinkedIn个人资料头像
Create an optimized headshot specifically for LinkedIn that conveys professionalism and approachability.
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": "Create a LinkedIn-optimized professional headshot from this photo. Square 1:1 format, friendly but professional expression, clean blurred office background, warm natural lighting. The subject should appear confident and approachable.",
"mode": "max",
"image_urls": ["https://example.com/source-photo.jpg"]
}'生成专为LinkedIn优化的头像,展现专业感与亲和力。
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": "Create a LinkedIn-optimized professional headshot from this photo. Square 1:1 format, friendly but professional expression, clean blurred office background, warm natural lighting. The subject should appear confident and approachable.",
"mode": "max",
"image_urls": ["https://example.com/source-photo.jpg"]
}'3. Executive Headshot
3. 高管头像
Premium quality headshot for C-suite executives, board members, and senior leadership.
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": "Create a premium executive headshot from this photo. Dark sophisticated background with subtle gradient, dramatic professional lighting, formal business attire appearance. The subject should convey authority, confidence, and leadership. Magazine cover quality.",
"mode": "max",
"image_urls": ["https://example.com/ceo-casual.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": "Create a premium executive headshot from this photo. Dark sophisticated background with subtle gradient, dramatic professional lighting, formal business attire appearance. The subject should convey authority, confidence, and leadership. Magazine cover quality.",
"mode": "max",
"image_urls": ["https://example.com/ceo-casual.jpg"]
}'4. Team Headshots (Consistent Style)
4. 团队头像(风格统一)
Generate matching headshots for team members to ensure visual consistency across your organization.
bash
undefined为团队成员生成风格一致的头像,确保企业视觉形象统一。
bash
undefinedFirst team member - establish the style
第一位团队成员 - 确定风格
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": "Create a professional team headshot with these specifications: light gray background, soft diffused lighting from the left, 1:1 square format, head and shoulders framing. Professional but friendly expression. This will be the template style for our entire team.", "session_id": "team-headshots-2024", "mode": "max", "image_urls": ["https://example.com/team-member-1.jpg"] }'
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "message": "Create a professional team headshot with these specifications: light gray background, soft diffused lighting from the left, 1:1 square format, head and shoulders framing. Professional but friendly expression. This will be the template style for our entire team.", "session_id": "team-headshots-2024", "mode": "max", "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": "Create a professional team headshot with these specifications: light gray background, soft diffused lighting from the left, 1:1 square format, head and shoulders framing. Professional but friendly expression. This will be the template style for our entire team.", "session_id": "team-headshots-2024", "mode": "max", "image_urls": ["https://example.com/team-member-1.jpg"] }'
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "message": "Create a professional team headshot with these specifications: light gray background, soft diffused lighting from the left, 1:1 square format, head and shoulders framing. Professional but friendly expression. This will be the template style for our entire team.", "session_id": "team-headshots-2024", "mode": "max", "image_urls": ["https://example.com/team-member-1.jpg"] }'
Second team member - maintain consistency
第二位团队成员 - 保持风格一致
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": "Create a headshot for this team member using the exact same style as the previous one - same background, lighting, framing, and overall aesthetic.", "session_id": "team-headshots-2024", "mode": "max", "image_urls": ["https://example.com/team-member-2.jpg"] }'
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "message": "Create a headshot for this team member using the exact same style as the previous one - same background, lighting, framing, and overall aesthetic.", "session_id": "team-headshots-2024", "mode": "max", "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": "Create a headshot for this team member using the exact same style as the previous one - same background, lighting, framing, and overall aesthetic.", "session_id": "team-headshots-2024", "mode": "max", "image_urls": ["https://example.com/team-member-2.jpg"] }'
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "message": "Create a headshot for this team member using the exact same style as the previous one - same background, lighting, framing, and overall aesthetic.", "session_id": "team-headshots-2024", "mode": "max", "image_urls": ["https://example.com/team-member-2.jpg"] }'
Third team member
第三位团队成员
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": "Create a headshot for this team member matching our established team style.", "session_id": "team-headshots-2024", "mode": "max", "image_urls": ["https://example.com/team-member-3.jpg"] }'
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "message": "Create a headshot for this team member matching our established team style.", "session_id": "team-headshots-2024", "mode": "max", "image_urls": ["https://example.com/team-member-3.jpg"] }'
undefinedcurl -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": "Create a headshot for this team member matching our established team style.", "session_id": "team-headshots-2024", "mode": "max", "image_urls": ["https://example.com/team-member-3.jpg"] }'
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "message": "Create a headshot for this team member matching our established team style.", "session_id": "team-headshots-2024", "mode": "max", "image_urls": ["https://example.com/team-member-3.jpg"] }'
undefined5. Headshot with Different Backgrounds
5. 不同背景的头像
Generate the same headshot with various background options.
bash
undefined为同一张头像生成多种背景变体。
bash
undefinedOffice background
办公室背景
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": "Create a professional headshot with a blurred modern office background. Glass windows, city view visible but out of focus. Natural daylight feel.", "session_id": "background-variations", "mode": "max", "image_urls": ["https://example.com/source-photo.jpg"] }'
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "message": "Create a professional headshot with a blurred modern office background. Glass windows, city view visible but out of focus. Natural daylight feel.", "session_id": "background-variations", "mode": "max", "image_urls": ["https://example.com/source-photo.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": "Create a professional headshot with a blurred modern office background. Glass windows, city view visible but out of focus. Natural daylight feel.", "session_id": "background-variations", "mode": "max", "image_urls": ["https://example.com/source-photo.jpg"] }'
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "message": "Create a professional headshot with a blurred modern office background. Glass windows, city view visible but out of focus. Natural daylight feel.", "session_id": "background-variations", "mode": "max", "image_urls": ["https://example.com/source-photo.jpg"] }'
Studio gradient background
工作室渐变背景
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 create the same headshot but with a classic studio gradient background - deep blue fading to lighter blue. Keep the same professional lighting on the subject.", "session_id": "background-variations", "mode": "max" }'
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "message": "Now create the same headshot but with a classic studio gradient background - deep blue fading to lighter blue. Keep the same professional lighting on the subject.", "session_id": "background-variations", "mode": "max" }'
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 create the same headshot but with a classic studio gradient background - deep blue fading to lighter blue. Keep the same professional lighting on the subject.", "session_id": "background-variations", "mode": "max" }'
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "message": "Now create the same headshot but with a classic studio gradient background - deep blue fading to lighter blue. Keep the same professional lighting on the subject.", "session_id": "background-variations", "mode": "max" }'
Nature/outdoor background
自然/户外背景
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": "Create another variation with a natural outdoor background - soft green foliage, blurred bokeh effect, golden hour lighting. More relaxed professional vibe.", "session_id": "background-variations", "mode": "max" }'
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "message": "Create another variation with a natural outdoor background - soft green foliage, blurred bokeh effect, golden hour lighting. More relaxed professional vibe.", "session_id": "background-variations", "mode": "max" }'
undefinedcurl -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": "Create another variation with a natural outdoor background - soft green foliage, blurred bokeh effect, golden hour lighting. More relaxed professional vibe.", "session_id": "background-variations", "mode": "max" }'
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "message": "Create another variation with a natural outdoor background - soft green foliage, blurred bokeh effect, golden hour lighting. More relaxed professional vibe.", "session_id": "background-variations", "mode": "max" }'
undefined6. Headshot with Different Outfits
6. 不同着装的头像
Transform the subject's appearance with professional attire options.
bash
undefined为人物更换专业着装风格。
bash
undefinedNavy suit
海军蓝西装
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": "Create a professional headshot from this casual photo. Dress the subject in a classic navy blue business suit with a white dress shirt and subtle tie. Clean gray background, professional studio lighting.", "session_id": "outfit-variations", "mode": "max", "image_urls": ["https://example.com/casual-photo.jpg"] }'
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "message": "Create a professional headshot from this casual photo. Dress the subject in a classic navy blue business suit with a white dress shirt and subtle tie. Clean gray background, professional studio lighting.", "session_id": "outfit-variations", "mode": "max", "image_urls": ["https://example.com/casual-photo.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": "Create a professional headshot from this casual photo. Dress the subject in a classic navy blue business suit with a white dress shirt and subtle tie. Clean gray background, professional studio lighting.", "session_id": "outfit-variations", "mode": "max", "image_urls": ["https://example.com/casual-photo.jpg"] }'
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "message": "Create a professional headshot from this casual photo. Dress the subject in a classic navy blue business suit with a white dress shirt and subtle tie. Clean gray background, professional studio lighting.", "session_id": "outfit-variations", "mode": "max", "image_urls": ["https://example.com/casual-photo.jpg"] }'
Business casual
商务休闲装
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": "Create another version with business casual attire - a blazer over a smart polo shirt or open-collar dress shirt. Same background and lighting as before.", "session_id": "outfit-variations", "mode": "max" }'
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "message": "Create another version with business casual attire - a blazer over a smart polo shirt or open-collar dress shirt. Same background and lighting as before.", "session_id": "outfit-variations", "mode": "max" }'
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": "Create another version with business casual attire - a blazer over a smart polo shirt or open-collar dress shirt. Same background and lighting as before.", "session_id": "outfit-variations", "mode": "max" }'
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "message": "Create another version with business casual attire - a blazer over a smart polo shirt or open-collar dress shirt. Same background and lighting as before.", "session_id": "outfit-variations", "mode": "max" }'
Creative professional
创意行业风格
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": "Create a version for creative industry - stylish but professional, perhaps a dark turtleneck or modern collarless jacket. Contemporary creative professional look.", "session_id": "outfit-variations", "mode": "max" }'
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "message": "Create a version for creative industry - stylish but professional, perhaps a dark turtleneck or modern collarless jacket. Contemporary creative professional look.", "session_id": "outfit-variations", "mode": "max" }'
undefinedcurl -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": "Create a version for creative industry - stylish but professional, perhaps a dark turtleneck or modern collarless jacket. Contemporary creative professional look.", "session_id": "outfit-variations", "mode": "max" }'
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "message": "Create a version for creative industry - stylish but professional, perhaps a dark turtleneck or modern collarless jacket. Contemporary creative professional look.", "session_id": "outfit-variations", "mode": "max" }'
undefined7. Resume/CV Headshot
7. 简历/CV头像
Clean, professional headshot optimized for job applications and CVs.
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": "Create a clean, professional headshot suitable for a resume or CV. Simple solid light background (white or very light gray), professional attire, friendly and confident expression. The photo should be conservative and appropriate for any industry. Square format, head and shoulders framing.",
"mode": "max",
"image_urls": ["https://example.com/applicant-photo.jpg"]
}'为求职申请及CV优化的简洁专业头像。
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": "Create a clean, professional headshot suitable for a resume or CV. Simple solid light background (white or very light gray), professional attire, friendly and confident expression. The photo should be conservative and appropriate for any industry. Square format, head and shoulders framing.",
"mode": "max",
"image_urls": ["https://example.com/applicant-photo.jpg"]
}'8. Speaker/Author Headshot
8. 演讲者/作者头像
Dynamic headshot for conference speakers, authors, and thought leaders.
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": "Create a compelling speaker/author headshot. The subject should appear engaging, confident, and dynamic. Use dramatic lighting with a dark background to create visual impact. Slight smile, eyes that connect with the viewer. This should work well on book covers, conference websites, and keynote slides. High contrast, memorable, professional.",
"mode": "max",
"image_urls": ["https://example.com/author-source.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": "Create a compelling speaker/author headshot. The subject should appear engaging, confident, and dynamic. Use dramatic lighting with a dark background to create visual impact. Slight smile, eyes that connect with the viewer. This should work well on book covers, conference websites, and keynote slides. High contrast, memorable, professional.",
"mode": "max",
"image_urls": ["https://example.com/author-source.jpg"]
}'9. Real Estate Agent Headshot
9. 房地产经纪人头像
Approachable, trustworthy headshot for real estate professionals.
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": "Create a real estate agent headshot. The subject should appear trustworthy, friendly, and professional. Warm lighting, genuine smile, approachable expression. Background should be a subtle blurred interior of an upscale home or modern building. Professional but not stiff - someone you would trust to help you buy a home.",
"mode": "max",
"image_urls": ["https://example.com/agent-photo.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": "Create a real estate agent headshot. The subject should appear trustworthy, friendly, and professional. Warm lighting, genuine smile, approachable expression. Background should be a subtle blurred interior of an upscale home or modern building. Professional but not stiff - someone you would trust to help you buy a home.",
"mode": "max",
"image_urls": ["https://example.com/agent-photo.jpg"]
}'10. Multiple Expression Variations
10. 多种表情变体
Generate several expression options from the same source photo.
bash
undefined基于同一张源照片生成多种表情选项。
bash
undefinedConfident/serious
自信/严肃风格
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": "Create a professional headshot with a confident, serious expression. Professional and authoritative, suitable for a law firm or financial services. Neutral gray background, classic professional lighting.", "session_id": "expression-variations", "mode": "max", "image_urls": ["https://example.com/source-photo.jpg"] }'
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "message": "Create a professional headshot with a confident, serious expression. Professional and authoritative, suitable for a law firm or financial services. Neutral gray background, classic professional lighting.", "session_id": "expression-variations", "mode": "max", "image_urls": ["https://example.com/source-photo.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": "Create a professional headshot with a confident, serious expression. Professional and authoritative, suitable for a law firm or financial services. Neutral gray background, classic professional lighting.", "session_id": "expression-variations", "mode": "max", "image_urls": ["https://example.com/source-photo.jpg"] }'
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "message": "Create a professional headshot with a confident, serious expression. Professional and authoritative, suitable for a law firm or financial services. Neutral gray background, classic professional lighting.", "session_id": "expression-variations", "mode": "max", "image_urls": ["https://example.com/source-photo.jpg"] }'
Friendly/approachable
亲切/友善风格
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 create a variation with a warm, friendly smile. Approachable and welcoming, suitable for customer-facing roles or consulting. Same background and lighting setup.", "session_id": "expression-variations", "mode": "max" }'
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "message": "Now create a variation with a warm, friendly smile. Approachable and welcoming, suitable for customer-facing roles or consulting. Same background and lighting setup.", "session_id": "expression-variations", "mode": "max" }'
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 create a variation with a warm, friendly smile. Approachable and welcoming, suitable for customer-facing roles or consulting. Same background and lighting setup.", "session_id": "expression-variations", "mode": "max" }'
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "message": "Now create a variation with a warm, friendly smile. Approachable and welcoming, suitable for customer-facing roles or consulting. Same background and lighting setup.", "session_id": "expression-variations", "mode": "max" }'
Thoughtful/engaged
深思/专注风格
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": "Create another variation with a thoughtful, engaged expression - slight smile, intelligent and curious look. Good for tech industry or academia. Same background and lighting.", "session_id": "expression-variations", "mode": "max" }'
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "message": "Create another variation with a thoughtful, engaged expression - slight smile, intelligent and curious look. Good for tech industry or academia. Same background and lighting.", "session_id": "expression-variations", "mode": "max" }'
undefinedcurl -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": "Create another variation with a thoughtful, engaged expression - slight smile, intelligent and curious look. Good for tech industry or academia. Same background and lighting.", "session_id": "expression-variations", "mode": "max" }'
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "message": "Create another variation with a thoughtful, engaged expression - slight smile, intelligent and curious look. Good for tech industry or academia. Same background and lighting.", "session_id": "expression-variations", "mode": "max" }'
undefinedBest Practices
最佳实践
Photo Input Guidelines
照片输入指南
- Face Visibility: Ensure the face is clearly visible, well-lit, and not obscured
- Resolution: Use source photos of at least 512x512 pixels for best results
- Angle: Front-facing or slight angle (3/4 view) works best
- Lighting: Avoid harsh shadows or extreme backlighting in source
- Expression: Neutral or natural expression in source produces best transformations
- 面部可见度:确保面部清晰可见、光线充足且无遮挡
- 分辨率:源照片分辨率至少为512x512像素,以获得最佳效果
- 拍摄角度:正面或轻微侧角(3/4视角)效果最佳
- 光线条件:避免源照片存在强烈阴影或极端逆光
- 表情:源照片采用中性或自然表情,转换效果最佳
Professional Headshot Standards
专业头像标准
- Framing: Head and shoulders, with face occupying 60-70% of vertical space
- Eye Contact: Subject should appear to look at the viewer
- Background: Clean, non-distracting, complements the subject
- Lighting: Soft, flattering light that minimizes harsh shadows
- Attire: Appropriate for the industry and role
- 构图:仅展示头部及肩部,面部占垂直空间的60-70%
- 眼神交流:人物应直视观众
- 背景:简洁不杂乱,与人物风格协调
- 光线:柔和 flattering 光线,减少强烈阴影
- 着装:符合行业及岗位要求
Industry-Specific Recommendations
行业专属建议
| Industry | Style | Background | Attire |
|---|---|---|---|
| Finance/Legal | Conservative, formal | Neutral gray/blue | Dark suit, traditional |
| Tech | Modern, approachable | Clean gradient or office | Smart casual to business |
| Creative | Dynamic, distinctive | Bold or artistic | Contemporary, stylish |
| Healthcare | Trustworthy, warm | Light, clinical or neutral | Professional, white coat optional |
| Real Estate | Friendly, trustworthy | Home interior blur | Business professional |
| Academia | Thoughtful, credible | Library or neutral | Business casual to formal |
| 行业 | 风格 | 背景 | 着装 |
|---|---|---|---|
| 金融/法律 | 保守、正式 | 中性灰/蓝色 | 深色西装,传统风格 |
| 科技 | 现代、亲切 | 简洁渐变或办公室背景 | 商务休闲至商务正装 |
| 创意行业 | 富有活力、特色鲜明 | 大胆或艺术风格 | 现代、时尚 |
| 医疗健康 | 值得信赖、温暖 | 浅色、临床风格或中性背景 | 专业着装,可选择白大褂 |
| 房地产 | 亲切、值得信赖 | 模糊的住宅内部背景 | 商务正装 |
| 学术 | 深思、可信 | 图书馆或中性背景 | 商务休闲至正装 |
Mode Selection
模式选择
Ask your users before generating:
"Do you want fast & cheap, or high quality?"
| Mode | Best For | Speed | Quality |
|---|---|---|---|
| Final headshots, client deliverables, executive portraits | Slower | Highest |
| Quick previews, testing styles, bulk drafts | Faster | Good |
生成前请询问用户:
"您需要快速低成本的版本,还是高品质的版本?"
| 模式 | 适用场景 | 速度 | 品质 |
|---|---|---|---|
| 最终头像、客户交付成果、高管肖像 | 较慢 | 最高 |
| 快速预览、风格测试、批量草稿 | 较快 | 良好 |
Multi-Turn Headshot Refinement
多轮头像优化
Use to iterate and perfect headshots:
session_idbash
undefined使用逐步优化头像:
session_idbash
undefinedInitial generation
初始生成
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": "Create a professional headshot from this photo with a blue gradient background", "session_id": "headshot-refinement", "mode": "max", "image_urls": ["https://example.com/source.jpg"] }'
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "message": "Create a professional headshot from this photo with a blue gradient background", "session_id": "headshot-refinement", "mode": "max", "image_urls": ["https://example.com/source.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": "Create a professional headshot from this photo with a blue gradient background", "session_id": "headshot-refinement", "mode": "max", "image_urls": ["https://example.com/source.jpg"] }'
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "message": "Create a professional headshot from this photo with a blue gradient background", "session_id": "headshot-refinement", "mode": "max", "image_urls": ["https://example.com/source.jpg"] }'
Refine based on feedback
根据反馈优化
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": "Make the lighting warmer and the expression slightly more friendly. Keep the same background.", "session_id": "headshot-refinement", "mode": "max" }'
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "message": "Make the lighting warmer and the expression slightly more friendly. Keep the same background.", "session_id": "headshot-refinement", "mode": "max" }'
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": "Make the lighting warmer and the expression slightly more friendly. Keep the same background.", "session_id": "headshot-refinement", "mode": "max" }'
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "message": "Make the lighting warmer and the expression slightly more friendly. Keep the same background.", "session_id": "headshot-refinement", "mode": "max" }'
Final adjustments
最终调整
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": "Perfect. Now generate 2 more slight variations of this final result.", "session_id": "headshot-refinement", "mode": "max" }'
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "message": "Perfect. Now generate 2 more slight variations of this final result.", "session_id": "headshot-refinement", "mode": "max" }'
undefinedcurl -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": "Perfect. Now generate 2 more slight variations of this final result.", "session_id": "headshot-refinement", "mode": "max" }'
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "message": "Perfect. Now generate 2 more slight variations of this final result.", "session_id": "headshot-refinement", "mode": "max" }'
undefinedBatch Generation for Teams
团队批量生成
Generate consistent headshots for entire teams efficiently:
bash
undefined高效生成风格统一的全团队头像:
bash
undefinedDefine team style first
先定义团队风格
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": "I need to create headshots for a team of 10 people. Our brand colors are navy blue and white. We want: 1:1 square format, light gray background, soft professional lighting, business casual attire, friendly but professional expressions. First, create a headshot for this team member to establish the style.", "session_id": "acme-corp-team", "mode": "max", "image_urls": ["https://example.com/team/person-1.jpg"] }'
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "message": "I need to create headshots for a team of 10 people. Our brand colors are navy blue and white. We want: 1:1 square format, light gray background, soft professional lighting, business casual attire, friendly but professional expressions. First, create a headshot for this team member to establish the style.", "session_id": "acme-corp-team", "mode": "max", "image_urls": ["https://example.com/team/person-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": "I need to create headshots for a team of 10 people. Our brand colors are navy blue and white. We want: 1:1 square format, light gray background, soft professional lighting, business casual attire, friendly but professional expressions. First, create a headshot for this team member to establish the style.", "session_id": "acme-corp-team", "mode": "max", "image_urls": ["https://example.com/team/person-1.jpg"] }'
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "message": "I need to create headshots for a team of 10 people. Our brand colors are navy blue and white. We want: 1:1 square format, light gray background, soft professional lighting, business casual attire, friendly but professional expressions. First, create a headshot for this team member to establish the style.", "session_id": "acme-corp-team", "mode": "max", "image_urls": ["https://example.com/team/person-1.jpg"] }'
Continue with remaining team members using same session
使用同一会话继续生成其他团队成员
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": "Create headshot for next team member, matching established style", "session_id": "acme-corp-team", "mode": "eco", "image_urls": ["https://example.com/team/person-2.jpg"] }'
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "message": "Create headshot for next team member, matching established style", "session_id": "acme-corp-team", "mode": "eco", "image_urls": ["https://example.com/team/person-2.jpg"] }'
undefinedcurl -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": "Create headshot for next team member, matching established style", "session_id": "acme-corp-team", "mode": "eco", "image_urls": ["https://example.com/team/person-2.jpg"] }'
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "message": "Create headshot for next team member, matching established style", "session_id": "acme-corp-team", "mode": "eco", "image_urls": ["https://example.com/team/person-2.jpg"] }'
undefinedError Handling
错误处理
| Error | Cause | Solution |
|---|---|---|
| Insufficient balance | Top up at eachlabs.ai |
| No face detected | Face not visible in source | Use a clearer photo with visible face |
| Poor likeness | Low quality source image | Use higher resolution source (512x512+) |
| Timeout | Complex generation | Set client timeout to minimum 10 minutes |
| 错误 | 原因 | 解决方案 |
|---|---|---|
| 余额不足 | 前往eachlabs.ai充值 |
| 未检测到面部 | 源照片中面部不可见 | 使用面部清晰的照片 |
| 相似度低 | 源照片质量差 | 使用分辨率更高的源照片(512x512以上) |
| 超时 | 生成任务复杂 | 将客户端超时设置为至少10分钟 |
Related Skills
相关技能
- - Core API documentation
each-sense - - E-commerce product photography
product-photo-generation - - Social media ad creatives
meta-ad-creative-generation
- - 核心API文档
each-sense - - 电商产品摄影
product-photo-generation - - 社交媒体广告创意
meta-ad-creative-generation