Brightness Adjustment
Adjust the brightness of an image
/v1/image/adjust/brightness
curl "https://image.toolkitapi.io/v1/image/adjust/brightness?url=https://toolkitapi.io/static/samples/sample-image.png&factor=1.4&format=jpeg"
import httpx
resp = httpx.get(
"https://image.toolkitapi.io/v1/image/adjust/brightness?url=https://toolkitapi.io/static/samples/sample-image.png&factor=1.4&format=jpeg",
)
print(resp.json())
const resp = await fetch("https://image.toolkitapi.io/v1/image/adjust/brightness?url=https://toolkitapi.io/static/samples/sample-image.png&factor=1.4&format=jpeg", {
});
const data = await resp.json();
console.log(data);
# See curl example
{
"image": "/9j/4AAQSkZJRgABAQ...(base64 data)...",
"format": "jpeg",
"factor": 1.4
}
Try It Live
Description
How to Use
1. Provide the source image via the `url` query parameter.
2. Set the `factor` parameter to control the adjustment intensity (1.0 = no change).
3. Choose your preferred output `format` (png, jpeg, or webp) and `quality` level.
About This Tool
Use the Brightness Adjustment endpoint to lighten or darken an image. The enhancement factor controls the intensity: 1.0 leaves the image unchanged, values below 1.0 darken it, and values above 1.0 brighten it (up to 5.0).
This is useful for correcting underexposed or overexposed photos, preparing images for different display contexts, and creating visual effects. The adjustment uses PIL's ImageEnhance for smooth, linear brightness scaling.
Why Use This Tool
- Photo correction — Fix underexposed or overexposed images
- Thumbnail enhancement — Brighten dark thumbnails for better visibility
- Dark mode assets — Darken images for dark-themed UI contexts
- Batch processing — Normalize brightness across a set of product photos
Frequently Asked Questions
What does a factor of 0.0 produce?
How is this different from contrast adjustment?
Can I fix an underexposed photo?
Start using Brightness Adjustment now
Get your free API key and make your first request in under a minute.