Peke ki ngā ihirangi

Wan 3.0 Prime · Reference to Video

Whakauru

id tauira alibaba/wan-3.0-prime/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.ru/v1/run/alibaba/wan-3.0-prime/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"
  }'

# 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: $ 1.40 1,400 whiwhinga API · ≈ ₽ 150.61 Whakahaerehia ki tēnei whārangi

Tikina he kī API
Alibaba Tohutoro ki te Ataata Ngā tāuru tohutoro2–30 stae atu ki 1080p #reference#video

Whakaahua-tohutoro-ki-te-ataata ā-maha-aratau mā te 10 whakaahua, 5 topenga me ngā kōnae oro 5, 2-30 hēkona

I hangaia ki Doitong

Ngā mahi tūmatanui i hangaia ki Wan 3.0 Prime 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.

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'.

resolution taunoa 1080p

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.

taunoa 5

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 images · reference_video_urls · reference_audio_urls · file_url · web_url · seed · audio · enable_prompt_expansion · enable_thinking · enable_safety_checker
reference_image_urls
Whakataka he kōnae, · tae atu ki 10

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

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.

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-prime/reference-to-video?wait=20 utu → $ 1.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/alibaba/wan-3.0-prime/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"
  }'

# 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 3.0 Prime · Reference to Video

Ka hanga ataata mai i ngā whakaahua tohutoro (tae atu ki te 10), ngā ataata (tae atu ki te 5, 15 hēkona te tapeke) me te oro (tae atu ki te 5, 15 hēkona te tapeke), ka tohutohungia ā-tūranga i roto i tētahi `prompt` tae atu ki te 20,000 pūāhua. Ko te roanga he 2-30 hēkona, he smart length rānei, ko te taumira he 480p, 720p, 1080p rānei, ā, ka taea te urutau te ōwehenga āhuatanga. Me whai `enable_thinking` ngā pūtake `file_url` me `web_url`.

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
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
enable_safety_checkerkōwhiringa
Momoboolean
Taunoatrue
Te āta tirotiro i te tāuru me te putanga, ka whakatinanahia ki ia tono ki te kore e whai mana te pūkete ki te whakakore, ā, kua whakawetohia te kōwhiringa.
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
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
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-prime/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": 1400,
    "usd": "1.40",
    "charged": 1400,
    "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,
      "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://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 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-prime/reference-to-video.md. Ngā tauira me ngā aratohu katoa: https://doitong.com/developers/llms.txt