Skip to main content

Overview

Upscale video resolution with four models at different quality-cost tradeoffs.
Model IDQualityCredits~CostProvider
topaz-videoBest50$0.50fal (Topaz Labs)
seedvr-videoVery good30$0.30fal (ByteDance SeedVR)
bytedance-upscalerGood25$0.25fal (ByteDance)
sima-video-upscalerBudget15$0.15fal (Sima Labs)

Quick start

import { createVarg } from "vargai/ai"

const varg = createVarg({ apiKey: process.env.VARG_API_KEY! })

const result = await varg.videoModel("seedvr-video").generate({
  videoUrl: "https://example.com/low-res-video.mp4",
})

console.log(result.video.url)

Parameters

files
array
required
Single video file to upscale: [{ url: "video.mp4" }].
Video upscale models don’t use prompt, duration, or aspect_ratio. They take a video file and return it at higher resolution.

Model comparison

ModelBest forPricing model
topaz-videoMaximum quality, professional output0.010.01-0.08/second
seedvr-videoGood quality at moderate cost$0.001/megapixel * frames
bytedance-upscalerBalance of quality and speed0.0070.007-0.029/second
sima-video-upscalerBudget/bulk upscaling$0.00025/megapixel * frames

Tips

  • Sima is the cheapest — good for batch upscaling where top quality isn’t critical.
  • Topaz produces the best results but costs 3x more than the cheapest option.
  • Post-process your AI videos — upscale after generation to improve the perceived quality of any video model’s output.
  • Watch file sizes — upscaled video files can be significantly larger. Consider your storage and bandwidth.

Image Upscale

Upscale image files instead of video.