Peke ki ngā ihirangi

MAGI-1 (Distilled)

Whakauru

id tauira 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"

Ngā kōnae pēnei i te tauira: $ 0.32 320 whiwhinga API · ≈ ₽ 33.75 ka inea ō kōnae i mua i te whakahaere Whakahaerehia ki tēnei whārangi

Tikina he kī API
Sand AI Kuputuhi ki te Ataata Teretae atu ki 720p #text-to-video

MĀGI-1 kua whakangāwaritia mō te kuputuhi-ki-teata, me te putanga 480p, 720p rānei, ā, ka taea te kōwhiri i te maha o ngā kaupae mai i te 4 ki te 32

Sand AI · Ataata

Kei konei tō hua tuatahi

Hangaia he tono ki raro nei, ka whakahaere mā tō kī API. Ka tāruatia ngā putanga ki tō mātou rokiroki, ka puritia mō ake tonu atu, mō rānei 7 rā mō te kore utu.

Hangaia he tono

Ka hangaia ngā mana whakahaere mai i te aronuinga o te tauira. Ka whakahoungia te waehere me te utu ina whakarerekē koe.

•e hiahiatia ana

Ngā tohutohu kuputuhi hei ārahi i te whakaputanga ataata.

resolution taunoa 720p

Taumira ataata putanga, 480p, 720p rānei.

num_inference_steps taunoa 16

Te tatau kaupae tīpako, ka whakawhiti i te wā tukatuka roa mō te kounga pai ake ina piki te tatau.

aspect_ratio taunoa auto

Ngā taurite o te ataata kua whakaputaina, ka kōwhiria aunoatia mai i te atahanga tāuru ina tautuhia ki 'auto'.

taunoa 96

Tau anga putanga, he iti rawa 96, he nui rawa 192.

Arā atu seed · enable_safety_checker

Te kākano e taea ai te tārua o te whakaputanga. Mā te tautuhi ki None e kōwhiri matapōkeretia ai he kākano.

POST /run/magi-distilled?wait=20 utu → $ 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"

Whakahaerehia tēnei tono

Ka noho tō kī ki tēnei pūtirotiro: ka tukuna ki te Doitong API anake, ā, ka tiakina ki te localStorage anake ina tohua e koe te Mahara. Tikina he kī API

Mō MAGI-1 (Distilled)

Ka whakaputa ataata mai i tētahi kuputuhi `prompt`. Ko `num_frames` mai i te 96 ki te 192, ko `resolution` he 480p, 720p rānei, ā, ko `aspect_ratio` he auto, 16:9, 9:16, 1:1 rānei. Ka whakaaetia e `num_inference_steps` te 4, 8, 16, 32 rānei, ka whakawhiti i te kounga me te tere. Mā `seed` e taea ai ngā hua tukurua.

Ngā tawhā

IngoaMomo TaunoaE whakaaetia ana Whakamārama
prompte hiahiatia ana
Momostring
Ngā tohutohu kuputuhi hei ārahi i te whakaputanga ataata.
num_frameskōwhiringa
Momointeger | null
Taunoa96
96 – 192
Tau anga putanga, he iti rawa 96, he nui rawa 192.
seedkōwhiringa
Momointeger | null
Te kākano e taea ai te tārua o te whakaputanga. Mā te tautuhi ki None e kōwhiri matapōkeretia ai he kākano.
resolutionkōwhiringa
Momoenum
Taunoa720p
480p720p
Taumira ataata putanga, 480p, 720p rānei.
num_inference_stepskōwhiringa
Momoenum
Taunoa16
481632
Te tatau kaupae tīpako, ka whakawhiti i te wā tukatuka roa mō te kounga pai ake ina piki te tatau.
enable_safety_checkerkōwhiringa
Momoboolean
Taunoatrue
Whakakā/whakaweto tirotiro haumaru, me whakamana pūkete te tautuhinga whakaweto. Ki te kore taua whakamana, ka tirohia ia tono ahakoa te tautuhinga; mā true e whakakā te kaitirotiro.
aspect_ratiokōwhiringa
Momoenum
Taunoaauto
auto16:99:161:1
Ngā taurite o te ataata kua whakaputaina, ka kōwhiria aunoatia mai i te atahanga tāuru ina tautuhia ki 'auto'.
e hiahiatia ana

Putanga

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"
  }
}
Ō kōnae, māu e whiriwhiriKo ia url o outputs[] he tārua kei tō mātou rokiroki: ka puritia mō ake tonu atu (ka utua ia GB-marama) mō rānei 7 rā mō te kore utu, e ai ki ngā tautuhinga o tō pūkete, ki te ?storage= rānei.
He ōrite te hanga ki ia tauiratype, url, content_type, width, height me duration, mō ngā pikitia, ataata me te oro. Ko output te ahanoa hua ake o te tauira.
Ngā āpure o te putanga
video
object {url, content_type, file_name, file_size}Te kōnae ataata i whakaputaina.
seed
integerTe uara kākano i whakamahia i te whakaputanga.

Ētahi atu tauira: Kuputuhi ki te Ataata

Mō ngā āpiha AI: kei te wātea tēnei whārangi hei Markdown ki https://doitong.com/mi/developers/models/magi-distilled.md. Ngā tauira me ngā aratohu katoa: https://doitong.com/developers/llms.txt