Request
Make aPOST 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 authenticating your request.
string
A URL to the photo whose surroundings you want to transform.
string
The scenario to apply. Options:
beach, desert, plain, taiga.string
Negative prompts are descriptions of things we don’t want in our image (e.g., NSFW content, distorted faces, poor quality).
number
The degree to which the prompt influences the initial image.
1.0 corresponds to full destruction of the initial image details.boolean
default:"false"
Specifies whether the response should be returned as a base64 string. Options:
true or false.integer
The number of denoising steps. Acceptable values: 21, 31, or 41.
integer
The scale for classifier-free guidance. Minimum is 1 and maximum is 20.
boolean
default:"false"
Indicates if temporary links should be used. Valid for 24 hours.
integer
Seed is used to reproduce results. Same seed will give you the same image in return again. Pass
null for a random number.string
A URL to receive a POST API call once the image generation is complete.
integer
An ID returned in the API response, used to identify the webhook request.

