AI Headshot GeneratorAPI
Transform portrait photos into professional headshots with customizable backgrounds
photo editing~12 credits/callv1.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
~12 credits (~$0.12) per request
Rate Limits
10 requests per 1m
Burst: 3