zsxkib/ic-light-background
🖼️✨Background images + prompts to auto-magically relights your images (+normal maps🗺️)
Capabilities
Cost
Community model (estimated from hardware time)
Input Parameters
| Name | Type | Description | Default | Constraints |
|---|---|---|---|---|
background_image* | string(uri) | The background image that will be used to relight the main foreground image | — | — |
prompt* | string | A text description guiding the relighting and generation process | — | — |
subject_image* | string(uri) | The main foreground image to be relighted | — | — |
appended_prompt | string | Additional text to be appended to the main prompt, enhancing image quality | "best quality" | — |
cfg | number | Classifier-Free Guidance scale - higher values encourage adherence to prompt, lower values encourage more creative interpretation | 2 | min: 1, max: 32 |
compute_normal | boolean | Whether to compute the normal maps (slower but provides additional output images) | false | — |
height | integer | The height of the generated images in pixels | 640 | 2563203844485125766407047688328969601024 |
highres_denoise | number | Controls the amount of denoising applied when refining the high resolution output (higher = more adherence to the upscaled latent, lower = more creative details added) | 0.5 | min: 0.1, max: 1 |
highres_scale | number | The multiplier for the final output resolution relative to the initial latent resolution | 1.5 | min: 1, max: 3 |
light_source | string | The type and position of lighting to apply to the initial background latent | "Use Background Image" | Use Background ImageUse Flipped Background ImageLeft LightRight LightTop LightBottom LightAmbient |
negative_prompt | string | A text description of attributes to avoid in the generated images | "lowres, bad anatomy, bad hands, cropped, worst quality" | — |
number_of_images | integer | The number of unique images to generate from the given input and settings | 1 | min: 1, max: 12 |
output_format | string | The image file format of the generated output images | "webp" | webpjpgpng |
output_quality | integer | The image compression quality (for lossy formats like JPEG and WebP). 100 = best quality, 0 = lowest quality. | 80 | min: 0, max: 100 |
seed | integer | A fixed random seed for reproducible results (omit this parameter for a randomized seed) | — | — |
steps | integer | The number of diffusion steps to perform during generation (more steps generally improves image quality but increases processing time) | 25 | min: 1, max: 100 |
width | integer | The width of the generated images in pixels | 512 | 2563203844485125766407047688328969601024 |
background_imagerequiredstringThe background image that will be used to relight the main foreground image
promptrequiredstringA text description guiding the relighting and generation process
subject_imagerequiredstringThe main foreground image to be relighted
appended_promptstringAdditional text to be appended to the main prompt, enhancing image quality
"best quality"cfgnumberClassifier-Free Guidance scale - higher values encourage adherence to prompt, lower values encourage more creative interpretation
2min: 1, max: 32compute_normalbooleanWhether to compute the normal maps (slower but provides additional output images)
falseheightintegerThe height of the generated images in pixels
640highres_denoisenumberControls the amount of denoising applied when refining the high resolution output (higher = more adherence to the upscaled latent, lower = more creative details added)
0.5min: 0.1, max: 1highres_scalenumberThe multiplier for the final output resolution relative to the initial latent resolution
1.5min: 1, max: 3light_sourcestringThe type and position of lighting to apply to the initial background latent
"Use Background Image"negative_promptstringA text description of attributes to avoid in the generated images
"lowres, bad anatomy, bad hands, cropped, worst quality"number_of_imagesintegerThe number of unique images to generate from the given input and settings
1min: 1, max: 12output_formatstringThe image file format of the generated output images
"webp"output_qualityintegerThe image compression quality (for lossy formats like JPEG and WebP). 100 = best quality, 0 = lowest quality.
80min: 0, max: 100seedintegerA fixed random seed for reproducible results (omit this parameter for a randomized seed)
stepsintegerThe number of diffusion steps to perform during generation (more steps generally improves image quality but increases processing time)
25min: 1, max: 100widthintegerThe width of the generated images in pixels
51260015df78a8aUpdated: 7/25/202648.6K runs
cinemasetfree.com