Image Relighting logo

Image Relighting

Organization
eachlabs
image-relighting

Relight photos and images using each::sense AI. Transform lighting conditions, add studio lighting, golden hour effects, dramatic shadows, neon glows, and match lighting to any environment.

Overview

Publishereachlabs
Repositoryskills
Skill nameimage-relighting
Stars
46
Forks
7
Bundled files
1
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 1 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by eachlabs on GitHub. Read the source before you install it.

Installation

Install the Image Relighting AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/eachlabs/skills/tree/main/skills/image-relighting
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/eachlabs/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/image-relighting .claude/skills/image-relighting
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Image Relighting in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Image Relighting on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Image Relighting is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Image Relighting

Transform the lighting in your photos using each::sense. This skill allows you to change lighting conditions, add professional studio setups, create dramatic effects, or match lighting to new backgrounds - all while preserving the original subject.

Features

  • Studio Lighting: Professional three-point lighting, Rembrandt, butterfly, and split lighting setups
  • Natural Light: Golden hour, blue hour, overcast, and window light effects
  • Dramatic Effects: Hard shadows, rim lighting, silhouettes, and chiaroscuro
  • Creative Lighting: Neon glows, colored gels, disco lights, and artistic effects
  • Ring Light: Beauty and portrait ring light effects
  • Cinematic: Film noir, blockbuster movie, and moody cinematic lighting
  • Shadow Control: Remove harsh shadows, soften existing light, fill in dark areas
  • Environment Matching: Match subject lighting to a new background or scene

Quick Start

bash
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Add professional studio lighting to this portrait - soft key light from the left with subtle fill"}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/portrait.jpg"],
    "mode": "max"
  }'

Lighting Types Reference

Lighting StyleDescriptionBest For
Studio (3-point)Key, fill, and back light setupProfessional portraits
RembrandtTriangle of light on cheekDramatic portraits
ButterflyLight from above, shadow under noseBeauty, glamour
SplitHalf face lit, half in shadowDramatic, artistic
Ring LightEven, shadowless front lightingBeauty, social media
Golden HourWarm, soft directional lightOutdoor portraits, lifestyle
Blue HourCool, soft ambient lightMoody, atmospheric
Window LightSoft, directional natural lightNatural portraits
Neon/ColoredVibrant colored lightingCreative, editorial
CinematicHigh contrast, dramatic shadowsFilm-like imagery

Use Case Examples

1. Add Studio Lighting

Transform a casual photo into a professionally lit portrait with classic three-point lighting setup.

bash
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Add professional studio lighting to this portrait. Use a soft key light from 45 degrees left, fill light from the right to reduce shadows, and a subtle hair light from behind. Keep the background dark for a classic studio look."}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/portrait.jpg"],
    "mode": "max"
  }'

2. Golden Hour / Sunset Lighting

Add warm, golden sunlight effect as if the photo was taken during the magic hour.

bash
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Relight this photo with golden hour lighting. Add warm, soft sunlight coming from the side, creating a beautiful golden glow on the skin. Include subtle lens flare and that magical sunset atmosphere."}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/outdoor-photo.jpg"],
    "mode": "max"
  }'

3. Dramatic Side Lighting

Create bold, dramatic portraits with strong directional light and deep shadows.

bash
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Apply dramatic side lighting to this portrait. Strong directional light from the left creating deep shadows on the right side of the face. High contrast, moody atmosphere, like a film noir character portrait."}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/headshot.jpg"],
    "mode": "max"
  }'

4. Soft Diffused Lighting

Create flattering, even lighting that minimizes harsh shadows and skin imperfections.

bash
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Relight this photo with soft, diffused lighting. Like shooting through a large softbox or on an overcast day. Even, flattering light with minimal shadows, perfect for beauty photography. Keep the skin looking natural and glowing."}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/beauty-shot.jpg"],
    "mode": "max"
  }'

5. Neon / Colored Lighting

Add vibrant, creative colored lighting for editorial or artistic effects.

bash
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Add neon lighting to this portrait. Cyberpunk style with pink/magenta light from the left and blue/cyan light from the right. Create that futuristic nightclub vibe with vibrant colored reflections on the skin and a dark background."}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/model-photo.jpg"],
    "mode": "max"
  }'

6. Natural Window Light

Simulate beautiful, soft natural light coming through a window.

bash
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Relight this portrait with natural window light. Soft, directional daylight coming from a large window on the left side. Create gentle shadows and that beautiful, airy natural light photographers love. Slightly cool color temperature."}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/indoor-portrait.jpg"],
    "mode": "max"
  }'

