ᡤᡝᠯᡳ ᡩᡝ ᠵᡠᠸᡝᠨ

MAGI-1 (Distilled)

ᠵᡠᠸᡝᠪᡠᠮᠪᡳ

ᠮᠣᡩᡝᠯ id magi-distilled
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/magi-distilled?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

ᠵᠠᠨᡳ ᡥᠠᠯᠠᠮᠠ ᡥᡡᠯᠠᠨᡳ ᡶᡳᠯᡝ: $0.32 320 API ᠺᠷᡝᡩᡳᠲ ᠰᡳᠨᡳ ᡶᡳᠯᡝ ᠵᠠᠯᡤᠠᠨ ᠠᠰᡠᠮᠪᡳᠨᡳ ᠠᠯᡳᠮᠪᡳ ᡝᡵᡝ ᠵᠠᠯᡳᠨᡩᡝ ᠠᠰᡠᠮᠪᡳ

API ᡩᠠᠮᡠᠨ ᡤᠠᠯᠠ
Sand AI ᡥᡡᠯᠠᠨ ᡩᡝ ᠰᡠᠨᡤᠠ ᡴᡝᠮᡠᠨᡳ720p ᡩᡝ ᡳᠨᡝ #text-to-video

ᡩᡳᠰᡨᡳᠯᠯᡝᠮᡝ ᡴᡳᠮᡠᠰᡳᠨ MAGI-1 ᠪᡳᠴᡳᡥᡝᠰᡳ ᡩᡝᠰᡳ ᠪᡳᠣ᠋ᠰᡳᠨᠣᠩᡤᡝ 480p ᠠᡵᠠᠯᡳ 720p ᡥᡡᠯᠠᠮᡝ᠂ 4 ᠠᡵᠠᠯᡳ 32 ᡩᡝ ᠠᠮᠪᠠᠯᠠᠮᡝ ᡩᡠᠯᡝᡵᡝ ᡩᠣᠣᠰᡳᠨ

Sand AI · ᠰᡠᠨᡤᠠ

ᡳᠨᡝ ᡝᠮᡠᠨᡳᠩᡤᡝ ᡝᡵᡝᠮᡝ ᡩᡝ

ᡝᡵᡝ ᠵᡠᠯᡝᠨ ᡩᡝ ᡤᡝᡪᡳᠯᡝᠨ ᠪᠠᠶᠠᠨᠠᠮᡝ ᠠᠮᡪᠠᠯᠠ ᡶᡳᠯᡝᠮᡝ ᠪᡝᠶᡝᠮᡝ᠃ API ᠵᡳᡵᡤᠠᡳ ᡤᠠᡳᡥᠠᡩᡝ ᡤᡝᡪᡳᠯᡝᠨ ᠵᠠᠯᠠᠨᠠᠮᡝ ᠪᡠᠶᡝᠮᡝ ᠮᡠᠰᡝᡳ ᠰᡠᠯᡠᠨᡩᡝ ᠪᠠᠶᠠᠨᠠᠮᡝ᠂ ᠝ᠮᡤᡳ ᠮᡠᠰᡝ ᠠᠶᠠᠨ 7 ᡥᠠᠨ ᠰᠠᡳᠨᠠᠮᡝ᠃

ᡤᡳᠰᡠᠨ ᠪᡠᠶᡝᠮᡝ

ᠵᠠᡴᡠᠨᡳ ᠵᡠᠯᡝ ᡩᡝᡵᡤᡳ ᡩᡝᠪᡝᠰᡠᠮᡝ ᠵᡠᠯᡤᡝ ᠪᡠᠶᡝᠮᡝ᠈ ᡳᠨᡳ ᡤᡳᠰᡠᠨ ᠪᠠᡳ ᡝᠨᡝᠩᡤᡳ ᠠᠮᠪᡳ

•ᡴᠠᠷᠠᡴᡡ

ᠰᡠᠨᡤᠠ ᠪᡠᠶᡝᠮᡝ ᡳ ᠵᠠᠯᠠᠨ ᡳ ᡥᡡᠯᠠᠨ᠉

resolution ᠵᡠᠯᡝ 720p

