Peke ki ngā ihirangi

MAGI-1 (Distilled) · Extend Video

Whakauru

id tauira magi-distilled/extend-video
# 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/extend-video?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",
    "video": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4"
  }'

# 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"

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

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

Ka haere tonu i tētahi ataata o mua mai i tētahi anga tīmatanga kua kōwhiria, ka whakaputa 96 ki te 192 anga hou

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.

•e hiahiatia ana video_url
Whakataka he kōnae,

URL o te ataata ka whakamahia i te tīmatanga o te putanga. Mā te rerekētanga ki te ōwehenga āhuatanga kua tīpakohia e whakarerekē te rahi o te tāuru, ka tapahia hoki te pokapū.

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 start_frame · seed · enable_safety_checker

Te rohenga i waenga i te ataata tīmatanga kāore i whakarerekētia me ngā anga hou kua whakaputaina. Mā te taunoa, ka noho tēnei rohenga 32 anga i mua i te mutunga o te ataata mō ngā hua pai; ka mau tonu ngā anga tae atu ki te tau kua tohua ki te ataata whakamutunga, ā, ka tāpirihia ngā anga whakaputa ki muri.

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/extend-video?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.com/v1/run/magi-distilled/extend-video?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",
    "video": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4"
  }'

# 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"

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) · Extend Video

Ka tango i tētahi topenga pūtake kei `video_url` me tētahi `prompt`, ka whakaputa i te haere tonutanga. Mā `start_frame` e whakarite te tīmatanga o te whakaputa; ka noho panoni-kore ngā anga i mua i taua wā. Ko `num_frames` mai i te 96 ki te 192, me te putanga 480p, 720p rānei, me ngā tatau hīkoi 4, 8, 16, 32 rānei. Ka whakarahi, ka poro pokapū hoki te tāuru kāore e rite ki te ōwehenga kua kōwhiria.

Ngā tawhā

Tukuna te ingoa tōmua, te ingoa taketake rānei, kaua e rua. Ngā ingoa tōmua

IngoaMomo TaunoaE whakaaetia ana Whakamārama
prompte hiahiatia ana
Momostring
Ngā tohutohu kuputuhi hei ārahi i te whakaputanga ataata.
video_urle hiahiatia ana video
Momourl · video
URL o te ataata ka whakamahia i te tīmatanga o te putanga. Mā te rerekētanga ki te ōwehenga āhuatanga kua tīpakohia e whakarerekē te rahi o te tāuru, ka tapahia hoki te pokapū.
num_frameskōwhiringa
Momointeger | null
Taunoa96
96 – 192
Tau anga putanga, he iti rawa 96, he nui rawa 192.
start_framekōwhiringa
Momointeger | null
≥ 0
Te rohenga i waenga i te ataata tīmatanga kāore i whakarerekētia me ngā anga hou kua whakaputaina. Mā te taunoa, ka noho tēnei rohenga 32 anga i mua i te mutunga o te ataata mō ngā hua pai; ka mau tonu ngā anga tae atu ki te tau kua tohua ki te ataata whakamutunga, ā, ka tāpirihia ngā anga whakaputa ki muri.
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 Ingoa tōmua, e whakaaetia ana hoki

Mō ngā tawhā kōnae, whakamahia he URL tūmatanui https://, he URI data: tae atu ki te 10 MB, he file_url rānei o tētahi tukuake. Ngā kōnae

Putanga

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "magi-distilled/extend-video",
  "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",
    "video_url": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4"
  },
  "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"
  }
}
Ō 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: Ataata 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/extend-video.md. Ngā tauira me ngā aratohu katoa: https://doitong.com/developers/llms.txt