7. Ring Light Effect

Add the signature ring light look popular in beauty and social media content.

bash
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Apply ring light effect to this selfie. Even, frontal lighting with that signature circular catchlight in the eyes. Minimize shadows under the nose and chin, create that beauty influencer look with glowing, even skin illumination."}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/selfie.jpg"],
    "mode": "max"
  }'

8. Cinematic Lighting

Create movie-quality lighting with dramatic contrast and atmosphere.

bash
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Apply cinematic lighting to this portrait. Hollywood movie style with strong key light, deep shadows, and subtle rim light separating the subject from background. Moody and atmospheric like a scene from a thriller. Add subtle haze/atmosphere in the air."}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/actor-photo.jpg"],
    "mode": "max"
  }'

9. Remove Harsh Shadows

Fix poorly lit photos by softening or removing unflattering harsh shadows.

bash
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Remove the harsh shadows from this photo. The midday sun created unflattering dark shadows under the eyes and nose. Relight it with softer, more even lighting while keeping a natural outdoor look. Fill in the shadow areas without making it look flat."}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/harsh-shadow-photo.jpg"],
    "mode": "max"
  }'

10. Match Lighting to Background

Adjust subject lighting to seamlessly match a new environment or composited background.

bash
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Relight this person to match the beach sunset background. The subject was photographed indoors with flat lighting, but needs to look like they are actually on the beach during golden hour. Match the warm color temperature, add rim lighting from the setting sun behind them, and ensure the shadows are consistent with the background lighting direction."}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": [
      "https://example.com/subject-indoor.jpg",
      "https://example.com/beach-sunset-background.jpg"
    ],
    "mode": "max"
  }'

Multi-Turn Lighting Refinement

Use session_id to iteratively refine lighting across multiple requests:

bash
# Initial relighting
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Add dramatic studio lighting to this portrait with strong shadows"}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/portrait.jpg"],
    "session_id": "lighting-session-001"
  }'

# Refine the result
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "The shadows are too harsh. Can you soften them slightly while keeping the dramatic feel? Also add a subtle blue rim light on the shadow side."}],
    "model": "eachsense/beta",
    "stream": true,
    "session_id": "lighting-session-001"
  }'

# Try a variation
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Create another version with warmer color temperature, like tungsten lighting"}],
    "model": "eachsense/beta",
    "stream": true,
    "session_id": "lighting-session-001"
  }'

Mode Selection

Ask your users before generating:

"Do you want fast & cheap, or high quality?"

ModeBest ForSpeedQuality
maxFinal deliverables, client work, portfolio imagesSlowerHighest
ecoQuick previews, testing lighting ideas, batch processingFasterGood

Prompt Tips for Best Results

When requesting relighting, include these details for best results:

  1. Light Direction: Specify where the light is coming from (left, right, above, behind)
  2. Light Quality: Hard/soft, diffused, specular
  3. Color Temperature: Warm (golden), cool (blue), neutral, or specific colors
  4. Shadow Intensity: Deep shadows, subtle shadows, shadowless
  5. Mood/Atmosphere: Dramatic, romantic, professional, edgy
  6. Reference Style: "Like a Vogue editorial" or "Film noir style"

Example Prompt Structure

"Relight this [subject type] with [lighting style].
Light coming from [direction] with [quality] shadows.
[Color temperature] color temperature.
Mood: [atmosphere description].
[Additional requirements]"

Error Handling

ErrorCauseSolution
Failed to create prediction: HTTP 422Insufficient balanceTop up at eachlabs.ai
Content policy violationProhibited contentEnsure image complies with content policies
TimeoutComplex generationSet client timeout to minimum 10 minutes
Poor lighting resultsVague promptBe more specific about light direction, quality, and mood

Related Skills

  • each-sense - Core API documentation
  • product-photo-generation - E-commerce product lighting
  • portrait-enhancement - Portrait retouching and enhancement
  • background-replacement - Change backgrounds with matched lighting

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Image Relighting AI skill do?

Relight photos and images using each::sense AI. Transform lighting conditions, add studio lighting, golden hour effects, dramatic shadows, neon glows, and match lighting to any environment.

Why use Image Relighting on TypingMind?

Because you install it once and use it with any model. Image Relighting is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Image Relighting in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/eachlabs/skills/tree/main/skills/image-relighting. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Image Relighting?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Image Relighting?

As many as you like. As long as a model supports skills, you can use Image Relighting with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Image Relighting AI skill free?

It is published on GitHub by eachlabs. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