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

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