import type * as Hedra from "../index.js"; /** * Model-specific inputs for `grok-video`. * * Accepted field combinations (one per input mode): * (1) requires: aspect_ratio, duration_ms, prompt, resolution, start_image * (2) requires: aspect_ratio, duration_ms, prompt, resolution; must omit: start_image; accepts aspect_ratio: 16:9 | 4:3 | 3:2 | 1:1 | 2:3 | 3:4 | 9:16 */ export interface InputGrokVideo { /** Number of outputs generated per job. Only 1 is supported. */ num_outputs?: number | undefined; /** Generation prompt. At most 4096 characters. */ prompt: string; /** Output aspect ratio. */ aspect_ratio: InputGrokVideo.AspectRatio; /** Output resolution. */ resolution: InputGrokVideo.Resolution; /** Duration in ms. */ duration_ms: number; /** Start frame. At most 10.4 MB. */ start_image?: Hedra.InputGrokVideoStartImage | undefined; } export declare namespace InputGrokVideo { /** Output aspect ratio. */ const AspectRatio: { readonly Auto: "auto"; readonly Sixteen9: "16:9"; readonly Four3: "4:3"; readonly Three2: "3:2"; readonly One1: "1:1"; readonly Two3: "2:3"; readonly Three4: "3:4"; readonly Nine16: "9:16"; }; type AspectRatio = (typeof AspectRatio)[keyof typeof AspectRatio]; /** Output resolution. */ const Resolution: { readonly FourHundredEightyP: "480p"; readonly SevenHundredTwentyP: "720p"; }; type Resolution = (typeof Resolution)[keyof typeof Resolution]; }