Comet Image API

This document is intended for everyone that is interested in using C More’s images in applications and services.
Please do not hesitate to contact support@june.se if you have questions or need a new image output format for your application.


Using Comet’s image endpoint to access images

If you want to use an image stored in Comet you can do so by addressing it like this:
https://img.b17g.net/[image Guid]/[key].[image extension]

You should find the image GUID in the api you are using and the format keys that you can use are listed in the table at the end of this document.
If you need a new format you can just send a request to support@june.se or contact C More’s editorial department.

Example:

Image URL for a 4:3 ratio crop: https://img-cdn.b17g.net/9f8341cf-2df1-421b-b96d-3e78383ec8a9/crop4x3.jpg

Image with a 4:3 ratio crop

Crops and sizes

The images can be requested in different crops or sizes.

Same image returned with different crops

Image URL for a 16:9 crop: https://img-cdn.b17g.net/9f8341cf-2df1-421b-b96d-3e78383ec8a9/crop16x9.jpg

Image with a 16:9 ratio crop

Image URL for a 1:1 crop: https://img.b17g.net/9f8341cf-2df1-421b-b96d-3e78383ec8a9/crop1x1.jpg

Image with a 1:1 ratio crop

Image URL for a 7:10 crop: https://img.b17g.net/9f8341cf-2df1-421b-b96d-3e78383ec8a9/crop7x10.jpg

Image with a 7:10 ratio crop

Same image returned with same crop and in different sizes

Image URL for a 16:7 crop: https://img-cdn.b17g.net/9f8341cf-2df1-421b-b96d-3e78383ec8a9/crop16x7.jpg

Image with a 16:7 ratio crop

Image URL for a 16:7 crop with max width 400px: https://img.b17g.net/9f8341cf-2df1-421b-b96d-3e78383ec8a9/crop16x7_w400_h175.jpg

Image with a 16:7 ratio crop

Image URL for a 16:7 crop with max width 200px: https://img.b17g.net/9f8341cf-2df1-421b-b96d-3e78383ec8a9/crop16x7_w200_h88.jpg

Image with a 16:7 ratio crop

Image extensions

Images can be returned in the following formats: jpg, png, webp, tiff, gif, bmp.

API response

If an image is not returned within 30 seconds the API will respond with 202 Accepted and you should try to request the image again.
If the image does not exist the API will respond with 404 Not found.
If you are not allowed to view the image the API will respond with 401 UnAuthorized.

Available formats

The formats without max width or max height will have dimensions depending on the original image and the aspect ratio.