ᠪᡠᠶᡝᠮᡝ ᠰᡠᠨᡤᠠ ᡳ ᠵᠠᠯᠠᠨ, 480p ᠠᠮᠠᠯᡤᠠ 720p᠉

num_inference_steps ᠵᡠᠯᡝ 16

ᠰᠠᠮᡝᠨᡳ ᠵᠠᡴᡠᠨᠨᡳ ᠵᠠᠯᠠᠨ, ᠮᡠᠯᡥᡝ ᠵᠠᠯᠠᠨᡩᠣᠮᡝᠨᡳ ᠵᡝᠪᡝᠯᡝ ᠵᡠᠯᡝᠮᡝ.

aspect_ratio ᠵᡠᠯᡝ auto

ᠪᡠᠶᡝᠮᡝ ᠰᡠᠨᡤᠠ ᡳ ᠵᠠᠯᠠᠨ ᡩᡝ auto ᠰᠣᠩᡤᠣᠮᠪᡳ.

ᠵᡠᠯᡝ 96

ᠪᡠᠶᡝᠮᡝ ᠪᡠᠴᡳᠯᡝᠮᡝ ᡳ ᡶᡳᠯᡝᠮᡝ ᠵᠠᠯᠠᠨ᠈ ᠵᡠᠯᡝ 96 ᠠᠯᡳ ᠠᠮᠪᠠᠨ 192.

ᠵᡠᠯᡤᡝ ᠵᡝᡵᡤᡳ seed · enable_safety_checker

ᠪᡠᠶᡝᠮᡝ ᡩᡝ ᠰᠠᡳᠨ ᠪᡳᠰᡳᠮᡝ ᠪᠠᠨᠵᡳᠨᠠᠮᡝ᠉ None ᡩᡝ ᠪᡳᠮᡝ ᠪᠠᠨᠵᡳᠨ ᡤᠣᠯᠣᠮᡝ᠉

POST /run/magi-distilled?wait=20 ᠵᠠᠯᡳᠨ → $0.32
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/magi-distilled?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

ᡝᠨᡳ ᠵᠠᠯᡳᠨ ᠪᡝ ᠵᠠᠯᠠᠨᠠᠮᡝ

ᡳᠨᡝ ᠵᠠᠯᠠᠨ ᡝᡵᡝ ᠪᡠᡵᡝᠪᡝᡵᡳ ᡩᡝ ᠪᡳᠮᡝ᠈ Doitong API ᡩᡝ ᠵᡝᠯᡤᡳ ᡩᠠᡵᠠᠮᡝ᠈ Remember ᠵᡠᠯᡝᠮᡝ ᡤᡳᠯᠠᠮᡝ localStorage ᡩᡝ ᠰᡠᠯᡝᠮᡝ ᠪᡳᠮᡝ API ᠵᠠᠯᠠᠨ ᠠᠪᠠᠮᡝ

MAGI-1 (Distilled) ᡠᡵᡝᠮᡝ

ᠪᡳᠴᡳᡥᡝᠰᡳ `prompt` ᡩᡝ ᠰᠠᠮᠪᡳ ᠪᡳᠣ᠋ ᡤᡝᠨᡝᡵᡝᠮᡝ ᡤᡠᠷᡝᠮᡝ᠃ `num_frames` 96 ᠠᡵᠠᠯᡳ 192 ᡩᡝ ᠣᠴᡳᠨᠠᠮᡝ᠂ `resolution` 480p ᠠᡵᠠᠯᡳ 720p ᠣᠴᡳᠨᠠᠮᡝ᠂ ᠠᠮᠠ `aspect_ratio` auto᠂ 16:9᠂ 9:16 ᠠᡵᠠᠯᡳ 1:1 ᠣᠴᡳᠨᠠᠮᡝ᠃ `num_inference_steps` 4᠂ 8᠂ 16 ᠠᡵᠠᠯᡳ 32 ᠠᠪᡠᠮᡝ᠂ ᡤᡡᠨᡳᠨ ᠠᡵᠠᠯᡳ ᡤᡝᠯᡳ ᡩᡝ ᡥᡡᠯᠠᠮᡝ᠃ ᠵᡝᠯᡤᡳ `seed` ᡳ ᠠᠪᡠᠮᡝ ᠠᡳᠰᡳᠯᠠᠮᡝ ᡤᡠᠷᡝᠮᡝ ᠣᠵᠣᠷᠣᠮᡝ᠃

