Skip to main content

Overview

Minimax is an alternative video generation model offering solid quality at a moderate price point. It supports both text-to-video and image-to-video generation.
Model IDCredits~Cost
minimax80$0.80

Quick start

import { createVarg } from "vargai/ai"

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

const result = await varg.videoModel("minimax").generate({
  prompt: "a butterfly landing on a flower, macro shot, soft focus background",
  duration: 5,
  aspectRatio: "16:9",
})

console.log(result.video.url)

Parameters

prompt
string
required
Text description of the video to generate.
duration
number
default:"5"
Video duration in seconds. Typical range: 5-10 seconds.
aspect_ratio
string
default:"16:9"
Output aspect ratio.
files
array
Array of { url: string } objects for image-to-video.

Pricing

ModelCreditsUSD
minimax80$0.80

Tips

  • Good middle ground between quality and cost — cheaper than Kling V3 but higher quality than LTX.
  • Works well for nature and product shots where smooth, gentle motion is needed.

Wan 2.5

Similar price. Better for character animation.

LTX

Cheapest option at 50 credits. Fastest generation.