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

edenartlab /eden-sd-pipelines:e54015c3

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, 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
512

Min: 64

Max: 1600

Width
height
integer
512

Min: 64

Max: 1600

Height
sampler
string (enum)
euler

Options:

ddim, plms, klms, dpm2, dpm2_ancestral, heun, euler, euler_ancestral

Which sampler to use
steps
integer
60

Max: 200

Diffusion steps
scale
number
8

Max: 32

Text conditioning scale
upscale_f
integer (enum)
1

Options:

1, 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
init_image_inpaint_mode
string (enum)
cv2_telea

Options:

mean_fill, edge_pad, cv2_telea, cv2_ns

Inpainting method for pre-processing init_image when it's masked
mask_image_data
string
Load mask image from file, url, or base64 string
mask_invert
boolean
False
Invert mask
text_input
string
Text input (mode==generate)
uc_text
string
poorly drawn face, ugly, tiling, out of frame, extra limbs, disfigured, deformed body, blurry, blurred, watermark, text, 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
50

Max: 100

Total number of frames (mode==interpolate/animate)
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_use_img2txt
boolean
False
Use clip_search to get prompts for the init images, if false use manual interpolation_texts (mode==interpolate)
interpolation_init_images_top_k
integer
2

Min: 1

Max: 10

Top K for interpolation_init_images prompts (mode==interpolate)
interpolation_init_images_power
number
2.5

Max: 8

Power for interpolation_init_images prompts (mode==interpolate)
interpolation_init_images_min_strength
number
0.2

Max: 1

Minimum init image strength for interpolation_init_images prompts (mode==interpolate)
scale_modulation
number
0

Max: 10

Scale modulation amplitude for interpolation (mode==interpolate)
loop
boolean
True
Loops (mode==interpolate)
smooth
boolean
False
Smooth (mode==interpolate)
n_film
integer
0

Max: 2

Number of times to smooth final frames with FILM (default is 0) (mode==interpolate or animate)
fps
integer
12

Min: 1

Max: 60

Frames per second (mode==interpolate or animate)
animation_mode
string (enum)
2D

Options:

2D, 3D, Video Input

Interpolation texts (mode==interpolate)
init_video
string
Initial video file (mode==animate)
extract_nth_frame
integer
1

Min: 1

Max: 10

Extract each frame of init_video (mode==animate)
turbo_steps
integer
3

Min: 1

Max: 8

Turbo steps (mode==animate)
previous_frame_strength
number
0.65

Max: 1

Strength of previous frame (mode==animate)
previous_frame_noise
number
0.02

Max: 0.2

How much to noise previous frame (mode==animate)
color_coherence
string (enum)
Match Frame 0 LAB

Options:

None, Match Frame 0 HSV, Match Frame 0 LAB, Match Frame 0 RGB

Color coherence strategy (mode==animate)
contrast
number
1

Max: 2

Contrast (mode==animation)
angle
number
0

Min: -2

Max: 2

Rotation angle (animation_mode==2D)
zoom
number
1

Min: 0.91

Max: 1.12

Zoom (animation_mode==2D)
translation_x
number
0

Min: -5

Max: 5

Translation X (animation_mode==3D)
translation_y
number
0

Min: -5

Max: 5

Translation U (animation_mode==3D)
translation_z
number
0

Min: -5

Max: 5

Translation Z (animation_mode==3D)
rotation_x
number
0

Min: -1

Max: 1

Rotation X (animation_mode==3D)
rotation_y
number
0

Min: -1

Max: 1

Rotation U (animation_mode==3D)
rotation_z
number
0

Min: -1

Max: 1

Rotation Z (animation_mode==3D)

Output schema

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

Schema
{'items': {'properties': {'attributes': {'title': 'Attributes',
                                         'type': 'object'},
                          'file': {'format': 'uri',
                                   'title': 'File',
                                   'type': 'string'},
                          'isFinal': {'default': False,
                                      'title': 'Isfinal',
                                      'type': 'boolean'},
                          'name': {'title': 'Name', 'type': 'string'},
                          'progress': {'title': 'Progress', 'type': 'number'},
                          'thumbnail': {'format': 'uri',
                                        'title': 'Thumbnail',
                                        'type': 'string'}},
           'required': ['file'],
           'title': 'CogOutput',
           'type': 'object'},
 'title': 'Output',
 'type': 'array',
 'x-cog-array-type': 'iterator'}