This endpoint allows you to magic mix image and prompt to produce an catching images.
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 24hours
Request
Make a POST request to below endpoint and pass the required parameters as a request body to the endpoint.
curl
--request POST 'https://modelslab.com/api/v1/enterprise/image_editing/magic_mix' \
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 image you want magic mix
integer
Max Width. Default: 768
integer
Max Height. Default: 768
number
Optional. Minimum k value. Default: 0.3
number
Optional. Maximum k value. Default: 0.5
number
Optional. Mix factor for the task. Default: 0.5
integer
Number of denoising steps (minimum: 1; maximum: 50). Default: 20
integer
Number of images to be returned in response. The maximum value is 1.
integer
Seed is used to reproduce results. Same seed will give you same image again. Pass null for random seed.
string
Set an 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.