Request
Make aPOST request to below endpoint and pass the required parameters as a request body.
curl
Body
json
Body Attributes
string
required
Your API Key used for request authorization.
string
required
Text prompt with description of the things you want in the image to be generated.
string
Items you don’t want in the image.
string
required
URL of the initial image to use as a starting point for generation.
number
Max Height: Width: 1024x1024.
number
Max Height: Width: 1024x1024.
number
Number of images to be returned in response. The maximum value is 2.
string
Optional. LoRa models to use.
int
Optional. Strength of the LoRa model(s). If multiple LoRa models, provide comma-separated values (0.1 to 1).
boolean
A checker for NSFW images. If such an image is detected, it will be replaced by a blank image.
number
Seed is used to reproduce results. Same seed will give you the same image again. Pass null for a random number.
boolean
default:"false"
Queue response instantly before processing finishes instead of waiting a minimum amount of time. default:
false, options: true or false.boolean
default:"false"
Get response as base64 string. default:
false, options: true or false.string
Set a URL to get a POST API call once the image generation is complete.
string
This ID is returned in the response to the webhook API call. This will be used to identify the webhook request.

