Peke ki ngā ihirangi

Wan 3.0 Reference to Video

Whakauru

id tauira alibaba/wan-3.0/reference-to-video
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://vit.doitong.com/api/v1/run/alibaba/wan-3.0/reference-to-video?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "The fox from Image 1 runs through the forest from Video 1 at night, fireflies everywhere",
    "resolution": "720p",
    "duration": 5,
    "images": [
      "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
    ]
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://vit.doitong.com/api/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Tēnei tono: $ 0.50 500 whiwhinga API Whakahaerehia ki tēnei whārangi

Tikina he kī API
Alibaba Tohutoro ki te Ataata Ororongo taketakeNgā tāuru tohutoro2–30 stae atu ki 1080p #audio#references#long-clips

Ka hanga i tētahi topenga Wan 3.0 2 ki te 30 hēkona mai i ngā whakaahua 10, ngā ataata 5 me ngā topenga oro 5 mōrahi.

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.

88 / 20000

Whakaahuatia me pēhea te whakauru i ngā pāpāho tohutoro, me te tautuhi i ia tohutoro mā tōna tūranga i roto i te tohutohu. Hei tauira: 'the subject in Image 1 walks past Video 1'.

reference_image_urls
Whakataka he kōnae, · tae atu ki 10

Ngā URL atahanga tohutoro, kaua e neke atu i te 10.

resolution

Te taumata taumira mō te ataata ka puta.

aspect_ratio taunoa adaptive

Te ōwehenga āhuatanga mō te putanga, me te kōwhiringa urutau e wātea ana.

Te roa o te putanga: mā te null e whakahohe te roanga atamai e hāngai ana ki te tohutohu me ngā pāpāho tohutoro; ki te kore, ka tautuhi te uara i tukuna i te maha o ngā hēkona.

Arā atu videos · audios · file_url · web_url · seed · generate_audio · enable_prompt_expansion · enable_thinking
reference_video_urls
Whakataka he kōnae, · tae atu ki 5

Tukuna ngā URL mō ngā topenga tohutoro e rere ana i te 16 fps neke atu rānei. Ka taea te 5 ataata mōrahi, kaua e nui ake i te 15 hēkona te roanga katoa.

reference_audio_urls
Whakataka he kōnae, · tae atu ki 5

Ngā URL ororongo tohutoro, kaua e neke atu i te 5, ā, kaua e nui ake i te 15 hēkona te roanga huinga.

Whakataka he kōnae,

URL o tētahi tuhinga hei pūtake mō te ataata. Me tautuhi enable_thinking ki true.

URL whārangi tukutuku hei pūtake mō te ataata, ka taea te pānui me te kore takiuru anake, ā, me enable_thinking=true.

POST /run/alibaba/wan-3.0/reference-to-video?wait=20 utu → $ 0.50
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://vit.doitong.com/api/v1/run/alibaba/wan-3.0/reference-to-video?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "The fox from Image 1 runs through the forest from Video 1 at night, fireflies everywhere",
    "resolution": "720p",
    "duration": 5,
    "images": [
      "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
    ]
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://vit.doitong.com/api/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 3.0 Reference to Video

Ka whakakotahi a Wan 3.0 reference-to-video i ngā atahanga tohutoro, ngā ataata tohutoro poto (15 hēkona te tapeke) me te ororongo tohutoro hei topenga kotahi; whakahuatia i te tohutohu mā te tūnga (Image 1, Video 1). Ina whakakā te hipanga whakaaro, ka taea hoki te whakatakoto i te ataata ki runga i tētahi tuhinga, whārangi tukutuku tūmatanui rānei. 480p ki te 1080p, 2 ki te 30 hēkona, me te ororongo whakaputaina hei taunoa.

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
promptkōwhiringa
Momostring | null
≤ 20,000 pūāhua
Whakaahuatia me pēhea te whakauru i ngā pāpāho tohutoro, me te tautuhi i ia tohutoro mā tōna tūranga i roto i te tohutohu. Hei tauira: 'the subject in Image 1 walks past Video 1'.
resolutionkōwhiringa
Momoenum
Taunoa1080p
480p720p1080p
Te taumata taumira mō te ataata ka puta.
aspect_ratiokōwhiringa
Momoenum
Taunoaadaptive
adaptive16:94:31:13:49:16
Te ōwehenga āhuatanga mō te putanga, me te kōwhiringa urutau e wātea ana.
durationkōwhiringa
Momointeger | null
Taunoa5
2 – 30
Te roa o te putanga: mā te null e whakahohe te roanga atamai e hāngai ana ki te tohutohu me ngā pāpāho tohutoro; ki te kore, ka tautuhi te uara i tukuna i te maha o ngā hēkona.
audiokōwhiringa generate_audio
Momoboolean
Taunoatrue
Ka whakahaere mēnā ka whakaurua te ororongo kua whakaputaina.
enable_prompt_expansionkōwhiringa
Momoboolean
Taunoatrue
Whakahaerehia mēnā ka tuhia anōtia te tohutohu mā te atamai i mua i te whakaputanga. Ki te mono koe i te tuhi anō, tērā pea ka heke te kounga, engari ka heke te wā tatari mā te takiwā o te 20–60 hēkona.
enable_thinkingkōwhiringa
Momoboolean
Taunoafalse
Ka whakahohe i ngā whakaaro tāpiri i mua i te tīmatanga o te whakaputanga.
seedkōwhiringa
Momointeger | null
0 – 2,147,483,647
reference_image_urlskōwhiringa images
Momourl[] · image
≤ 10 tūemi
Ngā URL atahanga tohutoro, kaua e neke atu i te 10.
reference_video_urlskōwhiringa videos
Momourl[] · video
≤ 5 tūemi
Tukuna ngā URL mō ngā topenga tohutoro e rere ana i te 16 fps neke atu rānei. Ka taea te 5 ataata mōrahi, kaua e nui ake i te 15 hēkona te roanga katoa.
reference_audio_urlskōwhiringa audios
Momourl[] · audio
≤ 5 tūemi
Ngā URL ororongo tohutoro, kaua e neke atu i te 5, ā, kaua e nui ake i te 15 hēkona te roanga huinga.
file_urlkōwhiringa
Momourl · file
URL o tētahi tuhinga hei pūtake mō te ataata. Me tautuhi enable_thinking ki true.
web_urlkōwhiringa
Momostring | null
URL whārangi tukutuku hei pūtake mō te ataata, ka taea te pānui me te kore takiuru anake, ā, me enable_thinking=true.
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": "alibaba/wan-3.0/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": 500,
    "usd": "0.50",
    "charged": 500,
    "refunded": 0
  },
  "input": {
    "prompt": "The fox from Image 1 runs through the forest from Video 1 at night, fireflies everywhere",
    "images": [
      "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
    ],
    "duration": 5,
    "resolution": "720p"
  },
  "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,
    "duration": 5,
    "actual_prompt": "string"
  },
  "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://vit.doitong.com/api/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://vit.doitong.com/api/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 i whakaputaina.
seed
integerTe uara kākano i whakamahia i te whakaputanga.
duration
numberTe roa o te ataata kua whakaputaina, kua inehia ki ngā hēkona.
actual_prompt
string | null

Ē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/alibaba/wan-3.0/reference-to-video.md. Ngā tauira me ngā aratohu katoa: https://doitong.com/developers/llms.txt