ᠵᠠᡴᡠᠨ

ᠵᡝᡵᡤᡳᡠᠯᠠᠮᡝ ᠵᠠᠯᠠᠨᡳ ᠵᡠᠯᡝᠠᠪᠠᠮᡝ ᠵᠠᠪᡠᠨ ᠵᠠᠯᠠᠨᡳ ᡤᡳᠰᡠᠨ
promptᡴᠠᠷᠠᡴᡡ
ᡠᠯᠠᠮᡝstring
ᠰᡠᠨᡤᠠ ᠪᡠᠶᡝᠮᡝ ᡳ ᠵᠠᠯᠠᠨ ᡳ ᡥᡡᠯᠠᠨ᠉
num_framesᠵᡠᠯᡝ
ᡠᠯᠠᠮᡝinteger | null
ᠵᠠᠯᠠᠨᡳ ᠵᡠᠯᡝ96
96 – 192
ᠪᡠᠶᡝᠮᡝ ᠪᡠᠴᡳᠯᡝᠮᡝ ᡳ ᡶᡳᠯᡝᠮᡝ ᠵᠠᠯᠠᠨ᠈ ᠵᡠᠯᡝ 96 ᠠᠯᡳ ᠠᠮᠪᠠᠨ 192.
seedᠵᡠᠯᡝ
ᡠᠯᠠᠮᡝinteger | null
ᠪᡠᠶᡝᠮᡝ ᡩᡝ ᠰᠠᡳᠨ ᠪᡳᠰᡳᠮᡝ ᠪᠠᠨᠵᡳᠨᠠᠮᡝ᠉ None ᡩᡝ ᠪᡳᠮᡝ ᠪᠠᠨᠵᡳᠨ ᡤᠣᠯᠣᠮᡝ᠉
resolutionᠵᡠᠯᡝ
ᡠᠯᠠᠮᡝenum
ᠵᠠᠯᠠᠨᡳ ᠵᡠᠯᡝ720p
480p720p
ᠪᡠᠶᡝᠮᡝ ᠰᡠᠨᡤᠠ ᡳ ᠵᠠᠯᠠᠨ, 480p ᠠᠮᠠᠯᡤᠠ 720p᠉
num_inference_stepsᠵᡠᠯᡝ
ᡠᠯᠠᠮᡝenum
ᠵᠠᠯᠠᠨᡳ ᠵᡠᠯᡝ16
481632
ᠰᠠᠮᡝᠨᡳ ᠵᠠᡴᡠᠨᠨᡳ ᠵᠠᠯᠠᠨ, ᠮᡠᠯᡥᡝ ᠵᠠᠯᠠᠨᡩᠣᠮᡝᠨᡳ ᠵᡝᠪᡝᠯᡝ ᠵᡠᠯᡝᠮᡝ.
enable_safety_checkerᠵᡠᠯᡝ
ᡠᠯᠠᠮᡝboolean
ᠵᠠᠯᠠᠨᡳ ᠵᡠᠯᡝtrue
ᠠᠮᡠᠯᠠᠨ ᡶᡳᠯᡝᠮᡝᠨᡳ ᠵᠠᠰᡳᠮᡝ. ᠪᡝ ᠣᠴᡳ ᠪᠠᠯᠠᠨᠰᡳᠨᡳ ᠪᠠᠨᠵᡳᠨ ᠠᠰᡠᠮᠪᡳ. ᡝᡵᡝ ᠪᠠᠨᠵᡳᠨ ᠠᡴᡡ ᠣᠴᡳ ᠵᠠᡴᡠᠨ ᡶᡝᠨᡩᡝ ᡤᡝᡪᡳᠯᡝᠨ ᠪᡝ ᠪᠠᠨᠵᡳᠮᡝ; true ᠪᡝ ᠵᠠᠰᡳᠮᡝ.
aspect_ratioᠵᡠᠯᡝ
ᡠᠯᠠᠮᡝenum
ᠵᠠᠯᠠᠨᡳ ᠵᡠᠯᡝauto
auto16:99:161:1
ᠪᡠᠶᡝᠮᡝ ᠰᡠᠨᡤᠠ ᡳ ᠵᠠᠯᠠᠨ ᡩᡝ auto ᠰᠣᠩᡤᠣᠮᠪᡳ.
ᡴᠠᠷᠠᡴᡡ

