Video Outpainter

Video Outpainter

Playground

Try it on WavespeedAI!

WaveSpeedAI Video Outpainter expands any video beyond its original boundaries while preserving motion, identity, and scene coherence. Perfect for aspect-ratio changes, reframing, adding safe margins, or generating new visual context without cropping or losing content.

Features

Video Outpainter

What is Video Outpainter?

Video Outpainter expands your video outward in any direction, synthesizing new, coherent surroundings while preserving the original motion, characters, and scene continuity. It is ideal for reframing shots, adding safe margins, and converting aspect ratios (for example, 9:16 → 16:9) without cropping or losing key content.


Input Parameters

video (required)

The source video you want to expand. This defines all core motion, composition, and subject identity that the model will preserve.

prompt (optional)

A positive text description of how the newly generated surroundings should look. Examples:

  • Extend skyline with modern city buildings
  • Add a dense forest around the subject
  • Fill the sides with a matching indoor studio background

If left empty, the model automatically generates a visually coherent extension based on the original footage.

aspect_ratio

Controls the aspect ratio of the outpainted output.

Available options:

  • auto (default)
  • 1:1, 4:3, 3:4
  • 16:9, 9:16
  • 3:2, 2:3
  • 21:9, 9:21

Use this to widen or heighten shots, convert between social and cinematic formats, or create ultra-wide canvases.

seed

Controls randomness and reproducibility.

  • −1 → a random seed is used for each run
  • Any integer → repeatable results for the same inputs

Designed For

  • Social teams – Export one master shot into multiple formats (TikTok, Shorts, Reels, YouTube, ads) without cropping faces or key actions.
  • Editors and studios – Deliver different aspect ratios for clients, broadcast, or film-safe reframing from a single source clip.
  • Marketing and ads – Repurpose existing assets for new placements by adding context and safe margins around the subject.
  • Creators – Add cinematic space, environmental detail, or breathing room around shots while keeping the original take.

How to Use

  1. Upload the video you want to outpaint.
  2. Choose an aspect_ratio (auto or any supported cinematic/social ratio).
  3. Optionally add a prompt to guide how the extended environment should look.
  4. Set the seed (or leave it at −1 for variation).
  5. Run the model, preview the result, and iterate until the framing and environment feel right.

Pricing

OutputPrice per 5 sMax Length
Video Outpainting$0.1560 s

Key Capabilities

  • Expands video content in any direction (top, bottom, left, right).
  • Converts aspect ratios without cropping the original frame.
  • Preserves identity, motion, and temporal consistency across all frames.
  • Generates natural, coherent backgrounds and surroundings that blend with the source video.
  • Perfect for reframing, platform adaptation, and turning standard shots into more cinematic compositions.

Authentication

For authentication details, please refer to the Authentication Guide.

API Endpoints

Submit Task & Query Result


# Submit the task
curl --location --request POST "https://api.wavespeed.ai/api/v3/wavespeed-ai/video-outpainter" \
--header "Content-Type: application/json" \
--header "Authorization: Bearer ${WAVESPEED_API_KEY}" \
--data-raw '{
    "aspect_ratio": "auto",
    "seed": -1
}'

# Get the result
curl --location --request GET "https://api.wavespeed.ai/api/v3/predictions/${requestId}/result" \
--header "Authorization: Bearer ${WAVESPEED_API_KEY}"

Parameters

Task Submission Parameters

Request Parameters

ParameterTypeRequiredDefaultRangeDescription
videostringYes-The video for generating the output.
promptstringNo-The positive prompt for the generation.
aspect_ratiostringNoautoauto, 1:1, 4:3, 3:4, 16:9, 9:16, 3:2, 2:3, 21:9, 9:21The aspect ratio of the generated media.
seedintegerNo-1-1 ~ 2147483647The random seed to use for the generation. -1 means a random seed will be used.

Response Parameters

ParameterTypeDescription
codeintegerHTTP status code (e.g., 200 for success)
messagestringStatus message (e.g., “success”)
data.idstringUnique identifier for the prediction, Task Id
data.modelstringModel ID used for the prediction
data.outputsarrayArray of URLs to the generated content (empty when status is not completed)
data.urlsobjectObject containing related API endpoints
data.urls.getstringURL to retrieve the prediction result
data.has_nsfw_contentsarrayArray of boolean values indicating NSFW detection for each output
data.statusstringStatus of the task: created, processing, completed, or failed
data.created_atstringISO timestamp of when the request was created (e.g., “2023-04-01T12:34:56.789Z”)
data.errorstringError message (empty if no error occurred)
data.timingsobjectObject containing timing details
data.timings.inferenceintegerInference time in milliseconds

Result Request Parameters

© 2025 WaveSpeedAI. All rights reserved.