
Make sure you add your s3 details for
image_editing
server, so you can receive image generated in your bucket. Images generated without s3 details being added will be delete after 24hoursRequest
Make aPOST
request to below endpoint and pass the required parameters as a request body to the endpoint.
curl
Body
json
Body Attributes
Your API Key used for request authorization
Link or valid base64 data of the face image for headshot generation
Text prompt describing the desired headshot style and appearance
Items you don’t want in the generated headshot
Number of denoising steps. Value accepted are 21, 31, or 41
Scale for classifier-free guidance
Random seed for reproducible results
Set an URL to get a POST API call once the image generation is complete
This ID is returned in the response to the webhook API call. This will be used to identify the webhook request