Skip to main content

Overview

AI Headshot Generator creates a professional-quality headshot from a single photo while maintaining the person’s facial features and identity.

How It Works

  1. Upload a clear photo containing exactly one detectable face.
  2. Customize the style - Optionally specify background, attire, or style preferences
  3. API generates a headshot - AI creates a professional headshot
  4. Download the result - Retrieve your professional headshot

Use Cases

  • LinkedIn profiles - Create polished professional photos
  • Corporate directories - Generate consistent employee headshots
  • Resume photos - Professional images for job applications
  • Acting portfolios - Multiple headshot variations from one photo
  • Social media profiles - Professional presence across platforms

Best Practices

Source Photo Requirements

Use a clear, front-facing photo - The AI needs to clearly see the person’s face for best results.
  • Good lighting - Even, natural lighting works best
  • Front-facing or slight angle - Avoid extreme profile shots
  • Clear face visibility - No sunglasses, masks, or heavy shadows
  • Neutral expression - Natural smile or neutral expression recommended
  • Aim for at least 512x512 pixels in the face area.

Style Customization

Omit style.prompt to use the default headshot style, or supply a prompt to customize the output: ✅ Good prompts:
  • “Professional corporate headshot with neutral gray background”
  • “Friendly business casual with soft natural lighting”
  • “Executive portrait with dark blue suit”

Code Examples

Basic Headshot Generation

Pricing

Try this in our Google Colab Cookbook: Run this API with sample code. Just add your API key.

API Reference

AI Headshot Generator API Reference

View full API specification

Face Swap Photo

Swap faces between photos

AI Clothes Changer

Change outfits in photos