Loading...
Loading...
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.
npx skill4agent add eachlabs/skills image-relightingcurl -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 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 |
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"
}'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"
}'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"
}'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"
}'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"
}'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"
}'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"
}'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"
}'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"
}'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"
}'session_id# 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 | Best For | Speed | Quality |
|---|---|---|---|
| Final deliverables, client work, portfolio images | Slower | Highest |
| Quick previews, testing lighting ideas, batch processing | Faster | Good |
"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 |
|---|---|---|
| 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-senseproduct-photo-generationportrait-enhancementbackground-replacement