You're looking at a specific version of this model. Jump to the model overview.
edenartlab /sdxl-pipelines:918cd8f7
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 |
---|---|---|---|
mode |
string
(enum)
|
generate
Options: generate, remix, upscale, blend, interpolate, real2real, interrogate |
Mode
|
stream |
boolean
|
False
|
yield individual results if True
|
stream_every |
integer
|
1
Min: 1 Max: 25 |
for mode generate, how many steps per update to stream (steam must be set to True)
|
width |
integer
|
1024
Min: 512 Max: 2048 |
Width
|
height |
integer
|
1024
Min: 512 Max: 2048 |
Height
|
checkpoint |
string
(enum)
|
sdxl-v1.0
Options: sdxl-v1.0 |
Which Stable Diffusion checkpoint to use
|
lora |
string
|
(optional) URL of Lora finetuning
|
|
lora_scale |
number
|
0.8
Max: 1.2 |
Lora scale (how much of the Lora finetuning to apply)
|
sampler |
string
(enum)
|
euler
Options: ddim, ddpm, klms, euler, euler_ancestral, dpm, kdpm2, kdpm2_ancestral, pndm |
Which sampler to use
|
steps |
integer
|
45
Min: 10 Max: 100 |
Diffusion steps
|
guidance_scale |
number
|
7.5
Min: 1 Max: 20 |
Strength of text conditioning guidance
|
upscale_f |
number
|
1
Min: 1 Max: 2 |
Upscaling resolution
|
init_image_data |
string
|
Load initial image from file, url, or base64 string
|
|
init_image_strength |
number
|
0
Max: 1 |
Strength of initial image
|
adopt_aspect_from_init_img |
boolean
|
True
|
Adopt aspect ratio from init image
|
controlnet_type |
string
(enum)
|
off
Options: off, canny-edge |
Controlnet type
|
text_input |
string
|
Text input (mode==generate)
|
|
uc_text |
string
|
watermark, text, nude, naked, nsfw, poorly drawn face, ugly, tiling, out of frame, blurry, blurred, grainy, signature, cut off, draft
|
Negative text input (mode==all)
|
seed |
integer
|
13
Max: 10000000000 |
random seed (mode==generate)
|
n_samples |
integer
|
1
Min: 1 Max: 4 |
batch size (mode==generate)
|
n_frames |
integer
|
40
Min: 3 Max: 1000 |
Total number of frames (mode==interpolate)
|
interpolation_texts |
string
|
Interpolation texts (mode==interpolate)
|
|
interpolation_seeds |
string
|
Seeds for interpolated texts (mode==interpolate)
|
|
interpolation_init_images |
string
|
Interpolation init images, file paths or urls (mode==interpolate)
|
|
interpolation_init_images_power |
number
|
2.5
Min: 0.5 Max: 5 |
Power for interpolation_init_images prompts (mode==interpolate)
|
interpolation_init_images_min_strength |
number
|
0.25
Max: 1 |
Minimum init image strength for interpolation_init_images prompts (mode==interpolate)
|
interpolation_init_images_max_strength |
number
|
0.95
Max: 1 |
Maximum init image strength for interpolation_init_images prompts (mode==interpolate)
|
loop |
boolean
|
True
|
Loops (mode==interpolate)
|
smooth |
boolean
|
True
|
Smooth (mode==interpolate)
|
latent_blending_skip_f |
string
|
0.2|0.7
|
What fraction of the denoising trajectory to skip at the start and end of each interpolation phase, two floats, separated by a pipe (|)
|
n_film |
integer
|
1
Max: 3 |
Number of times to smooth final frames with FILM (default is 0) (mode==interpolate)
|
fps |
integer
|
12
Min: 1 Max: 30 |
Frames per second (mode==interpolate)
|
Output schema
The shape of the response you’ll get when you run this model with an API.
{'items': {'properties': {'attributes': {'title': 'Attributes',
'type': 'object'},
'files': {'default': [],
'items': {'format': 'uri',
'type': 'string'},
'title': 'Files',
'type': 'array'},
'isFinal': {'default': False,
'title': 'Isfinal',
'type': 'boolean'},
'name': {'title': 'Name', 'type': 'string'},
'progress': {'title': 'Progress', 'type': 'number'},
'thumbnails': {'default': [],
'items': {'format': 'uri',
'type': 'string'},
'title': 'Thumbnails',
'type': 'array'}},
'title': 'CogOutput',
'type': 'object'},
'title': 'Output',
'type': 'array',
'x-cog-array-type': 'iterator'}