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.
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.
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Add professional studio lighting to this portrait - soft key light from the left with subtle fill",
"image_urls": ["https://example.com/portrait.jpg"],
"mode": "max"
}'
| Lighting Style | Description | Best For |
|---|---|---|
| Studio (3-point) | Key, fill, and back light setup | Professional portraits |
| Rembrandt | Triangle of light on cheek | Dramatic portraits |
| Butterfly | Light from above, shadow under nose | Beauty, glamour |
| Split | Half face lit, half in shadow | Dramatic, artistic |
| Ring Light | Even, shadowless front lighting | Beauty, social media |
| Golden Hour | Warm, soft directional light | Outdoor portraits, lifestyle |
| Blue Hour | Cool, soft ambient light | Moody, atmospheric |
| Window Light | Soft, directional natural light | Natural portraits |
| Neon/Colored | Vibrant colored lighting | Creative, editorial |
| Cinematic | High contrast, dramatic shadows | Film-like imagery |
Transform a casual photo into a professionally lit portrait with classic three-point lighting setup.
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "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.",
"image_urls": ["https://example.com/portrait.jpg"],
"mode": "max"
}'
Add warm, golden sunlight effect as if the photo was taken during the magic hour.
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "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.",
"image_urls": ["https://example.com/outdoor-photo.jpg"],
"mode": "max"
}'
Create bold, dramatic portraits with strong directional light and deep shadows.
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "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.",
"image_urls": ["https://example.com/headshot.jpg"],
"mode": "max"
}'
Create flattering, even lighting that minimizes harsh shadows and skin imperfections.
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "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.",
"image_urls": ["https://example.com/beauty-shot.jpg"],
"mode": "max"
}'
Add vibrant, creative colored lighting for editorial or artistic effects.
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "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.",
"image_urls": ["https://example.com/model-photo.jpg"],
"mode": "max"
}'
Simulate beautiful, soft natural light coming through a window.
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "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.",
"image_urls": ["https://example.com/indoor-portrait.jpg"],
"mode": "max"
}'
Add the signature ring light look popular in beauty and social media content.
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "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.",
"image_urls": ["https://example.com/selfie.jpg"],
"mode": "max"
}'
Create movie-quality lighting with dramatic contrast and atmosphere.
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "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.",
"image_urls": ["https://example.com/actor-photo.jpg"],
"mode": "max"
}'
Fix poorly lit photos by softening or removing unflattering harsh shadows.
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "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.",
"image_urls": ["https://example.com/harsh-shadow-photo.jpg"],
"mode": "max"
}'
Adjust subject lighting to seamlessly match a new environment or composited background.
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "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.",
"image_urls": [
"https://example.com/subject-indoor.jpg",
"https://example.com/beach-sunset-background.jpg"
],
"mode": "max"
}'
Use session_id to iteratively refine lighting across multiple requests:
# Initial relighting
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Add dramatic studio lighting to this portrait with strong shadows",
"image_urls": ["https://example.com/portrait.jpg"],
"session_id": "lighting-session-001"
}'
# Refine the result
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "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.",
"session_id": "lighting-session-001"
}'
# Try a variation
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Create another version with warmer color temperature, like tungsten lighting",
"session_id": "lighting-session-001"
}'
Ask your users before generating:
"Do you want fast & cheap, or high quality?"
| Mode | Best For | Speed | Quality |
|---|---|---|---|
max | Final deliverables, client work, portfolio images | Slower | Highest |
eco | Quick previews, testing lighting ideas, batch processing | Faster | Good |
When requesting relighting, include these details for best results:
"Relight this [subject type] with [lighting style].
Light coming from [direction] with [quality] shadows.
[Color temperature] color temperature.
Mood: [atmosphere description].
[Additional requirements]"
| Error | Cause | Solution |
|---|---|---|
Failed to create prediction: HTTP 422 | Insufficient balance | Top up at eachlabs.ai |
| Content policy violation | Prohibited content | Ensure image complies with content policies |
| Timeout | Complex generation | Set client timeout to minimum 10 minutes |
| Poor lighting results | Vague prompt | Be more specific about light direction, quality, and mood |
each-sense - Core API documentationproduct-photo-generation - E-commerce product lightingportrait-enhancement - Portrait retouching and enhancementbackground-replacement - Change backgrounds with matched lighting