prompttextarearequired
The text prompt to guide video generation.
negative_prompttextareadefault: "letterboxing, borders, black bars, bright colors, overexposed, static, blurred details, subtitles, style, artwork, painting, picture, still, overall gray, worst quality, low quality, JPEG compression residue, ugly, incomplete, extra fingers, poorly drawn hands, poorly drawn faces, deformed, disfigured, malformed limbs, fused fingers, still picture, cluttered background, three legs, many people in the background, walking backwards"
Negative prompt for video generation.
match_input_num_framesbooleandefault: false
If true, the number of frames in the generated video will match the number of frames in the input video. If false, the number of frames will be determined by the num_frames parameter.
num_framesintegerdefault: 81
Number of frames to generate. Must be between 81 to 241 (inclusive).
match_input_frames_per_secondbooleandefault: false
If true, the frames per second of the generated video will match the input video. If false, the frames per second will be determined by the frames_per_second parameter.
frames_per_secondintegerdefault: 16
Frames per second of the generated video. Must be between 5 to 30. Ignored if match_input_frames_per_second is true.
seedinteger
Random seed for reproducibility. If None, a random seed is chosen.
resolutionselectdefault: "auto"
Resolution of the generated video.
Options: auto
aspect_ratioselectdefault: "auto"
Aspect ratio of the generated video.
Options: auto, 16:9, 1:1, 9:16
num_inference_stepsintegerdefault: 30
Number of inference steps for sampling. Higher values give better quality but take longer.
guidance_scalenumberdefault: 5
Guidance scale for classifier-free guidance. Higher values encourage the model to generate images closely related to the text prompt.
samplerselectdefault: "unipc"
Sampler to use for video generation.
Options: unipc, dpm++, euler
shiftnumberdefault: 5
Shift parameter for video generation.
video_urlfilerequired
URL to the source video file. Required for depth task.
ref_image_urlsfile-list
URLs to source reference image. If provided, the model will use this image as reference.
first_frame_urlfile
URL to the first frame of the video. If provided, the model will use this frame as a reference.
last_frame_urlfile
URL to the last frame of the video. If provided, the model will use this frame as a reference.
enable_safety_checkerbooleandefault: false
If set to true, the safety checker will be enabled. Disabling it requires account authorization; unauthorized requests are always checked.
enable_prompt_expansionbooleandefault: false
Whether to enable prompt expansion.
preprocessbooleandefault: false
Whether to preprocess the input video.
accelerationselectdefault: "regular"
Acceleration to use for inference. Options are 'none' or 'regular'. Accelerated inference will very slightly affect output, but will be significantly faster.
Options: none, low, regular
video_qualityselectdefault: "high"
The quality of the generated video.
Options: low, medium, high
video_write_modeselectdefault: "balanced"
The write mode of the generated video.
Options: fast, balanced, small
num_interpolated_framesintegerdefault: 0
Number of frames to interpolate between the original frames. A value of 0 means no interpolation.
temporal_downsample_factorintegerdefault: 0
Temporal downsample factor for the video. This is an integer value that determines how many frames to skip in the video. A value of 0 means no downsampling. For each downsample factor, one upsample factor will automatically be applied.
enable_auto_downsamplebooleandefault: false
If true, the model will automatically temporally downsample the video to an appropriate frame length for the model, then will interpolate it back to the original frame length.
auto_downsample_min_fpsnumberdefault: 15
The minimum frames per second to downsample the video to. This is used to help determine the auto downsample factor to try and find the lowest detail-preserving downsample factor. The default value is appropriate for most videos, if you are using a video with very fast motion, you may need to increase this value. If your video has a very low amount of motion, you could decrease this value to allow for higher downsampling and thus longer sequences.
interpolator_modelselectdefault: "film"
The model to use for frame interpolation. Options are 'rife' or 'film'.
Options: rife, film
sync_modebooleandefault: false
If `True`, the media will be returned as a data URI and the output data won't be available in the request history.
transparency_modeselectdefault: "content_aware"
The transparency mode to apply to the first and last frames. This controls how the transparent areas of the first and last frames are filled.
Options: content_aware, white, black
return_frames_zipbooleandefault: false
If true, also return a ZIP file containing all generated frames.