Request
Make aPOST request to below endpoint and pass the required parameters as a request body.
curl
Body
json
Body Attributes
The reference image, as a single URL or a list of up to
10 URLs. With base64 set to true, send base64 strings instead of URLs.Width of the generated image in pixels. Maximum is
2048. Leave out to follow the size of the reference image.Height of the generated image in pixels. Maximum is
2048. Leave out to follow the size of the reference image.Seed is used to reproduce results. The same seed will give you the same image again. Pass null for a random number.
Speeds up generation at the cost of GPU memory. Turn it off if a large request runs out of memory. options:
true or false.What to do with an image the safety checker flags. options:
black, blur or sensitive_content_text.If true, stores the image in temporary storage which is cleaned every 24 hours. options:
true or false.Set to
true when you are sending or expecting base64 rather than URLs. options: true or false.
