You're looking at a specific version of this model. Jump to the model overview.

gbieler /change-background-and-relight:e677cd8a

Input schema

The fields you can use to run this model with an API. If you don’t give a value for a field its default value will be used.

Field Type Default value Description
subject_image
string
Image with the subject
background_image
string
Image to use as a reference for the background (optional)
background_prompt
string
Description of the background (optional)
light_prompt
string
Description of the lighting (optional)
light_mask
string
https://projectsgb.s3.amazonaws.com/test_images/lightMask.png
Mask to use as a reference for the lighting (optional)
denoise_strength
number
0.7

Min: 0.1

Max: 1

Background variation strength

Output schema

The shape of the response you’ll get when you run this model with an API.

Schema
{'items': {'format': 'uri', 'type': 'string'},
 'title': 'Output',
 'type': 'array'}