Pāriet uz saturu

Wan 3.0 Reference to Video

Integrēt

Modeļa id 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://api.doitong.com/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://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Šis pieprasījums: 0,50 $ 500 API kredītu Izpildīt šajā lapā

Iegūt API atslēgu
Alibaba Atsauce uz video Vietējais audioAtsauču ievades2–30 slīdz 1080p #references#long-clips

Izveido 2 līdz 30 sekunžu Wan 3.0 klipu no līdz 10 attēliem, 5 video un 5 audio klipiem.

Izveidots vietnē Doitong

Doitong kopienas publiskie darbi, kas izveidoti ar Wan 3.0. Izmantojiet uzvedni atkārtoti ar vienu klikšķi.

Rādīti publiskie darbi: 5
Create a highly realistic UGC-style smartphone video inside a modern commercial airplane during a... Video

Create a highly realistic UGC-style smartphone video inside a modern commercial airplane during a daytime flight. Natural cabin lighting, subtle handheld camera movement, authentic airplane ambience, realistic passengers and natural acting. The video must feel like a real spontaneous phone...

**SORA 2 PROMPT — 20 seconds, vertical 9:16** Create a highly realistic UGC-style smartphone vide... Video

**SORA 2 PROMPT — 20 seconds, vertical 9:16** Create a highly realistic UGC-style smartphone video inside a modern commercial airplane during a daytime flight. Natural cabin lighting, subtle handheld camera movement, authentic airplane ambience, realistic passengers and natural acting. The video...

Create a realistic cinematic 20-second video, filmed like a high-budget modern commercial with na... Video

Create a realistic cinematic 20-second video, filmed like a high-budget modern commercial with natural acting, realistic lighting and believable facial expressions. All dialogue is spoken naturally in French. **SCENE 1 — EXPENSIVE RESTAURANT, EVENING — 0–5 sec** A young man in his late 20s is...

Create a realistic cinematic UGC-style commercial video, exactly 30 seconds long. The entire scen... Video

Create a realistic cinematic UGC-style commercial video, exactly 30 seconds long. The entire scene takes place inside a modern passenger airplane during a daytime flight. Natural smartphone-like cinematography, realistic airplane cabin, authentic passengers, natural lighting, realistic skin...

TITLE: Santa's Secret Christmas Selfie with Dasha 🎄 VIDEO FORMAT: 15–20 seconds, vertical 9:16, c... Video

TITLE: Santa's Secret Christmas Selfie with Dasha 🎄 VIDEO FORMAT: 15–20 seconds, vertical 9:16, cinematic Christmas short film, high-quality realistic 3D animation. REFERENCE IMAGE — DASHA_001 Use the uploaded image as the exact character reference for Dasha. Preserve her recognizable face,...

Izveidot pieprasījumu

Vadīklas tiek ģenerētas no modeļa shēmas. Kods un cena tiek atjaunināti, kad tos maināt.

88 / 20000

Aprakstiet, kā iekļaut atsauces multividi, uzvednē identificējot katru atsauci pēc pozīcijas. Piemēram: 'the subject in Image 1 walks past Video 1'.

reference_image_urls
Nometiet failu vai · līdz 10

Atsauces attēlu URL, ne vairāk kā 10.

resolution

Iegūtā video izšķirtspējas līmenis.

aspect_ratio noklusējums adaptive

Izvades malu attiecība ar adaptīvas izvēles iespēju.

Izvades garums: null iespējo viedo ilgumu, kas balstīts uz uzvedni un atsauces multividi; pretējā gadījumā norādītā vērtība nosaka sekundes.

Papildu videos · audios · file_url · web_url · seed · generate_audio · enable_prompt_expansion · enable_thinking
reference_video_urls
Nometiet failu vai · līdz 5

Norādiet atsauces klipu URL ar ātrumu 16 fps vai lielāku. Kopa var saturēt līdz 5 video, kuru kopējais ilgums nepārsniedz 15 sekundes.

reference_audio_urls
Nometiet failu vai · līdz 5

Atsauces audio URL, ne vairāk kā 5, ar kopējo ilgumu līdz 15 sekundēm.

Nometiet failu vai

Dokumenta URL, kas izmantots par video pamatu. enable_thinking jābūt true.

Tīmekļa lapas URL, kas izmantots par video pamatu; lapai jābūt nolasāmai bez pieteikšanās un tikai ar enable_thinking=true.

POST /run/alibaba/wan-3.0/reference-to-video?wait=20 cena → 0,50 $
# 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/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://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Palaist šo pieprasījumu

Jūsu atslēga paliek šajā pārlūkprogrammā: tā tiek nosūtīta tikai uz Doitong API un saglabāta (localStorage) tikai tad, ja atzīmējat Atcerēties. Iegūt API atslēgu

