m4c
FREEMIUM
By datamind
Updated a year ago

m4c API Documentation

A RESTful API implementing state-of-the-art image processing and computer vision tools.

Learn more about this API
Photo editing
POSTImage Enhancement
POSTRed Eye Correction
POSTMiniature Maker
POSTImage Enhancement

Implementing state-of-the-art algorithms to enhance color, contrast and dynamic range, this is an easy-to-use image processing tool that will automatically improve digital images.

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Optional Parameters
urlSTRING
OPTIONALURL of the image (please value one between url and file)
fileBINARY
OPTIONALBinary image file (please value one between url and file)
colorCorrectionNUMBER
OPTIONALFlag to enable (1) or disable (0) color correction. Default value is 0. Enabling it can be useful for photos with a dominant color (e.g. a photo where the snow looks blue)
contrastEnhanceNUMBER
OPTIONALFlag to enable (1) or disable (0) contrast enhancement. Default value is 1.
contrastEnhanceWhiteNUMBER
OPTIONALContrast enhancement intensity for the white component. It ranges from 0.0 to 20.0, default value is 9.0.
contrastEnhanceBlackNUMBER
OPTIONALContrast enhancement intensity for the black component. It ranges from 0.0 to 20.0, default value is 4.0.
transferEnhanceIntensityNUMBER
OPTIONALThe main enhancement intensity parameter. It ranges from 0.1 to 1.0, default value is 0.3
transferEnhanceSigmaNUMBER
OPTIONALThis parameter represents the strength applied to the enhancement, it ranges from 0.1 to 4.0, the default value is 1.4.
transferEnhanceSensibilityNUMBER
OPTIONALThe sensibility of the enhancement. The bigger the photo, the bigger it should be. It ranges from 1 to 9 (integer values), the default value is 1.
fillLightNUMBER
OPTIONALFlag to enable (1) or disable (0) fill light. Default value is 0. Enabling it will make dark photos look brighter.
fillLightIntensityNUMBER
OPTIONALFill light intensity ranges from 1.0 to 3.0. Default value is 1.0.
sharpenNUMBER
OPTIONALFlag to enable (1) or disable (0) sharpening. Default value is 0.
sharpenIntensityNUMBER
OPTIONALSharpness intensity ranges from 0.1 to 3.0. Default value is 0.3.
Code Snippet
Install SDK
Response ExampleSchema

Install SDK for (Node.js)Unirest

OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication