Peke ki ngā ihirangi

Wan v2.6 Image to Video

Whakauru

id tauira wan/v2.6/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/v2.6/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
Alibaba Atahanga ki te Ataata 5–15 stae atu ki 1080p #image-to-video

Ka whakaoho i tētahi whakaahua anga-tuatahi hei topenga 5, 10, 15 hēkona rānei i te 720p, 1080p rānei, me te oro hei kōwhiringa

Alibaba · 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 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 te atahanga tīmatanga o te ataata mā te URL ka taea e te katoa te toro atu, mā te URI raraunga base64 rānei, me ngā rahinga i waenga i te 240–7680.

duration 5 s

Te roa o te ataata putanga, i ngā hēkona; ko ngā kōwhiringa 5, 10, 15 hēkona.

resolution taunoa 1080p

Te taumira ataata putanga, 720p, 1080p rānei.

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

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,

URL o tētahi kōnae WAV, MP3 rānei ka taea e te katoa te toro atu mō te pūoru papamuri, e 3–30 hēkona te roa, kāore e nui ake i te 15 MB. Mā te roanga ataata kua tīpakohia (5, 10, 15 rānei hēkona) e whakawhāiti te purei ki ngā hēkona N tuatahi, ā, ka whakakorehia te ororongo tōtika; ki te mutu wawe te ororongo, ka noho wahangū te toenga o te ataata. Hei tauira, ki te 3 hēkona te ororongo, ā, ki te 5 hēkona te roa o te ataata, ka purei te oro mō ngā 3 hēkona tuatahi, kātahi ka noho wahangū mō ngā hēkona 2.

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/v2.6/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/v2.6/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 v2.6 Image to Video

Ka whakamahia a `image_url` hei anga tuatahi, ā, he tohutohu kia 1500 pūāhua te roa mō te whakaahua i te nekehanga. Ko `duration` he 5, 10, he 15 hēkona rānei, ā, ko `resolution` he 720p, he 1080p rānei. Mā te `audio_url` kōwhiringa ka tuku waiata papamuri. Kei te wātea te whakawhānui tohutohu me te wehewehenga `multi_shots`, engari ko tērā whakamutunga ka wātea anake ina whakakāngia te whakawhānui.

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 te atahanga tīmatanga o te ataata mā te URL ka taea e te katoa te toro atu, mā te URI raraunga base64 rānei, me ngā rahinga i waenga i te 240–7680.
audio_urlkōwhiringa audio
Momourl · audio
URL o tētahi kōnae WAV, MP3 rānei ka taea e te katoa te toro atu mō te pūoru papamuri, e 3–30 hēkona te roa, kāore e nui ake i te 15 MB. Mā te roanga ataata kua tīpakohia (5, 10, 15 rānei hēkona) e whakawhāiti te purei ki ngā hēkona N tuatahi, ā, ka whakakorehia te ororongo tōtika; ki te mutu wawe te ororongo, ka noho wahangū te toenga o te ataata. Hei tauira, ki te 3 hēkona te ororongo, ā, ki te 5 hēkona te roa o te ataata, ka purei te oro mō ngā 3 hēkona tuatahi, kātahi ka noho wahangū mō ngā hēkona 2.
resolutionkōwhiringa
Momoenum
Taunoa1080p
720p1080p
Te taumira ataata putanga, 720p, 1080p rānei.
durationkōwhiringa
Momoenum
Taunoa5
51015
Te roa o te ataata putanga, i ngā hēkona; ko ngā kōwhiringa 5, 10, 15 hēkona.
negative_promptkōwhiringa
Momostring | null
Taunoa
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.
multi_shotskōwhiringa
Momoboolean
Taunoafalse
Ka whakahohea te wehewehenga atamai maha-anga ina true, ā, ka whakaputa i tētahi anga kotahi ina false. Ka whai pānga anake ina ko enable_prompt_expansion te True.
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/v2.6/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": "A comedic cinematic scene where the creator interacts with AI-generated reality transformations."
  },
  "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/v2.6/image-to-video.md. Ngā tauira me ngā aratohu katoa: https://doitong.com/developers/llms.txt