Token导航 LogoToken导航TokenDH.com
前端设计需要联网github未标认证来源可访问许可证需确认审计提醒

ai-headshot-generationai 爆头一代

Agent Skill

ai-headshot-generation 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

2,052

周安装

83

GitHub Stars

12

下载量

644
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:ai-headshot-generation(ai 爆头一代)
来源仓库:https://github.com/eachlabs/skills
仓库路径:skills/ai-headshot-generation
安装命令:
npx skills add https://github.com/eachlabs/skills --skill ai-headshot-generation
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/eachlabs/skills --skill ai-headshot-generation

简介

基于真实照片或文字描述生成专业 AI 头像,适用于企业官网、社交媒体及简历场景。

  • 支持多种背景风格与一致性渲染,确保多角色形象统一视觉语言。
  • 通过 each::sense 模型优化面部细节与自然光影表现,提升商业级质感。
  • 安装命令:npx skills add https://github.com/eachlabs/skills --skill ai-headshot-generation
  • 使用他人肖像时需注意授权合法性,避免侵犯隐私或版权风险。

SKILL.md

AI Headshot Generation

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.

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

Quick Start

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 professional corporate headshot from this casual photo. Clean background, professional lighting, business appropriate appearance."}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max",
    "image_urls": ["https://example.com/casual-photo.jpg"]
  }'

Headshot Formats & Sizes

Use CaseAspect RatioRecommended SizeNotes
LinkedIn1:1400x400 to 800x800Square crop, head-and-shoulders
Corporate Website3:4600x800Standard portrait orientation
Resume/CV1:1 or 3:4300x300 or 300x400Clean, minimal background
Email Signature1:1150x150 to 300x300Small but recognizable
Speaker Profile1:1 or 16:9800x800 or 1920x1080Conference/event use
Team Page1:1500x500Consistent across team

Use Case Examples

1. Corporate Headshot from Casual Photo

Transform a casual selfie or personal photo into a polished corporate headshot.

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 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."}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max",
    "image_urls": ["https://example.com/casual-selfie.jpg"]
  }'

2. LinkedIn Profile Headshot

Create an optimized headshot specifically for LinkedIn that conveys professionalism and approachability.

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 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."}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max",
    "image_urls": ["https://example.com/source-photo.jpg"]
  }'

3. Executive Headshot

Premium quality headshot for C-suite executives, board members, and senior leadership.

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 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."}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max",
    "image_urls": ["https://example.com/ceo-casual.jpg"]
  }'

4. Team Headshots (Consistent Style)

Generate matching headshots for team members to ensure visual consistency across your organization.

# First team member - establish the style
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 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."}],
    "model": "eachsense/beta",
    "stream": true,
    "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://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 headshot for this team member using the exact same style as the previous one - same background, lighting, framing, and overall aesthetic."}],
    "model": "eachsense/beta",
    "stream": true,
    "session_id": "team-headshots-2024",
    "mode": "max",
    "image_urls": ["https://example.com/team-member-2.jpg"]
  }'

# Third team member
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 headshot for this team member matching our established team style."}],
    "model": "eachsense/beta",
    "stream": true,
    "session_id": "team-headshots-2024",
    "mode": "max",
    "image_urls": ["https://example.com/team-member-3.jpg"]
  }'

5. Headshot with Different Backgrounds

Generate the same headshot with various background options.

# Office background
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 professional headshot with a blurred modern office background. Glass windows, city view visible but out of focus. Natural daylight feel."}],
    "model": "eachsense/beta",
    "stream": true,
    "session_id": "background-variations",
    "mode": "max",
    "image_urls": ["https://example.com/source-photo.jpg"]
  }'

# Studio gradient background
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 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."}],
    "model": "eachsense/beta",
    "stream": true,
    "session_id": "background-variations",
    "mode": "max"
  }'

# Nature/outdoor background
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 another variation with a natural outdoor background - soft green foliage, blurred bokeh effect, golden hour lighting. More relaxed professional vibe."}],
    "model": "eachsense/beta",
    "stream": true,
    "session_id": "background-variations",
    "mode": "max"
  }'

6. Headshot with Different Outfits

Transform the subject's appearance with professional attire options.

# Navy suit
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 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."}],
    "model": "eachsense/beta",
    "stream": true,
    "session_id": "outfit-variations",
    "mode": "max",
    "image_urls": ["https://example.com/casual-photo.jpg"]
  }'

# Business casual
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 another version with business casual attire - a blazer over a smart polo shirt or open-collar dress shirt. Same background and lighting as before."}],
    "model": "eachsense/beta",
    "stream": true,
    "session_id": "outfit-variations",
    "mode": "max"
  }'

