Head Shot

Request
Make aPOST
request to below endpoint and pass the required parameters as a request body to the endpoint.
Body
Body
Your API Key used for request authorization
Text prompt describing the content you want in the generated image
Link or valid base64 data of the face you want your generations to resemble
Width of your generated image, If not provide width of face_image is used
x <= 512
Height of your generated image, If not provide height of face_image is used
x <= 768
Number of denoising steps
21
, 31
, 41
Scale for classifier-free guidance
1 <= x <= 5
Adjust the weight of the face structure
0 <= x <= 2
The number of images to be returned in response
x <= 2
Whether to run the safety checker
black
, blur
, sensitive_content_text
, pixelate
Set to true for base64 response
URL to receive POST API call when complete
ID for webhook identification
Response
Head shot response
success
Time taken to generate the image in seconds
Unique identifier for the generation request
Array of generated image URLs
Array of proxy image URLs
Metadata about the generation process