Make sure you add your s3 details for
realtime
server, so you can receive image generated in your bucket. Images generated without s3 details being added will be delete after 24hours
Request
Make aPOST
request to below endpoint and pass the required parameters as a request body.
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.
Link to the Initial Image.
Width of the image. Maximum allowed: 1024.
Height of the image. Maximum allowed: 1024.
Number of images to be returned in response. Maximum: 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. 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. Options:
true
or false
.Seed is used to reproduce results. Pass
null
for a random number.Enhance prompts for better results. Options:
true
or 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.