
Make sure you add your s3 details for
image_editing
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
json
Body Attributes
Your API Key used for request authorization
The text prompt to guide image generation.
Aspects to avoid in the generated image.
URL of the initial image to outpaint
Width of the output image. Max: 1440
Height of the output image. Max: 1440
Width of the mask overlap area. Max: 42
Number of denoising steps. Max: 30
How closely to follow the prompt
Seed for reproducible results (-1 or 0 for random)
Whether to save output temporarily
Whether the
image
is base64 encodedSet 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