Skip to main content

Overview

Extend Video continues a video from your media library with AI: the model starts from the clip’s last frame and generates new footage that follows your prompt. The output keeps the source video’s aspect ratio. The default model is Veo 3.1 Fast; you can pick another one with model.

Basic Extension (8 seconds)

The create call answers with the projectId. Poll GET /v1/project/{projectId} or pass a webhook to get the finished video.

With Audio and a Webhook (16 seconds)

Choosing a Model

Parameters

Models that can extend a video: veo_3_fast (Veo 3.1 Fast, default), veo_3 (Veo 3.1), veo_3_1_lite (Veo 3.1 Lite), kling_3_0 (Kling 3.0 Standard), kling_3_0_pro (Kling 3.0 Pro), seedance_2_5 (Seedance 2.5), seedance_2_0, seedance_2_0_fast, seedance_2_0_mini, grok_imagine_video, grok_imagine_video_lite, wan_2_7_i2v. Any other value answers 400. The new footage is generated in the clip lengths each model makes (4, 6 or 8 seconds for Veo, 5 or 10 for Kling and Seedance), so the seconds generated can run slightly past targetDuration. Managed teams pay 7 credits plus the model’s per-second rate at the resolution it runs at, for every second generated: with the default Veo 3.1 Fast that is 11 credits per second at 1080p and 10 at 720p, so the 8-second example above costs 95 credits.
Teams in bring-your-own-keys mode need their own OpenRouter key in Settings → AI keys. Without it the call answers 402 with code: "missing_credentials" and the missingProviders list, before anything is created or charged. To retry a create call after a timeout or 5xx, send it with an Idempotency-Key: the same key never creates or charges twice.

Tips for Extend Video

Specific prompts: Be detailed about camera movement, lighting changes, and object behavior
Match the source: Reference the style and mood of your source video in the prompt
Start small: Test with 8-16 seconds first, then scale to longer durations
Audio: Enable generateAudio when the source has sound, so the new footage does not go silent
Duration multiples: Target duration is rounded to a multiple of 4 seconds

Duration Guide

Choose the right extension duration for your use case: Longer extensions take longer to generate.

Checking the Result

Handling the Webhook Response

Webhooks are signed: check the Hooked-Signature header as shown in Webhooks.

Common Use Cases

  • Content Creation: Extend short clips into longer, more engaging content
  • Storytelling: Continue narrative sequences with AI-generated footage
  • Marketing: Create extended product demos and promotional videos
  • Social Media: Optimize video length for platform requirements
  • B-Roll Generation: Generate additional footage that matches your style
  • Video Loop Creation: Extend videos to create seamless loops

Prompt Examples by Category

Camera Movement

  • “The camera continues to dolly backward, revealing the full scene as it maintains focus on the subject”
  • “Smooth pan to the right, discovering new elements in the environment”
  • “Gentle zoom in on the product while maintaining the same lighting”

Transitions

  • “The scene gradually transitions from day to night with natural lighting changes”
  • “Soft cross-fade into a new environment while maintaining visual continuity”
  • “The background shifts from warm tones to cool tones over the duration”

Action Continuation

  • “The dancer completes the spin and strikes a final pose with arms extended”
  • “The product rotates a full 360 degrees, showcasing all angles”
  • “The character walks toward the horizon as the sun sets behind them”

Atmospheric Effects

  • “Particles begin to float upward as the lighting becomes more dramatic”
  • “Rain starts falling gently as the mood becomes more contemplative”
  • “Fog rolls in from the sides, creating a mysterious atmosphere”