Video Generation → Generate Video
AI-generatedSummary
Generate an AI video using the specified prompt and model, poll the generation history every 10 seconds until status 2 (ready), then return the video URL and thumbnail.
Inputs
- prompt (required) — Text description of the video to generate
- model (required) — Video generation model to use
- duration (required) — Video duration in seconds. Veo models only support 8 seconds; Sora 2 Pro supports up to 25 seconds.
Output shape
Each returned item contains json with videoUrl, thumbnailUrl, prompt, model, duration, and fullResponse.
videoUrl is extracted from the first generated_video entry's video_url; thumbnailUrl from finalResult.thumbnail_url. If videoUrl is absent, the node throws an error unless continueOnFail is set.
Examples
Example 1: Use Veo 3 Fast with an 8-second video
Prompt: 'A sunny sandy summer beach with flying dogs', Model: 'veo-3-fast', Duration: '8'