# Creative professional
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 version for creative industry - stylish but professional, perhaps a dark turtleneck or modern collarless jacket. Contemporary creative professional look."}],
    "model": "eachsense/beta",
    "stream": true,
    "session_id": "outfit-variations",
    "mode": "max"
  }'

7. Resume/CV Headshot

Clean, professional headshot optimized for job applications and CVs.

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 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."}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max",
    "image_urls": ["https://example.com/applicant-photo.jpg"]
  }'

8. Speaker/Author Headshot

Dynamic headshot for conference speakers, authors, and thought leaders.

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 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."}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max",
    "image_urls": ["https://example.com/author-source.jpg"]
  }'

9. Real Estate Agent Headshot

Approachable, trustworthy headshot for real estate professionals.

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 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."}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max",
    "image_urls": ["https://example.com/agent-photo.jpg"]
  }'

10. Multiple Expression Variations

Generate several expression options from the same source photo.

# Confident/serious
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 professional headshot with a confident, serious expression. Professional and authoritative, suitable for a law firm or financial services. Neutral gray background, classic professional lighting."}],
    "model": "eachsense/beta",
    "stream": true,
    "session_id": "expression-variations",
    "mode": "max",
    "image_urls": ["https://example.com/source-photo.jpg"]
  }'

# Friendly/approachable
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 create a variation with a warm, friendly smile. Approachable and welcoming, suitable for customer-facing roles or consulting. Same background and lighting setup."}],
    "model": "eachsense/beta",
    "stream": true,
    "session_id": "expression-variations",
    "mode": "max"
  }'

# Thoughtful/engaged
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 another variation with a thoughtful, engaged expression - slight smile, intelligent and curious look. Good for tech industry or academia. Same background and lighting."}],
    "model": "eachsense/beta",
    "stream": true,
    "session_id": "expression-variations",
    "mode": "max"
  }'

Best 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

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

Industry-Specific Recommendations

IndustryStyleBackgroundAttire
Finance/LegalConservative, formalNeutral gray/blueDark suit, traditional
TechModern, approachableClean gradient or officeSmart casual to business
CreativeDynamic, distinctiveBold or artisticContemporary, stylish
HealthcareTrustworthy, warmLight, clinical or neutralProfessional, white coat optional
Real EstateFriendly, trustworthyHome interior blurBusiness professional
AcademiaThoughtful, credibleLibrary or neutralBusiness casual to formal

Mode Selection

Ask your users before generating:

"Do you want fast & cheap, or high quality?"

ModeBest ForSpeedQuality
maxFinal headshots, client deliverables, executive portraitsSlowerHighest
ecoQuick previews, testing styles, bulk draftsFasterGood

Multi-Turn Headshot Refinement

Use session_id to iterate and perfect headshots:

# Initial generation
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 professional headshot from this photo with a blue gradient background"}],
    "model": "eachsense/beta",
    "stream": true,
    "session_id": "headshot-refinement",
    "mode": "max",
    "image_urls": ["https://example.com/source.jpg"]
  }'

# Refine based on feedback
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 lighting warmer and the expression slightly more friendly. Keep the same background."}],
    "model": "eachsense/beta",
    "stream": true,
    "session_id": "headshot-refinement",
    "mode": "max"
  }'

# Final adjustments
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": "Perfect. Now generate 2 more slight variations of this final result."}],
    "model": "eachsense/beta",
    "stream": true,
    "session_id": "headshot-refinement",
    "mode": "max"
  }'

Batch Generation for Teams

Generate consistent headshots for entire teams efficiently:

# Define team style first
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": "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."}],
    "model": "eachsense/beta",
    "stream": true,
    "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://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 headshot for next team member, matching established style"}],
    "model": "eachsense/beta",
    "stream": true,
    "session_id": "acme-corp-team",
    "mode": "eco",
    "image_urls": ["https://example.com/team/person-2.jpg"]
  }'

Error Handling

ErrorCauseSolution
Failed to create prediction: HTTP 422Insufficient balanceTop up at eachlabs.ai
No face detectedFace not visible in sourceUse a clearer photo with visible face
Poor likenessLow quality source imageUse higher resolution source (512x512+)
TimeoutComplex generationSet client timeout to minimum 10 minutes

Related Skills

  • each-sense - Core API documentation
  • product-photo-generation - E-commerce product photography
  • meta-ad-creative-generation - Social media ad creatives

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35%
按下载量换算225

Claude

29.52%
按下载量换算190

Cursor

19.21%
按下载量换算124

Gemini CLI

10.05%
按下载量换算65

安全审计

Gen Agent Trust Hub

通过

Socket

可疑

Snyk

可疑

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills