Make sure you add your s3 details for
flux
server, so you can receive image generated in your bucket.
Images generated without s3 details being added will be delete after 24hoursRequest
Make a POST 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.
Text prompt with description of the things you want in the image to be generated.
Items you don’t want in the image.
Upload the reference image you want to edit.
Second image is optional. only upload second image when you want to merge 2 image.
Max Width: 1024px
Max Height: 1024px
Number of images to be returned in response. The maximum value is 4.
A checker for NSFW images. If such an image is detected, it will be replaced by a blank image.
Get response as base64 string, default:
false
, options: true
or false
.Prompt strength when using init image. 1.0 corresponds to full destruction of information in the init image.
Queue response instantly before processing finishes instead of waiting a minimum amount of time default:
false
, options: true
or false
.Seed is used to reproduce results, same seed will give you same image in return again. Pass null for a random number.
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.