Skip to main content

//clika-runtime/io.clika.modelverse/VideoGenerationOptions

VideoGenerationOptions

[common]
data class VideoGenerationOptions(val negativePrompt: String? = null, val width: Int = 0, val height: Int = 0, val frames: Int = 0, val fps: Float = 0.0f, val steps: Int = 0, val guidanceScale: Float? = null, val seed: Long = -1L)

How a clip is generated. A knob left at its zero keeps the model's own default: width and height in pixels and frames the frame count (the family's size and frame laws apply; see Capabilities.defaultImageWidth, Capabilities.defaultImageHeight and Capabilities.defaultFrames), fps the frame rate (Capabilities.defaultFps), steps the denoising steps, guidanceScale the prompt's pull (null keeps the model's), seed the draw (-1 lets the model pick one; the answer names it), negativePrompt what to steer away from (null for the family's own).

Constructors​

VideoGenerationOptions[common]
constructor(negativePrompt: String? = null, width: Int = 0, height: Int = 0, frames: Int = 0, fps: Float = 0.0f, steps: Int = 0, guidanceScale: Float? = null, seed: Long = -1L)

Properties​

NameSummary
fps[common]
val fps: Float = 0.0f
frames[common]
val frames: Int = 0
guidanceScale[common]
val guidanceScale: Float? = null
height[common]
val height: Int = 0
negativePrompt[common]
val negativePrompt: String? = null
seed[common]
val seed: Long
steps[common]
val steps: Int = 0
width[common]
val width: Int = 0