
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 24hoursRequest
Make aPOST
request to below endpoint and pass the required parameters as a request body to the endpoint.
curl
Body Attributes
Required. Your API Key used for request authorization.
Required. Text prompt with description of the things you want in the image to be generated.
Required. Link or valid base64 string image. This is the face you want your generations to resemble.
Width of your generated image. Max dimension: 2048 × 2048.
Height of your generated image. Max dimension: 2048 × 2048.
Number of denoising steps. Maximum accepted steps: 26.
Scale for classifier-free guidance. Accepted range: 1.0 – 10.0.
Required. Seed is used to reproduce results, same seed will give you the same image again.
If provided
init_image
is in base64 format or if you want generated images as base64 string, set to true
. Default: false
.Set a 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.