Leum chun t-susbaint

Wan 3.0 Reference to Video

Amalaich

ID a’ mhodail 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"

An t-iarrtas seo: $0.50 500 creideasan API Ruith e air an duilleig seo

Faigh iuchair API
Alibaba Iomradh gu Bhidio Fuaim dùthchasachIn-chuir iomraidh2–30 ssuas ri 1080p #audio#references#long-clips

A’ togail criomag Wan 3.0 2 gu 30 diog bho suas ri 10 ìomhaighean, 5 bhideothan agus 5 criomagan fuaim.

Air a dhèanamh air Doitong

Obraichean poblach a rinn coimhearsnachd Doitong le Wan 3.0. Ath-chleachd prompt ann an aon bhriogadh.

Obraichean poblach air an sealltainn: 5
Create a highly realistic UGC-style smartphone video inside a modern commercial airplane during a... Bhidio

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

**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... Bhidio

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

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

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

Tog iarrtas

Tha na smachdan air an cruthachadh bho sgeama a’ mhodail. Bidh an còd agus a’ phrìs ag ùrachadh fhad ’s a dh’atharraicheas tu iad.

88 / 20000

Mìnich mar a thèid na meadhanan iomraidh a ghabhail a-steach, a’ comharrachadh gach iomradh fa leth a rèir a shuidheachaidh sa phrompt. Mar eisimpleir: 'the subject in Image 1 walks past Video 1'.

reference_image_urls
Leig às faidhle, no · suas ri 10

URLan ìomhaighean iomraidh, 10 aig a’ char as motha.

resolution

Ìre dùmhlachd-bhreacaidh airson a’ bhidio a thig às.

aspect_ratio bun-roghainn adaptive

Co-mheas taobh an às-chuir, le taghadh atharrachail ri fhaighinn.

Fad an às-chuir: bidh null a’ comasachadh fad tuigseach stèidhichte air a’ phrompt agus na meadhanan iomraidh; air dhòigh eile, sònraichidh an luach a chaidh a solar an àireamh de dhiogan.

Adhartach videos · audios · file_url · web_url · seed · generate_audio · enable_prompt_expansion · enable_thinking
reference_video_urls
Leig às faidhle, no · suas ri 5

Solar URLan airson criomagan iomraidh a’ ruith aig 16 fps no nas àirde. Faodaidh suas ri 5 bhidio a bhith san t-seata, le 15 diog de dhealbhan uile gu lèir aig a’ char as motha.

reference_audio_urls
Leig às faidhle, no · suas ri 5

URLan claisneachd iomraidh, cuibhrichte gu 5 le fad iomlan nach eil nas motha na 15 diog.

Leig às faidhle, no

URL sgrìobhainn a thèid a chleachdadh mar bhunait a’ bhidio. Feumaidh enable_thinking a bhith true.

URL duilleig-lìn a thèid a chleachdadh mar bhunait a’ bhidio, ri leughadh dìreach gun logadh a-steach agus dìreach le enable_thinking=true.

POST /run/alibaba/wan-3.0/reference-to-video?wait=20 tuairmse → $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"

Ruith an t-iarrtas seo

Fuirichidh an iuchair agad sa bhrobhsair seo: thèid a cur chun Doitong API a-mhàin agus a sàbhaladh (localStorage) a-mhàin ma chuireas tu comharra ri Cuimhnich. Faigh iuchair API

Mu Wan 3.0 Reference to Video

Bidh Wan 3.0 reference-to-video a’ cothlamadh ìomhaighean iomraidh, bhideothan iomraidh goirid (15 diog uile gu lèir) agus fuaim iomraidh ann an aon chriomag gineadh; thoir iomradh orra sa prompt a rèir an t-suidheachaidh (Image 1, Video 1). Leis a’ cheum reusanachaidh air, faodaidh e am bhidio a stèidheachadh air sgrìobhainn no duilleag-lìn phoblach cuideachd. 480p gu 1080p, 2 gu 30 dioT, fuaim gineadh gu bunaiteach.

Paramadairean

Cuir an t-ainm canonical no an t-ainm dùthchasach, chan e an dà chuid. Ainmean canonical

