Website Icon

Empowering Visual Journeys One API Call at a Time

Cosmos is a public image server hosted on AWS, delivering both static and dynamically generated images globally with low latency.

Supported Request Formats

Cosmos requests are expected to take one of the following formats:

https://<cosmos_url>/media/product/<base_image>/<base_image>-<dimension><resolution>.<format>

https://<cosmos_url>/assets/img/<productnumber>/mamfile/.__PREM__.png
https://<cosmos_url>/assets/img/<productnumber>/mamfile/.__SX700__.webp
https://<cosmos_url>/assets/img/<productnumber>/mamfile/.__SY330__.avif

Supported image file formats include jpg, png, webp, eps, avif and gif.

See docs in

Example Requests

https://<cosmos_url>/media/product/10844/10844-w648.jpg
- Returns the 10844 base image in jpg file format with a scaled width based resolution of 648 pixels

https://<cosmos_url>/media/product/10844/10844-h378.jpg
- Returns the 10844 base image in jpg file format with a scaled height based resolution of 378 pixels

https://<cosmos_url>/assets/img/04004/order_number/A-1000000152-VJ.__SX648__.webp
- Returns the for order_number A-1000000152-VJ of product 04004 image in webp format with width of 648 pixels.

https://<cosmos_url>/assets/img/04004/mamfile/11660.__PRES__.webp
- Returns the 04004 base image in preset size of small