fater-ai / icl-glob-v1
- Public
- 30 runs
Run fater-ai/icl-glob-v1 with an API
Use one of our client libraries to get started quickly. Clicking on a library will take you to the Playground tab where you can tweak different inputs, see the results, and copy the corresponding code to use in your own project.
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 |
---|---|---|---|
image |
string
|
The main image to be relighted
|
|
prompt |
string
|
A text description guiding the relighting and generation process
|
|
appended_prompt |
string
|
best quality
|
Additional text to be appended to the main prompt, enhancing image quality
|
negative_prompt |
string
|
lowres, bad anatomy, bad hands, cropped, worst quality
|
A text description of attributes to avoid in the generated images
|
width |
integer
|
1024
|
The width of the generated images in pixels
|
height |
integer
|
1024
|
The height of the generated images in pixels
|
steps |
integer
|
30
Min: 1 Max: 100 |
The number of diffusion steps to perform during generation (more steps generally improves image quality but increases processing time)
|
cfg |
number
|
2
Min: 1 Max: 32 |
Classifier-Free Guidance scale - higher values encourage adherence to prompt, lower values encourage more creative interpretation
|
highres_scale |
number
|
1.5
Min: 1 Max: 3 |
The multiplier for the final output resolution relative to the initial latent resolution
|
highres_denoise |
number
|
0.5
Min: 0.1 Max: 1 |
Controls the amount of denoising applied when refining the high resolution output (higher = more adherence to the upscaled latent, lower = more creative details added)
|
lowres_denoise |
number
|
0.9
Min: 0.1 Max: 1 |
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)
|
light_source |
string
(enum)
|
None
Options: None, Left Light, Right Light, Top Light, Bottom Light |
The type and position of lighting to apply to the initial background latent
|
seed |
integer
|
A fixed random seed for reproducible results (omit this parameter for a randomized seed)
|
|
number_of_images |
integer
|
1
Min: 1 Max: 12 |
The number of unique images to generate from the given input and settings
|
output_format |
string
(enum)
|
webp
Options: webp, jpg, png |
The image file format of the generated output images
|
output_quality |
integer
|
100
Max: 100 |
The image compression quality (for lossy formats like JPEG and WebP). 100 = best quality, 0 = lowest quality.
|
{
"type": "object",
"title": "Input",
"required": [
"image",
"prompt"
],
"properties": {
"cfg": {
"type": "number",
"title": "Cfg",
"default": 2,
"maximum": 32,
"minimum": 1,
"x-order": 7,
"description": "Classifier-Free Guidance scale - higher values encourage adherence to prompt, lower values encourage more creative interpretation"
},
"seed": {
"type": "integer",
"title": "Seed",
"x-order": 12,
"description": "A fixed random seed for reproducible results (omit this parameter for a randomized seed)"
},
"image": {
"type": "string",
"title": "Image",
"format": "uri",
"x-order": 0,
"description": "The main image to be relighted"
},
"steps": {
"type": "integer",
"title": "Steps",
"default": 30,
"maximum": 100,
"minimum": 1,
"x-order": 6,
"description": "The number of diffusion steps to perform during generation (more steps generally improves image quality but increases processing time)"
},
"width": {
"type": "integer",
"title": "Width",
"default": 1024,
"x-order": 4,
"description": "The width of the generated images in pixels"
},
"height": {
"type": "integer",
"title": "Height",
"default": 1024,
"x-order": 5,
"description": "The height of the generated images in pixels"
},
"prompt": {
"type": "string",
"title": "Prompt",
"x-order": 1,
"description": "A text description guiding the relighting and generation process"
},
"light_source": {
"enum": [
"None",
"Left Light",
"Right Light",
"Top Light",
"Bottom Light"
],
"type": "string",
"title": "light_source",
"description": "The type and position of lighting to apply to the initial background latent",
"default": "None",
"x-order": 11
},
"highres_scale": {
"type": "number",
"title": "Highres Scale",
"default": 1.5,
"maximum": 3,
"minimum": 1,
"x-order": 8,
"description": "The multiplier for the final output resolution relative to the initial latent resolution"
},
"output_format": {
"enum": [
"webp",
"jpg",
"png"
],
"type": "string",
"title": "output_format",
"description": "The image file format of the generated output images",
"default": "webp",
"x-order": 14
},
"lowres_denoise": {
"type": "number",
"title": "Lowres Denoise",
"default": 0.9,
"maximum": 1,
"minimum": 0.1,
"x-order": 10,
"description": "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": {
"type": "integer",
"title": "Output Quality",
"default": 100,
"maximum": 100,
"minimum": 0,
"x-order": 15,
"description": "The image compression quality (for lossy formats like JPEG and WebP). 100 = best quality, 0 = lowest quality."
},
"appended_prompt": {
"type": "string",
"title": "Appended Prompt",
"default": "best quality",
"x-order": 2,
"description": "Additional text to be appended to the main prompt, enhancing image quality"
},
"highres_denoise": {
"type": "number",
"title": "Highres Denoise",
"default": 0.5,
"maximum": 1,
"minimum": 0.1,
"x-order": 9,
"description": "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": {
"type": "string",
"title": "Negative Prompt",
"default": "lowres, bad anatomy, bad hands, cropped, worst quality",
"x-order": 3,
"description": "A text description of attributes to avoid in the generated images"
},
"number_of_images": {
"type": "integer",
"title": "Number Of Images",
"default": 1,
"maximum": 12,
"minimum": 1,
"x-order": 13,
"description": "The number of unique images to generate from the given input and settings"
}
}
}
Output schema
The shape of the response you’ll get when you run this model with an API.
{
"type": "array",
"items": {
"type": "string",
"format": "uri"
},
"title": "Output"
}