KeyAspectratioWidthHeightEnlarge if neededExampleComments
crop16x716x7  FALSEhttps://img.b17g.net/9f8341cf-2df1-421b-b96d-3e78383ec8a9/crop16x7.jpg 
crop16x7_w100_h4416x7100 TRUEhttps://img.b17g.net/9f8341cf-2df1-421b-b96d-3e78383ec8a9/crop16x7_w100_h44.jpg 
crop16x7_w200_h8816x7200 TRUEhttps://img.b17g.net/9f8341cf-2df1-421b-b96d-3e78383ec8a9/crop16x7_w200_h88.jpg 
crop16x7_w400_h17516x7400 TRUEhttps://img.b17g.net/9f8341cf-2df1-421b-b96d-3e78383ec8a9/crop16x7_w400_h175.jpg 
crop16x7_w1920_h84016x71920 TRUEhttps://img.b17g.net/9f8341cf-2df1-421b-b96d-3e78383ec8a9/crop16x7_w1920_h840.jpg 
crop16x916x9  FALSEhttps://img.b17g.net/9f8341cf-2df1-421b-b96d-3e78383ec8a9/crop16x9.jpg 
crop16x9_w100_h5616x9100 TRUEhttps://img.b17g.net/9f8341cf-2df1-421b-b96d-3e78383ec8a9/crop16x9_w100_h56.jpg 
crop16x9_w200_h11316x9200 TRUEhttps://img.b17g.net/9f8341cf-2df1-421b-b96d-3e78383ec8a9/crop16x9_w200_h113.jpg 
crop16x9_w400_h22516x9400 TRUEhttps://img.b17g.net/9f8341cf-2df1-421b-b96d-3e78383ec8a9/crop16x9_w400_h225.jpg 
crop16x9_w1920_h108016x91920 TRUEhttps://img.b17g.net/9f8341cf-2df1-421b-b96d-3e78383ec8a9/crop16x9_w1920_h1080.jpg 
crop16x9extramargin16x9  FALSEhttps://img.b17g.net/9f8341cf-2df1-421b-b96d-3e78383ec8a9/crop16x9extramargin.jpg 
crop16x9extramargin_w100_h5616x9100 TRUEhttps://img.b17g.net/9f8341cf-2df1-421b-b96d-3e78383ec8a9/crop16x9extramargin_w100_h56.jpg 
crop16x9extramargin_w200_h11316x9200 TRUEhttps://img.b17g.net/9f8341cf-2df1-421b-b96d-3e78383ec8a9/crop16x9extramargin_w200_h113.jpg 
crop16x9extramargin_w400_h22516x9400 TRUEhttps://img.b17g.net/9f8341cf-2df1-421b-b96d-3e78383ec8a9/crop16x9extramargin_w400_h225.jpg 
crop16x9extramargin_w1920_h108016x91920 TRUEhttps://img.b17g.net/9f8341cf-2df1-421b-b96d-3e78383ec8a9/crop16x9extramargin_w1920_h1080.jpg 
crop1x11x1  TRUEhttps://img.b17g.net/9f8341cf-2df1-421b-b96d-3e78383ec8a9/crop1x1.jpg 
crop1x1_w100_h1001x1100 TRUEhttps://img.b17g.net/9f8341cf-2df1-421b-b96d-3e78383ec8a9/crop1x1_w100_h100.jpg 
crop1x1_w200_h2001x1200 TRUEhttps://img.b17g.net/9f8341cf-2df1-421b-b96d-3e78383ec8a9/crop1x1_w200_h200.jpg 
crop1x1_w400_h4001x1400 TRUEhttps://img.b17g.net/9f8341cf-2df1-421b-b96d-3e78383ec8a9/crop1x1_w400_h400.jpg 
crop1x1_w1080_h10801x11080 TRUEhttps://img.b17g.net/9f8341cf-2df1-421b-b96d-3e78383ec8a9/crop1x1_w1080_h1080.jpg 
crop2x32x3  TRUEhttps://img.b17g.net/9f8341cf-2df1-421b-b96d-3e78383ec8a9/crop2x3.jpg 
crop2x3_w100_h1502x3100 TRUEhttps://img.b17g.net/9f8341cf-2df1-421b-b96d-3e78383ec8a9/crop2x3_w100_h150.jpg 
crop2x3_w200_h3002x3200 TRUEhttps://img.b17g.net/9f8341cf-2df1-421b-b96d-3e78383ec8a9/crop2x3_w200_h300.jpg 
crop2x3_w400_h6002x3400 TRUEhttps://img.b17g.net/9f8341cf-2df1-421b-b96d-3e78383ec8a9/crop2x3_w400_h600.jpg 
crop2x3_w720_h10802x3 1080TRUEhttps://img.b17g.net/9f8341cf-2df1-421b-b96d-3e78383ec8a9/crop2x3_w720_h1080.jpg 
crop2x3_logo2x3  FALSEhttps://img.b17g.net/9f8341cf-2df1-421b-b96d-3e78383ec8a9/crop2x3_logo.jpgReturns an image with a C More logo on top.
crop2x3_logo_w720_h10802x3 1080TRUEhttps://img.b17g.net/9f8341cf-2df1-421b-b96d-3e78383ec8a9/crop2x3_logo_w720_h1080.jpgReturns an image with a C More logo on top.
crop4x14x1  TRUEhttps://img.b17g.net/9f8341cf-2df1-421b-b96d-3e78383ec8a9/crop4x1.jpg 
crop4x1_w100_h254x1100 TRUEhttps://img.b17g.net/9f8341cf-2df1-421b-b96d-3e78383ec8a9/crop4x1_w100_h25.jpg 
crop4x1_w200_h504x1200 TRUEhttps://img.b17g.net/9f8341cf-2df1-421b-b96d-3e78383ec8a9/crop4x1_w200_h50.jpg 
crop4x1_w400_h1004x1400 TRUEhttps://img.b17g.net/9f8341cf-2df1-421b-b96d-3e78383ec8a9/crop4x1_w400_h100.jpg 
crop4x1_w1920_h4804x11920 TRUEhttps://img.b17g.net/9f8341cf-2df1-421b-b96d-3e78383ec8a9/crop4x1_w1920_h480.jpg 
crop4x34x3  FALSEhttps://img.b17g.net/9f8341cf-2df1-421b-b96d-3e78383ec8a9/crop4x3.jpg 
crop4x3_w100_h754x3100 TRUEhttps://img.b17g.net/9f8341cf-2df1-421b-b96d-3e78383ec8a9/crop4x3_w100_h75.jpg 
crop4x3_w200_h1504x3200 TRUEhttps://img.b17g.net/9f8341cf-2df1-421b-b96d-3e78383ec8a9/crop4x3_w200_h150.jpg 
crop4x3_w400_h3004x3400 TRUEhttps://img.b17g.net/9f8341cf-2df1-421b-b96d-3e78383ec8a9/crop4x3_w400_h300.jpg 
crop4x3_w1920_h14404x31920 TRUEhttps://img.b17g.net/9f8341cf-2df1-421b-b96d-3e78383ec8a9/crop4x3_w1920_h1440.jpg 
crop4x3_logo4x3  FALSEhttps://img.b17g.net/9f8341cf-2df1-421b-b96d-3e78383ec8a9/crop4x3_logo.jpgReturns an image with a C More logo on top.
crop4x3_logo_w1920_h14404x31920 TRUEhttps://img.b17g.net/9f8341cf-2df1-421b-b96d-3e78383ec8a9/crop4x3_logo_w1920_h1440.jpgReturns an image with a C More logo on top.
crop7x107x10  FALSEhttps://img.b17g.net/9f8341cf-2df1-421b-b96d-3e78383ec8a9/crop7x10.jpg 
crop7x10_w100_h1437x10100 TRUEhttps://img.b17g.net/9f8341cf-2df1-421b-b96d-3e78383ec8a9/crop7x10_w100_h143.jpg 
crop7x10_w200_h2867x10200 TRUEhttps://img.b17g.net/9f8341cf-2df1-421b-b96d-3e78383ec8a9/crop7x10_w200_h286.jpg 
crop7x10_w400_h5727x10400 TRUEhttps://img.b17g.net/9f8341cf-2df1-421b-b96d-3e78383ec8a9/crop7x10_w400_h572.jpg 
crop7x10_w756_h10807x10 1080TRUEhttps://img.b17g.net/9f8341cf-2df1-421b-b96d-3e78383ec8a9/crop7x10_w756_h1080.jpg 
ultraforge7x2  FALSEhttps://img.b17g.net/9f8341cf-2df1-421b-b96d-3e78383ec8a9/ultraforge.jpg 
ultraforge_w100_h297x2100 TRUEhttps://img.b17g.net/9f8341cf-2df1-421b-b96d-3e78383ec8a9/ultraforge_w100_h29.jpg 
ultraforge_w200_h587x2200 TRUEhttps://img.b17g.net/9f8341cf-2df1-421b-b96d-3e78383ec8a9/ultraforge_w200_h58.jpg 
ultraforge_w400_1157x2400 TRUEhttps://img.b17g.net/9f8341cf-2df1-421b-b96d-3e78383ec8a9/ultraforge_w400_115.jpg 
originalsizeOriginal  TRUEhttps://img.b17g.net/9f8341cf-2df1-421b-b96d-3e78383ec8a9/originalsize.jpg 
inside_w2400_h2400Original24002400TRUEhttps://img.b17g.net/9f8341cf-2df1-421b-b96d-3e78383ec8a9/inside_w2400_h2400.jpgThe image returned will be resized to fit in a 2400x2400 box. No particular aspect ratio will be applied and the image will not be enlarged if it is smaller than 2400x2400.