Peke ki ngā ihirangi

Wan 2.5 Image to Video

Whakauru

id tauira wan-25-preview/image-to-video
# 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-25-preview/image-to-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",
    "image": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
  }'

# 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.75 750 whiwhinga API · ≈ ₽ 80.68 Whakahaerehia ki tēnei whārangi

Tikina he kī API

I hangaia ki Doitong

Ngā mahi tūmatanui i hangaia ki Wan 2.5 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 e tohu ana i te nekehanga e hiahiatia ana i te ataata, he 1500 pūāhua te mōrahi.

•e hiahiatia ana image_url
Whakataka he kōnae,

Whakaratohia he URL atahanga ka taea e te katoa te toro atu, he URI raraunga base64 rānei hei whakarato i te anga tuatahi o te ataata.

duration 5 s

Te roa o te ataata putanga, ka taea te tīpako 5, 10 hēkona rānei.

resolution taunoa 1080p

Te taumira ataata putanga: kōwhiria 480p, 720p, 1080p rānei.

Arā atu negative_prompt · audio · seed · enable_prompt_expansion · enable_safety_checker

He tohutohu kino e tohu ana i ngā ihirangi kāore e hiahiatia, he 500 pūāhua te mōrahi.

audio_url
Whakataka he kōnae,

He pūoru papamuri mā te URL ororongo ka taea e te katoa te toro atu, he WAV, MP3 rānei, e 3 ki te 30 hēkona te roa, kāore e nui ake i te 15 MB. Mā te roanga kua tīpakohia, arā 5, 10 rānei hēkona, e whakatau te wā tapahi: ka whakakorehia te ororongo tōtika, ā, ki te poto ake te rīpene ka noho wahangū te toenga o te ataata. Hei tauira, ki te 3 hēkona te roa o te ororongo, ā, ki te 5 hēkona te roa o te ataata, ka rangona te oro i ngā 3 hēkona tuatahi, ā, ka noho wahangū ngā hēkona 2 whakamutunga.

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-25-preview/image-to-video?wait=20 utu → $ 0.75
# 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-25-preview/image-to-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",
    "image": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
  }'

# 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.5 Image to Video

Ka whakahāngai hākoritanga ki tētahi atahanga tū, ka tukuna e `image_url` hei anga tuatahi, mā te whai i tētahi `prompt` nekehanga tae atu ki te 1500 pūāhua. Kōwhiria te 480p, 720p, 1080p rānei me tētahi `duration` 5, 10 rānei hēkona. Mā te `audio_url` kōwhiringa e tuku he puoro, ā, ka poroa mēnā he roa ake i te topenga. E tautokona ana te whakawhānui tohutohu, te tohutohu whakahē me te kākano.

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 e tohu ana i te nekehanga e hiahiatia ana i te ataata, he 1500 pūāhua te mōrahi.
image_urle hiahiatia ana image
Momourl · image
Whakaratohia he URL atahanga ka taea e te katoa te toro atu, he URI raraunga base64 rānei hei whakarato i te anga tuatahi o te ataata.
audio_urlkōwhiringa audio
Momourl · audio
He pūoru papamuri mā te URL ororongo ka taea e te katoa te toro atu, he WAV, MP3 rānei, e 3 ki te 30 hēkona te roa, kāore e nui ake i te 15 MB. Mā te roanga kua tīpakohia, arā 5, 10 rānei hēkona, e whakatau te wā tapahi: ka whakakorehia te ororongo tōtika, ā, ki te poto ake te rīpene ka noho wahangū te toenga o te ataata. Hei tauira, ki te 3 hēkona te roa o te ororongo, ā, ki te 5 hēkona te roa o te ataata, ka rangona te oro i ngā 3 hēkona tuatahi, ā, ka noho wahangū ngā hēkona 2 whakamutunga.
resolutionkōwhiringa
Momoenum
Taunoa1080p
480p720p1080p
Te taumira ataata putanga: kōwhiria 480p, 720p, 1080p rānei.
durationkōwhiringa
Momoenum
Taunoa5
510
Te roa o te ataata putanga, ka taea te tīpako 5, 10 hēkona rānei.
negative_promptkōwhiringa
Momostring | null
He tohutohu kino e tohu ana i ngā ihirangi kāore e hiahiatia, he 500 pūāhua te mōrahi.
enable_prompt_expansionkōwhiringa
Momoboolean
Taunoatrue
Ka whakahaere mēnā ka tuhi anō te LLM i te tohutohu.
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.
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.
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": "wan-25-preview/image-to-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": 750,
    "usd": "0.75",
    "charged": 750,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field",
    "image_url": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
  },
  "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,
      "width": 1024,
      "height": 768,
      "fps": 1.0,
      "duration": 5,
      "num_frames": 1
    },
    "seed": 42,
    "actual_prompt": "The white dragon warrior stands still in a grand cathedral-like structure, its glowing golden eyes fixed forward. The camera slowly moves closer, focusing on the warrior's armored chest and face. It then begins to circle around the warrior, capturing the intricate details of the white scale armor with gold accents. The warrior maintains a strong, determined posture. Ambient sounds and soft choral tones fill the background, enhancing the majestic atmosphere. The camera continues its slow circular motion, emphasizing the warrior's heroic presence before ending with a close-up of the face."
  },
  "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, width, height, fps, duration, num_frames}Te kōnae ataata ka puta.
seed
integerTe uara kākano i whakamahia i te whakaputanga.
actual_prompt
string | nullTe tohutohu i whakamahia tonutia i te wā e whakahohea ana te tuhi anō.

Ētahi atu tauira: Atahanga 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-25-preview/image-to-video.md. Ngā tauira me ngā aratohu katoa: https://doitong.com/developers/llms.txt