Peke ki ngā ihirangi

Wan-2.1 Text-to-Video

Whakauru

id tauira wan-t2v
# 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/wan-t2v?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"

Tēnei tono: $ 0.40 400 whiwhinga API · ≈ ₽ 42.19 Whakahaerehia ki tēnei whārangi

Tikina he kī API
Alibaba Kuputuhi ki te Ataata tae atu ki 720p #text-to-video#motion

Wan 2.1 text-to-video me te putanga 480p ki te 720p, te tū poutū, whakapae rānei, me te aratau turbo kōwhiringa

I hangaia ki Doitong

Ngā mahi tūmatanui i hangaia ki Wan 2.1 e te hapori Doitong. Whakamahia anō he tono mā te pāwhiri kotahi.

Ngā mahi tūmatanui kua whakaaturia: 2
Создай 30-секундный обучающий музыкальный ролик для детей 3–5 лет. Тема: транспорт. Яркая 2D-аним... Ataata

Создай 30-секундный обучающий музыкальный ролик для детей 3–5 лет. Тема: транспорт. Яркая 2D-анимация, весёлый водитель в кепке, крупные машины, пастельные цвета. 0:00–0:10 приветствие под музыку; 0:10–0:30 песенка: "Машина едет би-би, би-би", "Поезд едет ту-ту, ту-ту". Бодрая детская музыка...

Создай 30-секундный обучающий музыкальный ролик для детей 3–5 лет. Тема: транспорт. Яркая 2D-аним... Ataata

Создай 30-секундный обучающий музыкальный ролик для детей 3–5 лет. Тема: транспорт. Яркая 2D-анимация, тот же весёлый водитель в кепке, самолёт. 0:00–0:15 песенка: "Самолёт летит вж-ж-ж, вж-ж-ж"; 0:15–0:25 интерактивная пауза: водитель спрашивает "Как гудит машина?", пауза; 0:25–0:30 финальный...

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

Te taumira ataata putanga: 480p, 580p, 720p rānei.

aspect_ratio taunoa 16:9

Te ōwehenga-āhuatanga o te ataata putanga, arā, 16:9, 9:16 rānei.

taunoa 81

Te maha o ngā anga mō te whakaputanga, mai i te 81 ki te 100, tae atu ki ngā uara e rua.

Arā atu negative_prompt · frames_per_second · num_inference_steps · seed · enable_safety_checker · enable_prompt_expansion · turbo_mode
taunoa bright colors, overex...

Te tohutohu tōraro e whakamahia ana i te whakaputa ataata.

taunoa 16

Te auau anga o te ataata kua whakaputaina, i ngā anga ia hēkona, mai i te 5 ki te 24.

taunoa 30

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

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/wan-t2v?wait=20 utu → $ 0.40
# 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/wan-t2v?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ō Wan-2.1 Text-to-Video

Ka whakaputa topenga ataata poto mai i tētahi `prompt` kuputuhi. Ko te taumira 480p, 580p, 720p rānei, ā, ko te ōwehenga āhuatanga 16:9, 9:16 rānei. Ko `num_frames` 81 ki te 100, ko `frames_per_second` 5 ki te 24. Ka whakaaetia hoki he `negative_prompt`, he `seed`, te whakawhānui tohutohu kōwhiringa me te whakakā `turbo_mode` mō ngā whakahaere tere ake.

Ngā tawhā

IngoaMomo TaunoaE whakaaetia ana Whakamārama
prompte hiahiatia ana
Momostring
Ngā tohutohu kuputuhi hei ārahi i te whakaputanga ataata.
negative_promptkōwhiringa
Momostring
Taunoabright colors, overexposed, static, blurred details, subtitles, style, artwork, painting, picture, still, overall gray, worst quality, low quality, JPEG compression residue, ugly, incomplete, extra fingers, poorly drawn hands, poorly drawn faces, deformed, disfigured, malformed limbs, fused fingers, still picture, cluttered background, three legs, many people in the background, walking backwards
Te tohutohu tōraro e whakamahia ana i te whakaputa ataata.
num_frameskōwhiringa
Momointeger | null
Taunoa81
81 – 100
Te maha o ngā anga mō te whakaputanga, mai i te 81 ki te 100, tae atu ki ngā uara e rua.
frames_per_secondkōwhiringa
Momointeger | null
Taunoa16
5 – 24
Te auau anga o te ataata kua whakaputaina, i ngā anga ia hēkona, mai i te 5 ki te 24.
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
480p580p720p
Te taumira ataata putanga: 480p, 580p, 720p rānei.
aspect_ratiokōwhiringa
Momoenum
Taunoa16:9
9:1616:9
Te ōwehenga-āhuatanga o te ataata putanga, arā, 16:9, 9:16 rānei.
num_inference_stepskōwhiringa
Momointeger
Taunoa30
2 – 40
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
Taunoafalse
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.
enable_prompt_expansionkōwhiringa
Momoboolean
Taunoafalse
Ka whakahaere mēnā kua whakahohea te whakawhānui tohutohu.
turbo_modekōwhiringa
Momoboolean
Taunoafalse
Pana whakaputa ataata tere ake. Mā te whakahohe ka whakapoto te wā whakaputa, kāore he ngaronga kounga ā-kanohi e kitea ana.
e hiahiatia ana

Putanga

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "wan-t2v",
  "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": 400,
    "usd": "0.40",
    "charged": 400,
    "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/wan-t2v.md. Ngā tauira me ngā aratohu katoa: https://doitong.com/developers/llms.txt