Skip to main content

Request

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

Body

json

Body Attributes

string
required
Your API Key used for request authorization.
string
required
Text prompt describing the image you want to generate.
string
required
Image URL to use as the initial image for the image generation.
string
required
Mask image URL to use as the mask for the image generation.
string
Items you don’t want in the image.
number
default:"1"
Number of images to return. Maximum: 2.
number
default:"512"
Width of the generated image. Maximum: 1024.
number
default:"512"
Height of the generated image. Maximum: 1024.
string
A URL to receive a POST API call once the video generation is complete.
string
A unique ID used in the webhook response to identify the request.