ᠪᡠᠶᡝᠮᡝ

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "magi-distilled",
  "status": "succeeded",
  "created_at": "2026-10-20T12:00:00Z",
  "started_at": "2026-10-20T12:00:02Z",
  "completed_at": "2026-10-20T12:00:09Z",
  "queue_position": null,
  "cost": {
    "credits": 320,
    "usd": "0.32",
    "charged": 320,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  },
  "output": {
    "video": {
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp4",
      "content_type": "video/mp4",
      "file_name": "0-output.mp4",
      "file_size": 1843200
    },
    "seed": 42
  },
  "outputs": [
    {
      "type": "video",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp4",
      "content_type": "video/mp4",
      "file_size": 1843200,
      "width": 1280,
      "height": 720,
      "duration": 5,
      "stored": true
    }
  ],
  "error": null,
  "metrics": {
    "inference_seconds": 6.8
  },
  "urls": {
    "self": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
ᡤᡝᠯᡝᠮᡝ ᡥᡡᠯᡤᡠᠨᡳ ᡳᠨᡠᡝᠯᡝᡥᡝ outputs[].url ᠰᡠᠯᡠᠨ ᡩᡝ ᠰᡳᡵᡝ ᡶᡳᠯᡝ᠈ ᠝ᠮᡤᡳ ᠮᡠᠰᡝ ᠠᠪᠠᠯᡳ ᠵᡝᠮᡤᡳᠨ GB-ᠪᡳᠶᠠ ᠵᡝᠮᡤᡳᠨ ᠪᡝ ᡝᠮᡠᠯᡝᠮᡝ ᠠᠪᠠᠯᡳ 7 ᡥᠠᠨ ᠰᡳᠯᡤᠠᠨ ᡩᡝ᠈ ᠰᡳᠨᡳ ᠪᠠᠯᠠᠨᠰᡳ ᠵᡠᠶᡝᡵᡝᠨ ᠠᠪᠠᠯᡳ ?storage= ᡩᡝ ᡝᠵᡝᠨ ᡥᠠᠯᠠᠮᡝ᠉
ᡝᠮᡠ ᡤᡳᠰᡠᠨ ᡝᠮᡠ ᠮᠣᡩᡝᠯ ᡩᡝtype, url, content_type, width, height ᠮᠠᠩᡤᡳ duration᠈ ᠵᠠᠯᠠᠨ᠈ ᠪᡠᠵᡠᠮᠪᡳ ᠮᠠᠩᡤᡳ ᠵᡝᡵᡤᡳ ᡩᡝᠨᡳ᠈ output ᠮᠣᡩᡝᠯᡳᠨᡳ ᡝᠮᡠ ᠵᠠᠯᠠᠨ
ᠪᡠᠶᡝᠮᡝᠨᡳ ᡤᡳᠰᡠᠨ
video
object {url, content_type, file_name, file_size}ᠪᡠᠶᡝᠮᡝ ᠵᡠᠴᡝᠨ ᡳ ᡶᡳᠯᡝ᠉
seed
integerᠪᡠᠶᡝᠮᡝ ᡩᡝ ᠶᠠᠪᡠᡥᠠᠨ ᠪᠠᠨᠵᡳᠨᠠᠮᡝ᠉

ᡝᠯᡤᡳ ᡩᠠᠯᡳᠨ: ᡥᡡᠯᠠᠨ ᡩᡝ ᠰᡠᠨᡤᠠ

AI ᠠᡤᡝᠨᡨᡳ ᡠᠴᡠᠷᡳ᠈ ᡝᡵᡝ ᡩᡝᠪᡝᡵᡳ Markdown ᠰᡳᠨᡩᠠᡵᡳ https://doitong.com/mnc/developers/models/magi-distilled.md. ᡝᡵᡝ ᠮᠣᡩᡝᠯ ᠵᠠᡴᡠᠨ ᠰᡠᠯᡠᠮᡝ https://doitong.com/developers/llms.txt