Peke ki ngā ihirangi

Wan v2.6 Reference to Video

Whakauru

id tauira wan/v2.6/reference-to-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/wan/v2.6/reference-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",
    "videos": [
      "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"

Tēnei tono: $ 0.75 750 whiwhinga API Whakahaerehia ki tēnei whārangi

Tikina he kī API
Alibaba Tohutoro ki te Ataata Ngā tāuru tohutoro5–10 stae atu ki 1080p #reference-to-video

He whakaputanga ataata e pupuri ana i ngā kaupapa mai i ngā ataata tohutoro 1 ki te 3, ka tohutohua hei @Video1 ki @Video3

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

He tohutohu tae atu ki te 1500 pūāhua, ka tautuhia ngā kaupapa ataata mā @Video1, @Video2, @Video3; he tāngata, he kararehe, he mea rānei ngā kaupapa. Ka whakamahi ngā tohutohu maha-anga i tēnei momo: '[0-3s] Shot 1. [3-6s] Shot 2.'

•e hiahiatia ana video_urls
Whakataka he kōnae,

Whakaratohia 1–3 ataata tohutoro hei pupuri i te ōritetanga o ngā kaupapa, tae atu ki ngā tāngata, kararehe, mea rānei, ā, tautuhia ki te tohutohu mā @Video1, @Video2, @Video3. Me 16 FPS neke atu ia ataata, kia 2 ki te 30 hēkona te roa, ā, kaua e nui ake i te 100 MB.

duration 5 s

Tautuhia te roa o te ataata kua whakaputaina, i ngā hēkona. Mō R2V, kōwhiria 5, 10 hēkona rānei; kāore te 15 hēkona e tautokona.

aspect_ratio taunoa 16:9

Āwehenga āhuatanga mō te ataata putanga.

resolution taunoa 1080p

Te taumata taumira mō te putanga ataata; ka whakaae a R2V ki te 720p, 1080p rānei, engari kāore ki te 480p.

Arā atu negative_prompt · 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.

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/reference-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.com/v1/run/wan/v2.6/reference-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",
    "videos": [
      "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ō Wan v2.6 Reference to Video

Ka whakaputa i tētahi topenga nā ngā kaupapa (tāngata, kararehe, taonga rānei) nō ngā ataata 1 ki te 3 kei `video_urls`, ā, me 16 FPS neke atu ia ataata. Ka whakahua te tohutohu i a rātou ko @Video1, @Video2 me @Video3, ā, ka taea te whakaahua i ngā anga kua wāhitia. E rima ngā kōwhiringa a `aspect_ratio`, ko `resolution` he 720p, he 1080p rānei, ā, ko `duration` he 5, he 10 hēkona rānei.

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
He tohutohu tae atu ki te 1500 pūāhua, ka tautuhia ngā kaupapa ataata mā @Video1, @Video2, @Video3; he tāngata, he kararehe, he mea rānei ngā kaupapa. Ka whakamahi ngā tohutohu maha-anga i tēnei momo: '[0-3s] Shot 1. [3-6s] Shot 2.'
video_urlse hiahiatia ana videos
Momourl[] · video
Whakaratohia 1–3 ataata tohutoro hei pupuri i te ōritetanga o ngā kaupapa, tae atu ki ngā tāngata, kararehe, mea rānei, ā, tautuhia ki te tohutohu mā @Video1, @Video2, @Video3. Me 16 FPS neke atu ia ataata, kia 2 ki te 30 hēkona te roa, ā, kaua e nui ake i te 100 MB.
aspect_ratiokōwhiringa
Momoenum
Taunoa16:9
16:99:161:14:33:4
Āwehenga āhuatanga mō te ataata putanga.
resolutionkōwhiringa
Momoenum
Taunoa1080p
720p1080p
Te taumata taumira mō te putanga ataata; ka whakaae a R2V ki te 720p, 1080p rānei, engari kāore ki te 480p.
durationkōwhiringa
Momoenum
Taunoa5
510
Tautuhia te roa o te ataata kua whakaputaina, i ngā hēkona. Mō R2V, kōwhiria 5, 10 hēkona rānei; kāore te 15 hēkona e tautokona.
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
Taunoatrue
Te whakahaere wehewehenga anga, e wātea ana ina tautuhia enable_prompt_expansion ki True anake. Mā te taunoa true e whakamahi te wehewehenga atamai hei hanga kōrero taurite puta noa i ngā anga; mā false e pupuri te ataata hei anga kotahi haere tonu.
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/reference-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",
    "video_urls": [
      "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,
      "width": 1024,
      "height": 768,
      "fps": 1.0,
      "duration": 5,
      "num_frames": 1
    },
    "seed": 42,
    "actual_prompt": "Dance battle between Character1 and Character2, cinematic lighting, dynamic camera movement."
  },
  "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, 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: Tohutoro 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/reference-to-video.md. Ngā tauira me ngā aratohu katoa: https://doitong.com/developers/llms.txt