POST
/
generate
/
svd
{
  "videos": [
    {
      "video": "<string>",
      "removed_for_safety": true,
      "seed": 123,
      "safety_score": 123
    }
  ],
  "prediction_time_ms": 123
}

Body

application/json
image
string
required

Starting point image encoded in base64 string.

height
integer | null

Integer representing the height of video/animation to generate.If not provided, the output height will be inferred from the input 'image', and the closest resolution supported will be chosen. Supported resolutions (w,h): {(576, 1024), (1024, 576), (768, 768)}

width
integer | null

Integer representing the width of video/animation to generate.If not provided, the output width will be inferred from the input 'image', and the closest resolution supported will be chosen. Supported resolutions (w,h): {(576, 1024), (1024, 576), (768, 768)}

cfg_scale
number
default: 3

Floating-point number represeting how closely to adhere to 'image'. Must be a positive number no greater than 10.0.

steps
integer
default: 25

Integer repreenting how many steps of diffusion to run. Must be greater than 0 and less than or equal to 50.

motion_scale
number
default: 0.5

A floating point number between 0 and 1 indicating how much motion should be in the generated animation

noise_aug_strength
number
default: 0.02

A floating point number between 0.0 and 1.0 indicatiing how much noise to add to the initial image. Higher values encourage creativity.

num_videos
integer
default: 1

Integer representing how many output videos/animations to generate with a single 'image' and configuration.

fps
integer
default: 7

Integer representing how fast the generated frames should play back.

seed

Integer number or list of integers representing the seeds of random generators.Fixing random seed is useful when attempting to generate a specific video/animation (or set of videos/animations). Must be greater than 0 and less than 2^32.

Response

200 - application/json
videos
object[]
required

List of VideoGeneration(s) generated by the request.

prediction_time_ms
number
required

Total runtime of the video(s) generation(s).