AI HDR Enhancement
Enhance photographs with HDR processing and dynamic range improvements using each::sense — the intelligent AI agent that automatically selects the best model for your request.
Quick Start
Requires an each::labs API key. Get one at eachlabs.ai.
Using curl
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"messages": [
{
"role": "user",
"content": [
{"type": "text", "text": "Enhance this photograph with HDR processing: recover details in the dark shadow areas, bring back blown-out highlights in the sky, boost local contrast for texture detail, create a natural HDR look that is vivid but not over-processed, maintain realistic colors"},
{"type": "image_url", "image_url": {"url": "https://example.com/underexposed-photo.jpg"}}
]
}
],
"stream": false
}'
Using Python (OpenAI SDK)
from openai import OpenAI
client = OpenAI(
api_key="YOUR_EACHLABS_API_KEY",
base_url="https://eachsense-agent.core.eachlabs.run/v1"
)
response = client.chat.completions.create(
model="eachsense/beta",
messages=[{
"role": "user",
"content": "Enhance this photograph with HDR processing: recover details in the dark shadow areas, bring back blown-out highlights in the sky, boost local contrast for texture detail, create a natural HDR look that is vivid but not over-processed, maintain realistic colors"
}],
# Images are included in the message content array above
)
print(response.choices[0].message.content)
Streaming
Set "stream": true for real-time SSE responses, or "stream": false for complete result in a single response. Streaming is useful for showing progress in UIs; non-streaming is simpler for scripts and automation.
Tips for HDR Enhancement
- Always provide the source image via
image_urlsfor enhancement. - Specify the problem — "dark shadows," "blown highlights," "flat contrast," or "dull colors."
- Choose the HDR intensity — "subtle natural enhancement" vs. "dramatic HDR effect."
- Describe the desired look — "photojournalistic realism," "dramatic landscape HDR," or "warm golden hour enhancement."
- Avoid over-processing — request "natural" or "realistic" to prevent the haloed, overly saturated HDR look.
Examples
Landscape HDR
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"messages": [
{
"role": "user",
"content": [
{"type": "text", "text": "Apply HDR enhancement to this sunset landscape: recover the foreground details lost in shadow, bring texture back to the bright clouds, enhance the warm golden tones, boost the dramatic sky colors while keeping the rocks and water in the foreground well-exposed, natural dramatic HDR look"},
{"type": "image_url", "image_url": {"url": "https://example.com/sunset-landscape.jpg"}}
]
}
],
"stream": false
}'
Architecture HDR
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"messages": [
{
"role": "user",
"content": [
{"type": "text", "text": "Enhance this interior architecture photograph with HDR: balance the bright windows with the dark interior, bring out texture in the wooden beams and stone walls, make the room feel evenly lit without losing the dramatic window light, professional real estate HDR style"},
{"type": "image_url", "image_url": {"url": "https://example.com/interior-photo.jpg"}}
]
}
],
"stream": false
}'
Portrait Enhancement
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"messages": [
{
"role": "user",
"content": [
{"type": "text", "text": "Subtly enhance this portrait with HDR processing: gently lift the shadows under the chin and around the eyes, add micro-contrast for skin texture detail, brighten the catch lights in the eyes, warm the overall tone slightly, keep the enhancement natural and flattering"},
{"type": "image_url", "image_url": {"url": "https://example.com/portrait-photo.jpg"}}
]
}
],
"stream": false
}'
Workflow: Photo Enhancement Pipeline
- Assess the exposure — Identify underexposed shadows and overexposed highlights.
- Apply HDR enhancement — Recover detail across the full tonal range.
- Adjust color balance — Fine-tune warmth, saturation, and color accuracy.
- Boost local contrast — Bring out texture and detail without global over-processing.
- Final review — Compare with the original to ensure improvement without artifacts.
Related Skills
- AI Photo Restoration — Repair damage before enhancement
- AI Photo Colorization — Add color to enhanced B&W photos
- AI Photo Style Transfer — Apply artistic styles to enhanced photos
- AI Stock Photo — Generate new stock photography
Related Models
- flux-2-max — High-fidelity image processing
- seedream-v4-5 — Intelligent detail enhancement
- nano-banana-pro — Quick enhancement previews