Lumaktaw sa nilalaman

MAGI-1 (Distilled)

I-integrate

ID ng modelo magi-distilled
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.ru/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.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Mga file na katulad ng halimbawa: $0.32 320 kredito ng API · ≈ ₽33.75 sinusukat ang iyong mga file bago patakbuhin Patakbuhin ito sa page na ito

Kumuha ng API key
Sand AI Text patungong Video Mabilishanggang 720p #text-to-video

Distilled MAGI-1 text-to-video na may 480p o 720p na output at mapipiling bilang ng hakbang mula 4 hanggang 32

Sand AI · video

Dito mapupunta ang iyong unang resulta

Bumuo ng kahilingan sa ibaba at patakbuhin ito gamit ang iyong API key. Kinokopya ang mga output sa aming storage, na pinananatili nang walang hanggan o 7 araw nang libre.

Bumuo ng kahilingan

Ang mga control ay binubuo mula sa schema ng modelo. Nagbabago ang code at presyo habang ina-adjust mo ang mga ito.

•kinakailangan

Mga text instruction na gumagabay sa pagbuo ng video.

resolution default na 720p

Resolution ng output na video, maaaring 480p o 720p.

num_inference_steps default na 16

Bilang ng sampling step, kung saan ipinagpapalit ang mas mahabang oras ng pagproseso para sa mas magandang kalidad habang tumataas ang bilang.

aspect_ratio default na auto

Mga proporsyon ng nabuong video, awtomatikong pinipili mula sa input larawan kapag itinakda sa 'auto'.

default na 96

Bilang ng output frame, na may minimum na 96 at maximum na 192.

advanced seed · enable_safety_checker

Seed na ginagawang reproducible ang pagbuo. Ang pagtatakda nito sa None ay random na pumipili ng seed.

POST /run/magi-distilled?wait=20 presyo → $0.32
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.ru/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.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Patakbuhin ang kahilingang ito

Nananatili ang iyong key sa browser na ito: ipinapadala lamang ito sa Doitong API at sine-save (localStorage) lamang kung pipiliin mo ang Tandaan. Kumuha ng API key

Tungkol sa MAGI-1 (Distilled)

Bumubuo ng video mula sa teksto na `prompt`. Saklaw ng `num_frames` ang 96 hanggang 192, ang `resolution` ay 480p o 720p, at ang `aspect_ratio` ay maaaring auto, 16:9, 9:16 o 1:1. Tumatanggap ang `num_inference_steps` ng 4, 8, 16 o 32, na ipinagpapalit ang kalidad sa bilis. Nagbibigay ang `seed` ng nauulit na resulta.

Mga parameter

PangalanUri defaultPinapayagan Paglalarawan
promptkinakailangan
Uristring
Mga text instruction na gumagabay sa pagbuo ng video.
num_framesopsyonal
Uriinteger | null
default96
96 – 192
Bilang ng output frame, na may minimum na 96 at maximum na 192.
seedopsyonal
Uriinteger | null
Seed na ginagawang reproducible ang pagbuo. Ang pagtatakda nito sa None ay random na pumipili ng seed.
resolutionopsyonal
Urienum
default720p
480p720p
Resolution ng output na video, maaaring 480p o 720p.
num_inference_stepsopsyonal
Urienum
default16
481632
Bilang ng sampling step, kung saan ipinagpapalit ang mas mahabang oras ng pagproseso para sa mas magandang kalidad habang tumataas ang bilang.
enable_safety_checkeropsyonal
Uriboolean
defaulttrue
Switch para sa safety checking na nangangailangan ng authorization ng account kapag naka-off. Kung walang authorization na iyon, sinusuri ang bawat kahilingan anuman ang setting; ino-on ng true ang checker.
aspect_ratioopsyonal
Urienum
defaultauto
auto16:99:161:1
Mga proporsyon ng nabuong video, awtomatikong pinipili mula sa input larawan kapag itinakda sa 'auto'.
kinakailangan

Output

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.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
Ikaw ang pumipili para sa iyong mga fileAng bawat outputs[].url ay kopya sa aming storage: pinananatili nang walang hanggan (sinisingil bawat GB-month) o 7 araw nang libre, ayon sa setting ng iyong account o ?storage=.
Parehong shape sa bawat modelotype, url, content_type, width, height at duration, para sa mga larawan, video at audio. Ang output ay sariling result object ng modelo.
Mga field ng output
video
object {url, content_type, file_name, file_size}Video file na ginawa sa pagbuo.
seed
integerSeed value na inilapat sa pagbuo.

Higit pang modelo: Text patungong Video

Para sa mga AI agent: nasa Markdown ang pahinang ito sa https://doitong.com/fil/developers/models/magi-distilled.md. Lahat ng modelo at gabay: https://doitong.com/developers/llms.txt