
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
Text prompt with description of the things you want in the image to be generated.
string
required
Link or valid base64 data (data:image/jpeg;base64,) of the face you want generations to resemble.
bool
required
Whether to run the safety checker to prevent NSFW image generation.
string
default:"sensitive_content_text"
Modify image if NSFW images are found. Options: blur, sensitive_content_text, pixelate, black.
number
Width of your generated image. Max dimension: 512 x 768.
number
Height of your generated image. Max dimension: 512 x 768.
number
Number of denoising steps. Accepted values: 21, 31, 41.
number
Scale for classifier-free guidance.
number
default:"1.0"
required
Adjust the weight of the face structure. Range: 0.0 to 2.0.
number
required
Seed used to reproduce results. Same seed will generate the same image again.
number
default:"1"
Number of images to be returned in response. Max: 2.
bool
default:"false"
If true, face_image is in base64 format or output images will be returned as base64 strings.
string
URL to receive a POST call once image generation is complete.
string
ID returned in the webhook API call to identify the request.

