REFERENCE VIDEO · MAGI video family

MAGI-2 API

MAGI-2 appears in the public catalog as a 1080p video model that accepts four to thirty seconds and supports text, image, video and audio references where the upstream route permits them. The public snapshot lists a per-second amount; account group multipliers may still apply.

1 public catalog rowPublic catalog dataEnglish guide

MAGI-2 is a listed public model

Unlike a reference-only catalogue entry, magi-2-1080P is returned by the public /api/pricing endpoint used to build this page. The generated table below shows the current public rate and model status from the most recent successful sync.

Reference roles are not interchangeable

The public capability metadata distinguishes ordinary references, source video, first frame and last frame. First and last frames cannot be mixed with ordinary references, and a last frame requires a first frame. Validate the role and media type before submitting.

Use the exact model identifier

A generic MAGI label is not enough. Submit magi-2-1080P and read the authenticated model capability response for the current route, media limits and supported settings.

Public catalog snapshot

This table is generated from /api/pricing. A value such as “Token-metered” means the public response does not expose one simple per-second amount. Verify the authenticated catalog for the final rate.

Public catalog snapshot — amounts can change by account group and route.
Model IDEndpointsGroupsCatalog durationPublic price basisObserved service state
magi-2-1080Popenai-videoVideo4–30 s1080p ✦0.4/sOpen at observation

The table shows the service state observed during the catalog refresh.

Rates are base Xinfeng Credits for the displayed tiers. Reference inputs, audio and account groups can affect the charge. See the live service status and the catalog snapshot time.

Request example

Create a MAGI-2 1080p video job. Replace the example prompt and model options with values supported by your account.

Create a MAGI-2 1080p video job
curl -X POST "https://xinfeng.best/draw/api/v1/videos"   -H "Authorization: Bearer $XINFENG_API_KEY"   -H "Content-Type: application/json"   -H "Idempotency-Key: magi-demo-001"   -d '{
    "model": "magi-2-1080P",
    "prompt": "A cinematic shot of a paper boat moving through a rain-lit city canal",
    "seconds": 5,
    "output": {"ratio": "1080p-16:9"}
  }'

Frequently asked questions

Is MAGI-2 available through the public Xinfeng catalog?

Yes in the current snapshot. The public catalog returns magi-2-1080P with a 1080p per-second rate. Availability can still depend on account group and current routing.

Which output options are public?

The public row lists 1080p, four to thirty seconds, a default of five seconds, and reference/frame roles. Use the authenticated capability endpoint before submitting a complex reference set.

Can I mix first frame, last frame and ordinary references?

The published rules say first/last-frame mode is exclusive with ordinary references. Last frame requires first frame. Do not rely on client-side assumptions when the API can validate the role set.