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
- Upload a body image - Choose the photo that keeps its body, pose, and scene
- Upload a head image - Provide the head you want to place on the body
- Set an optional limit - Use
max_resolutionto cap the output’s larger dimension - Create the job - Submit both file paths to the API
- 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
- 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_resolutionintentionally - Omit it for your plan maximum or lower it for faster iteration
Code Example
Input files must be direct URLs orfile_path values returned by the file upload API.
cURL
Pricing
Each generated image costs 10 credits. The response reports the amount incredits_charged. See Billing for current rates.
API Reference
Head Swap API Reference
View all request fields, resolution behavior, and response formats
Related Tools
Body Swap
Place a person into a different scene
Face Swap Photo
Replace facial features while preserving the head