
Make sure you add your s3 details for
image_editing
server, so you can receive image generated in your bucket. Images generated without s3 details being added will be delete after 24hoursRequest
Make aPOST
request to below endpoint and pass the required parameters as a request body to the endpoint.
curl
Body Attributes
Your API Key used for request authorization
Text prompt with description of the things you want in the image to be generated
Items you don’t want in the image
URL of the image you want magic mix
Max Width. Default:
768
Max Height. Default:
768
Optional. Minimum k value. Default:
0.3
Optional. Maximum k value. Default:
0.5
Optional. Mix factor for the task. Default:
0.5
Number of denoising steps (minimum: 1; maximum: 50). Default:
20
Number of images to be returned in response. The maximum value is 1.
Seed is used to reproduce results. Same seed will give you same image again. Pass
null
for random seed.Set an URL to get a POST API call once the image generation is complete.
This ID is returned in the response to the webhook API call. This will be used to identify the webhook request.
Body
json