Skip to main content
Face gen endpoint result
Make sure you add your s3 details for flux_headshot server, so you can receive image generated in your bucket. Images generated without s3 details being added will be delete after 24hours

Request

Make a POST request to below endpoint and pass the required parameters as a request body to the endpoint.
curl

Body

json

Body Attributes

string
required
Required. Your API Key used for request authorization.
string
required
Required. Text prompt with description of the things you want in the image to be generated.
string
required
Required. Link or valid base64 string image. This is the face you want your generations to resemble.
number
Width of your generated image. Max dimension: 2048 × 2048.
number
Height of your generated image. Max dimension: 2048 × 2048.
number
Number of denoising steps. Maximum accepted steps: 26.
number
Scale for classifier-free guidance. Accepted range: 1.0 – 10.0.
number
required
Required. Seed is used to reproduce results, same seed will give you the same image again.
boolean
default:"false"
If provided init_image is in base64 format or if you want generated images as base64 string, set to true. Default: false.
string
Set a URL to get a POST API call once the image generation is complete.
string
This ID is returned in the response to the webhook API call. This will be used to identify the webhook request.