AI Headshot Generator API
Transform portrait photos into professional headshots with customizable backgrounds.
photo editing12 creditsv1.0.0
Endpoint
Authentication
Parameters
Required
image_urlstringrequiredPortrait image URL or base64 data URI
Optional
background_stylestringValues: professionalcorporatecleangradient
Default: professional
aspect_ratiostringAspect ratio in format "width:height" (e.g., "3:4", "1:1"). Backend automatically converts to required format.
Values: 1:116:99:164:33:4
Example Request
Request Body
Example Response
SDK
Install: npm install aaddyy
Pricing
$0.12 per image (12 credits)
flat price per headshot
Rate Limits
10 requests per 1m
Burst: 3