Ai hdr enhancement

From awesome-genmedia/skills · View interactive version

Ai hdr enhancement is an AI agent skill from the GitHub repository awesome-genmedia/skills. Enhance photos with HDR and dynamic range improvements using each::sense AI. Recover shadow detail, tame highlights, boost local contrast, and create vivid high-dynamic-range looks. Improve exposure balance and bring out hidden details in underexposed or overexposed images. Use for: HDR enhancement,

How to use this skill

Skill file

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

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

  1. Assess the exposure — Identify underexposed shadows and overexposed highlights.
  2. Apply HDR enhancement — Recover detail across the full tonal range.
  3. Adjust color balance — Fine-tune warmth, saturation, and color accuracy.
  4. Boost local contrast — Bring out texture and detail without global over-processing.
  5. Final review — Compare with the original to ensure improvement without artifacts.

Related Skills

Related Models

Documentation

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.