ai-headshot-generationGenerate professional AI headshots from casual photos using each::sense AI. Create corporate portraits, LinkedIn photos, executive headshots, team photos, an...
Install via ClawdBot CLI:
clawdbot install eftalyurtseven/ai-headshot-generationGenerate 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.
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"]
}'
| Use Case | Aspect Ratio | Recommended Size | Notes |
|----------|--------------|------------------|-------|
| LinkedIn | 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 |
Transform a casual selfie or personal photo into a polished corporate headshot.
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"]
}'
Create an optimized headshot specifically for LinkedIn that conveys professionalism and approachability.
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"]
}'
Premium quality headshot for C-suite executives, board members, and senior leadership.
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"]
}'
Generate matching headshots for team members to ensure visual consistency across your organization.
# First 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"]
}'
# 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"]
}'
# 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"]
}'
Generate the same headshot with various background options.
# Office 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"]
}'
# 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"
}'
# 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"
}'
Transform the subject's appearance with professional attire options.
# Navy 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"]
}'
# 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"
}'
# 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"
}'
Clean, professional headshot optimized for job applications and CVs.
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"]
}'
Dynamic headshot for conference speakers, authors, and thought leaders.
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"]
}'
Approachable, trustworthy headshot for real estate professionals.
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"]
}'
Generate several expression options from the same source photo.
# Confident/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"]
}'
# 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"
}'
# 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"
}'
| 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 |
Ask your users before generating:
"Do you want fast & cheap, or high quality?"
| Mode | Best For | Speed | Quality |
|------|----------|-------|---------|
| max | Final headshots, client deliverables, executive portraits | Slower | Highest |
| eco | Quick previews, testing styles, bulk drafts | Faster | Good |
Use session_id to iterate and perfect headshots:
# Initial 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"]
}'
# 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"
}'
# 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"
}'
Generate consistent headshots for entire teams efficiently:
# Define 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"]
}'
# 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"]
}'
| Error | Cause | Solution |
|-------|-------|----------|
| Failed to create prediction: HTTP 422 | 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 |
each-sense - Core API documentationproduct-photo-generation - E-commerce product photographymeta-ad-creative-generation - Social media ad creativesGenerated Mar 1, 2026
Companies with remote employees can use this skill to generate consistent professional headshots for their team pages and internal directories. It ensures all team members have polished photos despite varying original photo quality, maintaining a cohesive corporate image.
Individuals looking to improve their job prospects can transform casual selfies into high-quality LinkedIn headshots. This helps create a professional first impression, potentially increasing profile views and networking opportunities in competitive job markets.
Organizations can generate premium headshots for executives and board members to use on company websites, annual reports, and press materials. The skill allows for tailored styles that convey authority and sophistication, enhancing brand credibility.
Event organizers can use this skill to create uniform headshots for speakers and panelists, ensuring visual consistency across conference websites, programs, and promotional materials. It saves time and costs compared to traditional photography sessions.
Small businesses and startups can generate professional headshots for their founders and team to use on websites, social media, and marketing collateral. This provides a polished look without the expense of hiring a professional photographer.
Offer a monthly or annual subscription to HR teams for generating headshots for new hires and existing employees. This model provides recurring revenue and integrates with onboarding processes, ensuring all staff have updated professional photos.
Provide an API that developers can integrate into applications like job platforms or social networks, charging per headshot generation. This scales with user demand and attracts tech-savvy clients looking to add AI features to their products.
Partner with traditional photography studios to offer AI-enhanced headshots as an add-on service. Studios can upsell clients with quick digital transformations, expanding their service offerings and generating additional income streams.
đŹ Integration Tip
Integrate this skill into HR onboarding platforms or LinkedIn profile builders via API calls; ensure clear instructions for image URLs and API key management to streamline user experience.
Generate/edit images with Nano Banana Pro (Gemini 3 Pro Image). Use for image create/modify requests incl. edits. Supports text-to-image + image-to-image; 1K/2K/4K; use --input-image.
Capture frames or clips from RTSP/ONVIF cameras.
Batch-generate images via OpenAI Images API. Random prompt sampler + `index.html` gallery.
Generate images using the internal Google Antigravity API (Gemini 3 Pro Image). High quality, native generation without browser automation.
äœżçšć çœź image_generate.py èæŹçæćŸç, ć〿ž æ°ć ·äœç `prompt`ă
AI image generation powered by CellCog. Create images, edit photos, consistent characters, product photography, reference-based images, sets of images, style transfer. Professional image creation with AI.