Skip to main content
POST
Image mixer
Together with the image you can add your description of the desired result by passing prompt and negative prompt.

Image Mixer

Image-Mixer endpoint result

Request

Make a POST request to below endpoint and pass the required parameters as a request body to the endpoint.
curl

Body

json

Body

application/json
key
string
required

Your API Key used for request authorization

prompt
string
required

Text prompt with description of the things you want in the image

init_image
string<uri>[]
required

An array of image URLs to mix

Maximum array length: 4
negative_prompt
string

Items you don't want in the image

width
integer

The width of the generated images, If not provided, the width of init_image is used

Required range: x <= 1024
height
integer

The height of the generated images, If not provided, the height of init_image is used

Required range: x <= 1024
steps
integer

Number of denoising steps

Required range: 1 <= x <= 50
guidance_scale
number

Scale for classifier-free guidance

Required range: 1 <= x <= 20
seed
integer

Seed used to reproduce results

samples
integer

Number of images to be returned in response

Required range: x <= 1
webhook
string<uri>

URL to receive POST API call when complete

track_id
integer

ID for webhook identification

Response

200 - application/json

Image mixer response

status
enum<string>
Available options:
success
generationTime
number

Time taken to generate the image in seconds

id
integer

Unique identifier for the generation request

output
string<uri>[]

Array of generated image URLs

Array of proxy image URLs

meta
object

Metadata about the generation process