/** * This file was auto-generated by Fern from our API Definition. */ import * as OctoAI from "../../../../index"; /** * @example * { * image: "image" * } */ export interface VideoGenerationRequest { /** Floating-point number represeting how closely to adhere to 'image'. Must be a positive number no greater than 10.0. */ cfgScale?: number; /** Integer representing the quality of the video encoding. Higher quality means the file will be larger.The range of the CRF scale is [0,51], where 0 is lossless, 23 is the default, and 51 is worst quality possible. */ constantRateFactor?: number; /** Integer representing how fast the generated frames should play back. */ fps?: number; /** 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)}. */ height?: number; /** Starting point image encoded in base64 string. */ image: string; /** A floating point number between 0.0 and 1.0 indicating how much motion should be in the generated video/animation. */ motionScale?: number; /** A floating point number between 0.0 and 1.0 indicatiing how much noise to add to the initial image. Higher values encourage creativity. */ noiseAugStrength?: number; /** Integer representing how many output videos/animations to generate with a single 'image' and configuration. */ numVideos?: number; /** 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. */ seed?: OctoAI.imageGen.VideoGenerationRequestSeed; /** Integer repreenting how many steps of diffusion to run. Must be greater than 0 and less than or equal to 50. */ steps?: number; /** 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)}. */ width?: number; }