Skip to main content

Overview

Sora 2 is OpenAI’s video generation model, available through varg via fal. It excels at cinematic, photorealistic shots and offers a unique remix capability for transforming existing videos.
Model IDModeCredits~Cost
sora-2Text/Image-to-video100$1.00
sora-2-proText/Image-to-video (premium)300$3.00
sora-2-remixVideo-to-video remix100$1.00

Quick start

import { createVarg } from "vargai/ai"

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

const result = await varg.videoModel("sora-2").generate({
  prompt: "a time-lapse of a flower blooming in a sunlit garden, cinematic depth of field",
  duration: 5,
  aspectRatio: "16:9",
})

console.log(result.video.url)

Capabilities

Text-to-video

const result = await varg.videoModel("sora-2").generate({
  prompt: "drone shot flying through a misty forest at dawn, rays of sunlight filtering through trees",
  duration: 10,
})

Image-to-video

Animate a still image:
cURL
curl -X POST https://api.varg.ai/v1/video \
  -H "Authorization: Bearer $VARG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "sora-2",
    "prompt": "gentle breeze moves through the scene, leaves flutter",
    "duration": 5,
    "files": [{ "url": "https://example.com/landscape.jpg" }]
  }'

Video remix

Transform an existing video with a new prompt. Unique to Sora 2.
const result = await varg.videoModel("sora-2-remix").generate({
  prompt: "transform this into a watercolor painting style",
  videoUrl: "https://example.com/original.mp4",
})

Parameters

prompt
string
required
Text description of the video or transformation to apply.
duration
number
default:"5"
Video duration in seconds.
aspect_ratio
string
default:"16:9"
Output aspect ratio.
files
array
For image-to-video: [{ url: "image.jpg" }]. For remix: [{ url: "video.mp4" }].

Pricing

ModelCreditsUSDBest for
sora-2100$1.00General use
sora-2-pro300$3.00Maximum quality
sora-2-remix100$1.00Video transformation

Tips

  • Sora excels at cinematic, photorealistic content. It handles lighting, depth of field, and natural motion well.
  • Use remix for style transfer, seasonal changes, or transforming the mood of existing footage.
  • Pro tier is only worth it for hero shots. The standard model is usually sufficient.
  • Combine with image generation — create a reference frame with Flux Pro or Nano Banana, then animate with Sora.

Seedance 2

ByteDance’s premium model with video editing and extension.

Kling V3

Best overall model. Flexible 3-15s duration.

Grok Imagine Video

xAI’s model with native audio and video editing.