Remix (legacy)
Remix (legacy)
Remix provided images synchronously based on a given prompt and optional parameters.
Input images are cropped to the chosen aspect ratio before being remixed.
Supported image formats include JPEG, PNG, and WebP.
Images links are available for a limited period of time; if you would like to keep the image, you must download it.
Authentication
API key for access control. Use in the header with the name “Api-Key”
Request
An image binary (max size 25MB); only JPEG, WebP and PNG formats are supported at this time.
Response
Image(s) generated successfully.
URL-safe base64 ID of the sampling request. Present when the caller
supplied webhook_url and the request was accepted for async
delivery; in that case data is omitted and the generated images
will be POSTed to the customer’s webhook_url when ready.
A list of ImageObjects that contain the generated image(s).