Post Proccessing | Color Correction
Adjust brightness, contrast, saturation, gamma, and color temperature of images for precise color correction.
Quick Start
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "post-processing-color-correction",
"version": "0.0.1",
"input": {
"image_url": "https://example.com/photo.jpg",
"brightness": 0.1,
"contrast": 0.2,
"saturation": 0.1,
"gamma": 1,
"temperature": 0
}
}'
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
brightness |
number | 0 |
Brightness adjustment |
contrast |
number | 0 |
Contrast adjustment |
gamma |
number | 1 |
Gamma adjustment |
image_url |
string | (empty) | URL of image to process |
saturation |
number | 0 |
Saturation adjustment |
temperature |
number | 0 |
Color temperature adjustment |
Output
- Type: image
Examples
Brighten and Warm
{
"model": "post-processing-color-correction",
"version": "0.0.1",
"input": {
"image_url": "https://example.com/dark-photo.jpg",
"brightness": 0.3,
"contrast": 0.1,
"temperature": 0.2,
"gamma": 1.1
}
}
High Contrast Desaturated
{
"model": "post-processing-color-correction",
"version": "0.0.1",
"input": {
"image_url": "https://example.com/landscape.jpg",
"contrast": 0.4,
"saturation": -0.3,
"brightness": 0,
"gamma": 0.9
}
}
Related Models
- Post Processing Combine - Apply multiple effects at once
- Post Processing Color Tint - Apply color tints
- Post Processing Dodge Burn - Dodge and burn effects