Skip to main content

Overview

Head Swap replaces the full head region in a body image using a separate head reference. Unlike a face-only swap, it can transfer broader head details while preserving the target body, pose, and scene.

How It Works

  1. Upload a body image - Choose the photo that keeps its body, pose, and scene
  2. Upload a head image - Provide the head you want to place on the body
  3. Set an optional limit - Use max_resolution to cap the output’s larger dimension
  4. Create the job - Submit both file paths to the API
  5. Download the result - Poll until complete and retrieve the generated image

Use Cases

  • Portrait fixes - Replace an unsuitable head angle or expression in an otherwise useful photo
  • Creative remixes - Put a different head into an existing composition
  • Profile concepts - Explore portrait and character variations without a reshoot
  • Content variants - Create alternate thumbnails, posts, or campaign images
  • Previsualization - Test identity and styling combinations before production

Best Practices

Match angle and lighting - Similar head orientation, camera distance, and light direction produce more natural blends.
  • Use clear, high-resolution inputs - Keep facial features and the full head visible
  • Avoid obstructions - Hair, hands, hats, and cropped heads can make alignment harder
  • Match proportions - References with similar framing reduce unrealistic scale differences
  • Preserve source detail - Avoid heavily compressed or filtered images
  • Use max_resolution intentionally - Omit it for your plan maximum or lower it for faster iteration

Code Example

Input files must be direct URLs or file_path values returned by the file upload API.
cURL

Pricing

Each generated image costs 10 credits. The response reports the amount in credits_charged. See Billing for current rates.

API Reference

Head Swap API Reference

View all request fields, resolution behavior, and response formats

Body Swap

Place a person into a different scene

Face Swap Photo

Replace facial features while preserving the head