
Request
Make aPOST request to below endpoint and pass the required parameters as a request body to the endpoint.
curl
Body
json
Body Attributes
string
required
Your API Key used for request authorization
string
required
Link or valid base64 data of the face image for headshot generation
string
required
Text prompt describing the desired headshot style and appearance
string
required
Items you don’t want in the generated headshot
integer
required
Number of denoising steps. Value accepted are 21, 31, or 41
number
required
Scale for classifier-free guidance
integer
required
Random seed for reproducible results
string
required
Set an URL to get a POST API call once the image generation is complete
string
required
This ID is returned in the response to the webhook API call. This will be used to identify the webhook request

