Models › magi-2

magi-2 API

magi-2 is a video generation model from Sand AI, available on OneFast API behind the same API key as every other model in the catalog.

Pricing

UsagePrice (USD)
Per second of video$0.16 / second

Billed per second of generated video. The price shown is the public list price; after signing in, the console shows the price for your own account.

Model details

Model IDmagi-2
ProviderSand AI
TypeVideo

Endpoints

  • POST /v1/video/generations — Create a video task (docs)
  • GET /v1/video/generations/{task_id} — Get the task result (docs)

Quickstart

Create an API key in the console, then call the API:

curl https://api.onefast.ai/v1/video/generations \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "magi-2",
    "prompt": "A paper boat drifting on a rainy street, cinematic",
    "duration": 5
  }'

More examples: Create a video task docs · Quickstart.