Par Wan 3.0 Reference to Video

Wan 3.0 reference-to-video apvieno atsauces attēlus, īsus atsauces video (kopā 15 sekundes) un atsauces audio vienā ģenerētā klipā; uzvednē atsaucieties uz tiem pēc pozīcijas (Image 1, Video 1). Ieslēdzot spriešanas soli, video var balstīt arī uz dokumentu vai publisku tīmekļa lapu. 480p līdz 1080p, 2 līdz 30 sekundes, pēc noklusējuma ar ģenerētu audio.

Parametri

Nosūti vai nu kanonisko nosaukumu, vai vietējo nosaukumu, bet ne abus. Kan啤niskie nosaukumi

NosaukumsTips NoklusējumsAtļauts Apraksts
promptneobligāts
Tipsstring | null
≤ 20 000 rakstzīmju
Aprakstiet, kā iekļaut atsauces multividi, uzvednē identificējot katru atsauci pēc pozīcijas. Piemēram: 'the subject in Image 1 walks past Video 1'.
resolutionneobligāts
Tipsenum
Noklusējums1080p
480p720p1080p
Iegūtā video izšķirtspējas līmenis.
aspect_rationeobligāts
Tipsenum
Noklusējumsadaptive
adaptive16:94:31:13:49:16
Izvades malu attiecība ar adaptīvas izvēles iespēju.
durationneobligāts
Tipsinteger | null
Noklusējums5
2 – 30
Izvades garums: null iespējo viedo ilgumu, kas balstīts uz uzvedni un atsauces multividi; pretējā gadījumā norādītā vērtība nosaka sekundes.
audioneobligāts generate_audio
Tipsboolean
Noklusējumstrue
Nosaka, vai tiek iekļauts ģenerētais audio.
enable_prompt_expansionneobligāts
Tipsboolean
Noklusējumstrue
Nosaka, vai uzvedne pirms ģenerēšanas tiek gudri pārrakstīta. Atspējojot pārrakstīšanu, paredzama kvalitātes samazināšanās, taču aizkave samazinās aptuveni par 20–60 sekundēm.
enable_thinkingneobligāts
Tipsboolean
Noklusējumsfalse
Iespējo papildu spriešanu pirms ģenerēšanas sākuma.
seedneobligāts
Tipsinteger | null
0 – 2 147 483 647
reference_image_urlsneobligāts images
Tipsurl[] · image
≤ 10 vienumu
Atsauces attēlu URL, ne vairāk kā 10.
reference_video_urlsneobligāts videos
Tipsurl[] · video
≤ 5 vienumi
Norādiet atsauces klipu URL ar ātrumu 16 fps vai lielāku. Kopa var saturēt līdz 5 video, kuru kopējais ilgums nepārsniedz 15 sekundes.
reference_audio_urlsneobligāts audios
Tipsurl[] · audio
≤ 5 vienumi
Atsauces audio URL, ne vairāk kā 5, ar kopējo ilgumu līdz 15 sekundēm.
file_urlneobligāts
Tipsurl · file
Dokumenta URL, kas izmantots par video pamatu. enable_thinking jābūt true.
web_urlneobligāts
Tipsstring | null
Tīmekļa lapas URL, kas izmantots par video pamatu; lapai jābūt nolasāmai bez pieteikšanās un tikai ar enable_thinking=true.
obligāts Kan啤niskais nosaukums, arī pieņemts

Failu parametriem nepieciešams publisks https:// URL, data: URI līdz 10 MB vai augšupielādes file_url. Faili

Izvade

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://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
Jūsu faili, jūsu izvēleKatrs outputs[].url ir kopija mūsu krātuvē: tiek glabāta mūžīgi (maksa par GB mēnesī) vai 7 dienas bez maksas — atbilstoši konta iestatījumam vai ?storage=.
Vienāda struktūra katram modelimtype, url, content_type, width, height un duration gan attēliem, gan video un audio. output ir paša modeļa rezultāta objekts.
Izvades lauki
video
object {url, content_type, file_name, file_size, width, height, fps, duration, num_frames}Ģenerēšanas rezultātā iegūtais video fails.
seed
integerĢenerēšanas laikā lietotā sēklas vērtība.
duration
numberĢenerētā video garums sekundēs.
actual_prompt
string | null

Vairāk modeļu: Atsauce uz video

AI aģentiem: šī lapa Markdown formātā ir pieejama https://doitong.com/lv/developers/models/alibaba/wan-3.0/reference-to-video.md. Visi modeļi un ceļveži: https://doitong.com/developers/llms.txt