import type * as ElevenLabs from "../index"; /** * Request body for the Google Veo 3.1 video model. */ export interface Veo31Request { /** Include to send the generation's result to the workspace's configured flows webhooks once it completes or fails. The webhook payload matches the terminal response of the corresponding GET endpoint. */ webhook?: ElevenLabs.WebhookTarget; /** A text description of the video to generate. */ prompt: string; /** A text description of what the video should avoid. */ negativePrompt?: string; /** A seed for reproducible generation: the same seed and inputs give similar output across generations. Omit for random. */ seed?: number; /** Whether the model may rewrite the prompt to improve results. */ enhancePrompt?: boolean; /** The duration of the output video in seconds. */ durationSecs?: number; /** The aspect ratio of the output video. */ aspectRatio?: ElevenLabs.Veo31RequestAspectRatio; /** The resolution of the output video. */ resolution?: ElevenLabs.Veo31RequestResolution; /** Whether to generate audio with the video. */ generateAudio?: boolean; /** The image to use as the video's first frame. */ startFrame?: ElevenLabs.ImageReference; /** The image to use as the video's last frame. */ endFrame?: ElevenLabs.ImageReference; /** Up to 3 reference images to draw subjects or style from. Cannot be combined with `start_frame`/`end_frame`, and requires the 8-second duration. */ images?: ElevenLabs.VeoImageReference[]; }