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

andreasjansson /stable-diffusion-animation:d31ddf67

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
prompt_start
string
Prompt to start the animation with
prompt_end
string
Prompt to end the animation with
width
integer (enum)
512

Options:

128, 256, 512, 768, 1024

Width of output image
height
integer (enum)
512

Options:

128, 256, 512, 768

Height of output image
num_inference_steps
integer
50

Min: 1

Max: 500

Number of denoising steps
prompt_strength
number
0.8
Lower prompt strength generates more coherent gifs, higher respects prompts more but can be jumpy
num_animation_frames
integer
10

Min: 2

Max: 50

Number of frames to animate
num_interpolation_steps
integer
5

Min: 1

Max: 50

Number of steps to interpolate between animation frames
guidance_scale
number
7.5

Min: 1

Max: 20

Scale for classifier-free guidance
gif_frames_per_second
integer
20

Min: 1

Max: 50

Frames/second in output GIF
gif_ping_pong
boolean
False
Whether to reverse the animation and go back to the beginning before looping
film_interpolation
boolean
False
Whether to use FILM for between-frame interpolation (film-net.github.io)
seed
integer
Random seed. Leave blank to randomize the seed

Output schema

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

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