AinmSeòrsa Bun-roghainnCeadaichte Tuairisgeul
promptroghainneil
Seòrsastring | null
≤ 20,000 caractar
Mìnich mar a thèid na meadhanan iomraidh a ghabhail a-steach, a’ comharrachadh gach iomradh fa leth a rèir a shuidheachaidh sa phrompt. Mar eisimpleir: 'the subject in Image 1 walks past Video 1'.
resolutionroghainneil
Seòrsaenum
Bun-roghainn1080p
480p720p1080p
Ìre dùmhlachd-bhreacaidh airson a’ bhidio a thig às.
aspect_ratioroghainneil
Seòrsaenum
Bun-roghainnadaptive
adaptive16:94:31:13:49:16
Co-mheas taobh an às-chuir, le taghadh atharrachail ri fhaighinn.
durationroghainneil
Seòrsainteger | null
Bun-roghainn5
2 – 30
Fad an às-chuir: bidh null a’ comasachadh fad tuigseach stèidhichte air a’ phrompt agus na meadhanan iomraidh; air dhòigh eile, sònraichidh an luach a chaidh a solar an àireamh de dhiogan.
audioroghainneil generate_audio
Seòrsaboolean
Bun-roghainntrue
A’ cumail smachd air an tèid claisneachd a chaidh a ghineadh a ghabhail a-steach.
enable_prompt_expansionroghainneil
Seòrsaboolean
Bun-roghainntrue
Cum smachd air an tèid am prompt ath-sgrìobhadh gu tuigseach ro ghineadh. Ma chuireas tu an ath-sgrìobhadh à comas, bi an dùil ri lùghdachadh dualtach ann an càileachd mar mhalairt air mu 20–60 diog nas lugha de dhàil.
enable_thinkingroghainneil
Seòrsaboolean
Bun-roghainnfalse
A’ comasachadh reusanachadh a bharrachd mus tòisich gineadh.
seedroghainneil
Seòrsainteger | null
0 – 2,147,483,647
reference_image_urlsroghainneil images
Seòrsaurl[] · image
≤ 10 nì
URLan ìomhaighean iomraidh, 10 aig a’ char as motha.
reference_video_urlsroghainneil videos
Seòrsaurl[] · video
≤ 5 nì
Solar URLan airson criomagan iomraidh a’ ruith aig 16 fps no nas àirde. Faodaidh suas ri 5 bhidio a bhith san t-seata, le 15 diog de dhealbhan uile gu lèir aig a’ char as motha.
reference_audio_urlsroghainneil audios
Seòrsaurl[] · audio
≤ 5 nì
URLan claisneachd iomraidh, cuibhrichte gu 5 le fad iomlan nach eil nas motha na 15 diog.
file_urlroghainneil
Seòrsaurl · file
URL sgrìobhainn a thèid a chleachdadh mar bhunait a’ bhidio. Feumaidh enable_thinking a bhith true.
web_urlroghainneil
Seòrsastring | null
URL duilleig-lìn a thèid a chleachdadh mar bhunait a’ bhidio, ri leughadh dìreach gun logadh a-steach agus dìreach le enable_thinking=true.
riatanach Ainm canonical, gabhar ris cuideachd

Gabhaidh paramadairean faidhle ri URL poblach https://, URI data: suas ri 10 MB, no file_url de luchdachadh suas. Faidhlichean

Toradh

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"
  }
}
Na faidhlichean agad, do roghainnTha gach outputs[].url na lethbhreac air an stòradh againn: air a chumail gu bràth (air a phàigheadh gach GB-mìos) no 7 latha an-asgaidh, a rèir suidheachadh a’ chunntais agad no ?storage=.
An aon chruth air gach modailtype, url, content_type, width, height agus duration, airson dealbhan, bhidio agus fuaim le chèile. ’S e output nì toraidh a’ mhodail fhèin.
Raointean toraidh
video
object {url, content_type, file_name, file_size, width, height, fps, duration, num_frames}Faidhle bhidio a chaidh a chruthachadh le gineadh.
seed
integerLuach sìl a chaidh a chur an sàs rè gineadh.
duration
numberFad a’ bhidio a chaidh a ghineadh, air a thomhas ann an diogan.
actual_prompt
string | null

Barrachd mhodalan: Iomradh gu Bhidio

Do riochdairean AI: tha an duilleag seo mar Markdown aig https://doitong.com/gd/developers/models/alibaba/wan-3.0/reference-to-video.md. Na modailean agus na treòraichean uile: https://doitong.com/developers/llms.txt