ICLight

Relight any image with AI-powered illumination control.

circle-check
circle-info

All examples in this guide can be run on GPU servers rented through CLORE.AI Marketplacearrow-up-right marketplace.

Renting on CLORE.AI

  1. Filter by GPU type, VRAM, and price

  2. Choose On-Demand (fixed rate) or Spot (bid price)

  3. Configure your order:

    • Select Docker image

    • Set ports (TCP for SSH, HTTP for web UIs)

    • Add environment variables if needed

    • Enter startup command

  4. Select payment: CLORE, BTC, or USDT/USDC

  5. Create order and wait for deployment

Access Your Server

  • Find connection details in My Orders

  • Web interfaces: Use the HTTP port URL

  • SSH: ssh -p <port> root@<proxy-address>

What is IC-Light?

IC-Light by lllyasviel enables:

  • Relight images with text descriptions

  • Change lighting direction and color

  • Add or remove shadows

  • Create studio lighting effects

  • Foreground/background relighting

Resources

Component
Minimum
Recommended
Optimal

GPU

RTX 3060 12GB

RTX 4080 16GB

RTX 4090 24GB

VRAM

8GB

12GB

16GB

CPU

4 cores

8 cores

16 cores

RAM

16GB

32GB

64GB

Storage

30GB SSD

50GB NVMe

100GB NVMe

Internet

100 Mbps

500 Mbps

1 Gbps

Quick Deploy on CLORE.AI

Docker Image:

Ports:

Command:

Accessing Your Service

After deployment, find your http_pub URL in My Orders:

  1. Go to My Orders page

  2. Click on your order

  3. Find the http_pub URL (e.g., abc123.clorecloud.net)

Use https://YOUR_HTTP_PUB_URL instead of localhost in examples below.

Installation

What You Can Create

Product Photography

  • Perfect lighting for e-commerce

  • Consistent catalog images

  • Studio-quality results without studio

Portrait Enhancement

  • Fix bad lighting in photos

  • Add dramatic lighting effects

  • Create professional headshots

Creative Projects

  • Mood transformation

  • Day-to-night conversion

  • Artistic lighting effects

Video Production

  • Match lighting across scenes

  • Create VFX-ready footage

  • Fix on-location lighting issues

Marketing Materials

  • Hero image creation

  • Consistent brand imagery

  • Quick photo retouching

Basic Usage

Foreground Relighting (FC Mode)

Relight subject with background intact:

Background Conditioned (FBC Mode)

Relight foreground to match new background:

Lighting Prompts

Direction-Based Lighting

Color-Based Lighting

Environment-Based Lighting

Batch Processing

Multiple Lighting Variations

Gradio Interface

ComfyUI Integration

IC-Light is available as ComfyUI nodes:

ComfyUI Workflow

  1. Load your image

  2. Add IC-Light Loader node

  3. Connect to IC-Light Apply node

  4. Set lighting prompt

  5. Connect to KSampler

  6. Output to Save Image

With Background Removal

Performance

Mode
Resolution
GPU
Speed

FC (foreground)

512x512

RTX 3090

3s

FC (foreground)

512x512

RTX 4090

2s

FBC (composite)

512x512

RTX 4090

3s

FC (foreground)

1024x1024

A100

4s

Model Variants

Model
Description
Use Case

IC-Light-FC

Foreground Consistent

Single image relighting

IC-Light-FBC

Foreground-Background Consistent

Compositing with backgrounds

Common Problems & Solutions

Lighting Doesn't Change

Problem: Output looks similar to input

Solutions:

  • Use more descriptive lighting prompts

  • Increase inference steps to 30-40

  • Try different seed values

  • Use stronger contrast in prompt (e.g., "dramatic" vs "soft")

Artifacts on Face/Details

Problem: Face or details look distorted

Solutions:

  • Lower strength/guidance scale

  • Use more inference steps

  • Keep lighting changes subtle

  • Post-process with face restoration

Color Shift Issues

Problem: Unwanted color changes

Solutions:

  • Be specific about color in prompt

  • Add "preserve original colors" to prompt

  • Use color-neutral lighting descriptions

  • Post-process color correction

Background Changes

Problem: Background changes when only foreground should

Solutions:

  • Use FC mode (foreground consistent)

  • Pre-process with background removal

  • Use mask to isolate subject

Inconsistent Results

Problem: Same prompt gives very different results

Solutions:

  • Set fixed seed for reproducibility

  • Increase inference steps for stability

  • Use simpler, more direct prompts

Troubleshooting

Relighting looks unnatural

  • Match lighting direction with scene

  • Use appropriate light intensity

  • Consider shadows in original image

Background affected

  • Use foreground mask properly

  • Segment subject from background first

  • Adjust light falloff settings

Output too dark/bright

  • Adjust light intensity values

  • Use HDR output if available

  • Post-process with curves

Model not loading

  • Download all required checkpoints

  • Check file integrity

  • Verify CUDA compatibility

Cost Estimate

Typical CLORE.AI marketplace rates (as of 2024):

GPU
Hourly Rate
Daily Rate
4-Hour Session

RTX 3060

~$0.03

~$0.70

~$0.12

RTX 3090

~$0.06

~$1.50

~$0.25

RTX 4090

~$0.10

~$2.30

~$0.40

A100 40GB

~$0.17

~$4.00

~$0.70

A100 80GB

~$0.25

~$6.00

~$1.00

Prices vary by provider and demand. Check CLORE.AI Marketplacearrow-up-right for current rates.

Save money:

  • Use Spot market for flexible workloads (often 30-50% cheaper)

  • Pay with CLORE tokens

  • Compare prices across different providers

Next Steps

  • TripoSR - Convert relit images to 3D

  • Stable Diffusion - Generate images to relight

  • ComfyUI - Advanced workflow integration

  • Fooocus - Simple image generation

Last updated

Was this helpful?