input
is an original image url. output
block states that we want to create a progressive JPEG with a pretty high quality factor. In the API response we will receive a temporary URL of a resulting image. Please consult Image I/O for explanation of this blocks, and Storages section if you want to connect Claid API directly with your Cloud Storage in a secure way.resizing
block describes the image size which are set according to the platform guidelines. Here we specify that we want to have an image which is 2688x1512px in resolution(per our imaginary platform guidelines), which is placed on a canvas. See Resizing section to learn about this and other supported options.adjustments
specifies color adjustments applied to an image. Here we have an ML-powered hdr
algorithm applied with 100% intensity which intelligently tunes colors and shadows, and we also manually increased sharpness
a bit. Color Adjustments section describes this in detail.background
block specifies that the object in the image should be separated from the background, and clipping: true
states that we should clip using object bounds. The new image canvas is set using the resizing
block described above.padding
sets a padding which is applied around the object in percentage of overall canvas. See the Padding section.restorations
block switches on the enhancement algorithm called smart_resize
which is a great option for the majority of e-commerce use cases. Another good option to try would be smart_enhance
algorithm which can produce sharper images in some cases.