IC-Light-v2 for Image Relighting Image to Image

fal-ai/iclight-v2
An endpoint for re-lighting photos and changing their backgrounds per a given description
Inference
Commercial use

Input

Additional Settings

Customize your input with more control.

Result

Idle

Waiting for your input...

Your request will cost $0.1 per megapixel.

Logs

Readme

ICLight V2 - Advanced AI Image Relighting and Background Replacement

Transform your photos with professional lighting effects and background changes using ICLight V2, an advanced image-to-image model that re-lights photos and modifies backgrounds based on text descriptions.

Overview

ICLight V2 delivers exceptional image relighting and background replacement capabilities through an easy-to-use API. Whether you're enhancing product photography, creating artistic effects, or adjusting lighting for professional imagery, ICLight V2 provides the flexibility to transform your images while preserving important details.

Key Benefits

Transform your images with ICLight V2's powerful capabilities:

  • Re-light photos with natural, professional-quality lighting effects
  • Change backgrounds seamlessly based on text descriptions
  • Preserve image details while applying sophisticated lighting modifications
  • Flexible control over lighting direction and intensity
  • Cost-effective pricing at $0.1 per megapixel
Getting Started

Getting up and running with ICLight V2 takes just a few minutes. Here's how:

  1. Install your preferred SDK:

JavaScript/TypeScript:


Python:


  1. Configure your API key:

  1. Transform your first image:

API Parameters

ICLight V2 supports advanced parameters for fine-tuned control:

Required Parameters
  • : URL of the input image to be re-lit
  • : Text description of desired lighting/background
Optional Parameters
  • : Threshold for background removal (default: 0.67)
  • : Number of denoising steps (default: 28)
  • : Initial latent state (default: "None")
  • : Number of images to generate (default: 1)
  • : CFG scale (default: 1)
  • : Low resolution denoise strength (default: 0.98)
  • : High resolution denoise strength (default: 0.95)
  • : High resolution downscale factor (default: 0.5)
  • : Guidance scale for generation (default: 5)
  • : Enable safety checks (default: true)
  • : Output image format (default: "jpeg")
Advanced Usage

Example with custom parameters:


Use Cases

ICLight V2 excels in various applications:

Product Photography
  • Enhance e-commerce product images with professional lighting
  • Create multiple lighting variations for A/B testing
  • Remove distracting backgrounds and replace with clean alternatives
Portrait Enhancement
  • Adjust portrait lighting for more flattering results
  • Change environmental lighting to match desired mood
  • Create consistent lighting across photo series
Creative Projects
  • Transform day scenes to night or golden hour
  • Add dramatic lighting effects for artistic impact
  • Create surreal environments with custom backgrounds
Best Practices

Maximize your results with these proven approaches:

  • Clear Prompts: Be specific about lighting direction, intensity, and background elements
  • High-Quality Input: Use well-exposed images for best results
  • Experiment with Settings: Adjust denoise and guidance parameters for different effects
  • Batch Processing: Generate multiple variations to find the perfect result
  • Monitor Usage: Track megapixel consumption through the fal.ai dashboard
Queue Management

For handling requests asynchronously:


Technical Support

Our comprehensive support ensures your success:

  • Detailed API documentation with code examples
  • Active Discord community for peer support
  • Regular model updates and improvements
  • Enterprise support available
Pricing and Usage
  • Cost: $0.1 per megapixel
  • Transparent usage-based pricing that scales with your needs
  • No hidden fees or minimum commitments
  • Monitor usage through the fal.ai dashboard

View detailed pricing or contact sales for enterprise solutions.

Getting Support

We're here to help you succeed:

Ready to Transform Your Images?

Sign up now at fal.ai and start enhancing your images with professional lighting and backgrounds using ICLight V2.