zsxkib/ic-light π’βππΌοΈ β πΌοΈ
About
βοΈβ¨Prompts to auto-magically relights your images

Example Output
Prompt:
"Woman, detailed face, sci-fi RGB glowing, cyberpunk"
Output

Performance Metrics
5.72s
Prediction Time
5.77s
Total Time
All Input Parameters
{ "cfg": 2, "steps": 25, "width": 512, "height": 640, "prompt": "Woman, detailed face, sci-fi RGB glowing, cyberpunk", "light_source": "Left Light", "highres_scale": 1.5, "output_format": "webp", "subject_image": "https://replicate.delivery/pbxt/KtCKrs9sxPF3HciwoWL0TTVM9Nde7ySDWpO9S2flTiyi9Pp3/i3.png", "lowres_denoise": 0.9, "output_quality": 80, "appended_prompt": "best quality", "highres_denoise": 0.5, "negative_prompt": "lowres, bad anatomy, bad hands, cropped, worst quality", "number_of_images": 1 }
Input Parameters
- cfg
- Classifier-Free Guidance scale - higher values encourage adherence to prompt, lower values encourage more creative interpretation
- seed
- A fixed random seed for reproducible results (omit this parameter for a randomized seed)
- steps
- The number of diffusion steps to perform during generation (more steps generally improves image quality but increases processing time)
- width
- The width of the generated images in pixels
- height
- The height of the generated images in pixels
- prompt (required)
- A text description guiding the relighting and generation process
- light_source
- The type and position of lighting to apply to the initial background latent
- highres_scale
- The multiplier for the final output resolution relative to the initial latent resolution
- output_format
- The image file format of the generated output images
- subject_image (required)
- The main foreground image to be relighted
- lowres_denoise
- Controls the amount of denoising applied when generating the initial latent from the background image (higher = more adherence to the background, lower = more creative interpretation)
- output_quality
- The image compression quality (for lossy formats like JPEG and WebP). 100 = best quality, 0 = lowest quality.
- appended_prompt
- Additional text to be appended to the main prompt, enhancing image quality
- highres_denoise
- Controls the amount of denoising applied when refining the high resolution output (higher = more adherence to the upscaled latent, lower = more creative details added)
- negative_prompt
- A text description of attributes to avoid in the generated images
- number_of_images
- The number of unique images to generate from the given input and settings
Output Schema
Output
Example Execution Logs
Using seed: 3579 [!] (<class 'cog.types.Path'>) input_fg=/tmp/tmpdqgnps5yi3.png [!] (<class 'str'>) prompt=Woman, detailed face, sci-fi RGB glowing, cyberpunk [!] (<class 'int'>) image_width=512 [!] (<class 'int'>) image_height=640 [!] (<class 'int'>) num_samples=1 [!] (<class 'int'>) seed=3579 [!] (<class 'int'>) steps=25 [!] (<class 'str'>) a_prompt=best quality [!] (<class 'str'>) n_prompt=lowres, bad anatomy, bad hands, cropped, worst quality [!] (<class 'float'>) cfg=2.0 [!] (<class 'float'>) highres_scale=1.5 [!] (<class 'float'>) highres_denoise=0.5 [!] (<class 'float'>) lowres_denoise=0.9 [!] (<class 'str'>) bg_source=Left Light 0%| | 0/25 [00:00<?, ?it/s] 12%|ββ | 3/25 [00:00<00:00, 29.80it/s] 24%|βββ | 6/25 [00:00<00:00, 24.69it/s] 36%|ββββ | 9/25 [00:00<00:00, 23.39it/s] 48%|βββββ | 12/25 [00:00<00:00, 22.81it/s] 60%|ββββββ | 15/25 [00:00<00:00, 22.50it/s] 72%|ββββββββ | 18/25 [00:00<00:00, 22.31it/s] 84%|βββββββββ | 21/25 [00:00<00:00, 22.19it/s] 96%|ββββββββββ| 24/25 [00:01<00:00, 22.09it/s] 100%|ββββββββββ| 25/25 [00:01<00:00, 22.68it/s] 0%| | 0/25 [00:00<?, ?it/s] 8%|β | 2/25 [00:00<00:01, 15.12it/s] 16%|ββ | 4/25 [00:00<00:01, 11.04it/s] 24%|βββ | 6/25 [00:00<00:01, 10.18it/s] 32%|ββββ | 8/25 [00:00<00:01, 9.81it/s] 40%|ββββ | 10/25 [00:00<00:01, 9.61it/s] 44%|βββββ | 11/25 [00:01<00:01, 9.54it/s] 48%|βββββ | 12/25 [00:01<00:01, 9.49it/s] 52%|ββββββ | 13/25 [00:01<00:01, 9.43it/s] 56%|ββββββ | 14/25 [00:01<00:01, 9.39it/s] 60%|ββββββ | 15/25 [00:01<00:01, 9.36it/s] 64%|βββββββ | 16/25 [00:01<00:00, 9.34it/s] 68%|βββββββ | 17/25 [00:01<00:00, 9.33it/s] 72%|ββββββββ | 18/25 [00:01<00:00, 9.23it/s] 76%|ββββββββ | 19/25 [00:01<00:00, 9.12it/s] 80%|ββββββββ | 20/25 [00:02<00:00, 9.17it/s] 84%|βββββββββ | 21/25 [00:02<00:00, 9.18it/s] 88%|βββββββββ | 22/25 [00:02<00:00, 9.22it/s] 92%|ββββββββββ| 23/25 [00:02<00:00, 9.24it/s] 96%|ββββββββββ| 24/25 [00:02<00:00, 9.23it/s] 100%|ββββββββββ| 25/25 [00:02<00:00, 9.26it/s] 100%|ββββββββββ| 25/25 [00:02<00:00, 9.55it/s] [~] Saving to output_images/generated_0.webp... [~] Output format: WEBP [~] Output quality: 80
Version Details
- Version ID
d41bcb10d8c159868f4cfbd7c6a2ca01484f7d39e4613419d5952c61562f1ba7
- Version Created
- May 21, 2024