שפּרינגען צו אינהאַלט

Wan 3.0 Reference to Video

אינטעגרירן

מאָדעל־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"

דער דאָזיקער ריקוועסט: ⁨$ 0.50⁩ 500 API־קרעדיטן לויפֿן עס אויף דער דאָזיקער בלאַט

באַקומען אַן API שליסל
Alibaba רעפֿערענץ צו ווידעא געבוירענער אַודיאָרעפֿערענץ־אײַנגאַבעס2–30 sביז 1080p #audio#references#long-clips

בויט אַ 2 ביז 30 סעקונדעסדיקן Wan 3.0 קליפּ פֿון ביז 10 בילדער, 5 ווידעאָס און 5 אַודיאָ־קליפּס.

געמאַכט אויף Doitong

עפֿנטלעכע ווערק געמאַכט מיט Wan 3.0 פֿון דער Doitong קהילה. ניצט אַ פּינטלעך מיט איין קליק.

געוויזענע עפֿנטלעכע ווערק: 5
Create a highly realistic UGC-style smartphone video inside a modern commercial airplane during a... ווידעא

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... ווידעא

**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... ווידעא

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... ווידעא

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... ווידעא

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

בויען אַ בעטן

קאָנטראָלן ווערן דזשענערירט פֿון דעם מאָדעל־סכעמע. דער קאָד און דער פּרײַז דערהײַנטיקן זיך ווען איר ענדערט זיי.

88 / 20000

באַשרײַבט ווי צו אינטעגרירן די רעפֿערענץ־מעדיאַ, און אידענטיפיצירט יחיד־רעפֿערענצן לויט זייער פּאָזיציע אינעם פּראָמפּט. למשל: 'the subject in Image 1 walks past Video 1'.

reference_image_urls
לייגט אַרײַן אַ טעקע, אָדער · ביז 10

רעפֿערענץ־בילד־URLs, מיט אַ מאַקסימום פון 10.

resolution

רעזולטאַט־ווידעא־רעזאָלוציע־קאַטעגאָריע.

aspect_ratio סטאַנדאַרט adaptive

אַספּעקט־פאַרהעלטעניש פֿאַר דעם רעזולטאַט, מיט אַדאַפּטיווער אויסקלייבונג.

רעזולטאַט־לענג: null דערמעגלעכט אַ קלוגע געדויער לויטן פּראָמפּט און רעפֿערענץ־מעדיאַ; אַנדערש באַשטימט דער צוגעשטעלטער ווערט סעקונדעס.

פֿאָרגעשריטן videos · audios · file_url · web_url · seed · generate_audio · enable_prompt_expansion · enable_thinking
reference_video_urls
לייגט אַרײַן אַ טעקע, אָדער · ביז 5

צושטעלט URLs פֿאַר רעפֿערענץ־קליפּס וואָס לויפן מיט 16 fps אָדער העכער. דער זאַץ קען אַנטהאַלטן ביז 5 ווידעאָס, מיט נישט מער ווי 15 סעקונדעס מאַטעריאַל אינגאַנצן.

reference_audio_urls
לייגט אַרײַן אַ טעקע, אָדער · ביז 5

רעפֿערענץ־אַודיאָ־URLs, באַגרענעצט צו 5 מיט אַ צוזאַמענגעשטעלטן געדויער פון נישט מער ווי 15 סעקונדעס.

לייגט אַרײַן אַ טעקע, אָדער

URL פון אַ דאָקומענט וואָס ווערט גענוצט ווי דער יסוד פֿאַר דער ווידעא. פארלאנגט enable_thinking צו זײַן true.

וועבזײַטל־URL וואָס ווערט גענוצט ווי דער יסוד פון דער ווידעא, לייענבאַר בלויז אָן אַ לאָגין און בלויז ווען enable_thinking=true.

POST /run/alibaba/wan-3.0/reference-to-video?wait=20 פּרײַז → ⁨$ 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"

לויפֿן דעם ריקוועסט

אײַער key בלײַבט אין דעם בלעטערער: זי ווערט געשיקט נאָר צום Doitong API און אָפּגעהיט (localStorage) נאָר אויב איר טיקט אָן געדענקען. באַקומען אַן API שליסל

וועגן Wan 3.0 Reference to Video

Wan 3.0 reference-to-video פֿאַראייניקט רעפֿערענץ־בילדער, קורצע רעפֿערענץ־ווידעאָס (15 סעקונדעס אינגאַנצן) און רעפֿערענץ־אַודיאָ אין איין גענערירטן קליפּ; רופֿט זיי אָן אינעם פּראָמפּט לויט פּאָזיציע (Image 1, Video 1). מיטן רעזאָניר־שריט קען עס אויך באַזירן דעם ווידעא אויף אַ דאָקומענט אָדער אַ פּובליקער וועב־בלאַט. 480p ביז 1080p, 2 ביז 30 סעקונדעס, גענערירט אַודיאָ דורך סטאַנדאַרט.

פּאַראַמעטערס

שיקט אָדער דעם קאַנאָנישן נאָמען אָדער דעם נאַטיוון נאָמען, נישט ביידע. קאַנאָנישע נעמען

נאָמעןטיפּ סטאַנדאַרטערלויבט באַשרײַבונג
promptאָפּציאָנעל
טיפּstring | null
≤ 20,000 כאַראַקטערן
באַשרײַבט ווי צו אינטעגרירן די רעפֿערענץ־מעדיאַ, און אידענטיפיצירט יחיד־רעפֿערענצן לויט זייער פּאָזיציע אינעם פּראָמפּט. למשל: 'the subject in Image 1 walks past Video 1'.
resolutionאָפּציאָנעל
טיפּenum
סטאַנדאַרט1080p
480p720p1080p
רעזולטאַט־ווידעא־רעזאָלוציע־קאַטעגאָריע.
aspect_ratioאָפּציאָנעל
טיפּenum
סטאַנדאַרטadaptive
adaptive16:94:31:13:49:16
אַספּעקט־פאַרהעלטעניש פֿאַר דעם רעזולטאַט, מיט אַדאַפּטיווער אויסקלייבונג.
durationאָפּציאָנעל
טיפּinteger | null
סטאַנדאַרט5
2 – 30
רעזולטאַט־לענג: null דערמעגלעכט אַ קלוגע געדויער לויטן פּראָמפּט און רעפֿערענץ־מעדיאַ; אַנדערש באַשטימט דער צוגעשטעלטער ווערט סעקונדעס.
audioאָפּציאָנעל generate_audio
טיפּboolean
סטאַנדאַרטtrue
קאָנטראָלירט צי גענערירטער אַודיאָ ווערט אַרײַנגענומען.
enable_prompt_expansionאָפּציאָנעל
טיפּboolean
סטאַנדאַרטtrue
קאָנטראָלירט צי דער פּראָמפּט ווערט אינטעליגענט איבערגעשריבן איידער גענערירונג. אויב מען דיסייבלט איבערשרײַבונג, ערוואַרט אַ מסתּמאדיקן קוואַליטעט־פאַרקלענערונג אין אויסטויש פֿאַר בערך 20–60 סעקונדעס ווייניקער לאַטענץ.
enable_thinkingאָפּציאָנעל
טיפּboolean
סטאַנדאַרטfalse
דערמעגלעכט נאָך־ריזאַנינג איידער גענערירונג הייבט אָן.
seedאָפּציאָנעל
טיפּinteger | null
0 – 2,147,483,647
reference_image_urlsאָפּציאָנעל images
טיפּurl[] · image
≤ 10 ייטעמס
רעפֿערענץ־בילד־URLs, מיט אַ מאַקסימום פון 10.
reference_video_urlsאָפּציאָנעל videos
טיפּurl[] · video
≤ 5 ייטעמס
צושטעלט URLs פֿאַר רעפֿערענץ־קליפּס וואָס לויפן מיט 16 fps אָדער העכער. דער זאַץ קען אַנטהאַלטן ביז 5 ווידעאָס, מיט נישט מער ווי 15 סעקונדעס מאַטעריאַל אינגאַנצן.
reference_audio_urlsאָפּציאָנעל audios
טיפּurl[] · audio
≤ 5 ייטעמס
רעפֿערענץ־אַודיאָ־URLs, באַגרענעצט צו 5 מיט אַ צוזאַמענגעשטעלטן געדויער פון נישט מער ווי 15 סעקונדעס.
file_urlאָפּציאָנעל
טיפּurl · file
URL פון אַ דאָקומענט וואָס ווערט גענוצט ווי דער יסוד פֿאַר דער ווידעא. פארלאנגט enable_thinking צו זײַן true.
web_urlאָפּציאָנעל
טיפּstring | null
וועבזײַטל־URL וואָס ווערט גענוצט ווי דער יסוד פון דער ווידעא, לייענבאַר בלויז אָן אַ לאָגין און בלויז ווען enable_thinking=true.
פארלאנגט קאַנאָנישער נאָמען, אויך אַקצעפּטירט

טעקע־פּאַראַמעטערס נעמען אַן עפֿנטלעכע https:// URL, אַ data: URI ביז 10 MB, אָדער דעם file_url פֿון אַן אַרויפֿלאָד. טעקעס

אויסגאַבע

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"
  }
}
אייער טעקעס, אייער ברירהיעדער outputs[].url איז אַ קאַפּיע אין אונדזער סטאָרידזש: געהאַלטן אויף אייביק (באַצאָלט פּער GB־חודש) אָדער 7 טעג אומזיסט, לויט אײַער חשבון־באַשטעטיקונג אָדער ?storage=.
דער זעלבער פֿאָרעם בײַ יעדן מאָדעלtype, url, content_type, width, height און duration, סײַ פֿאַר בילדער, ווידעאָ און אַודיאָ. output איז דער אייגענער רעזולטאַט־אָביעקט פֿון מאָדעל.
פֿעלדער פֿון דער אויסגאַבע
video
object {url, content_type, file_name, file_size, width, height, fps, duration, num_frames}ווידעא־פֿײַל געשאַפֿן דורך גענערירונג.
seed
integerסיד־ווערט וואָס ווערט געווענדט בעת גענערירונג.
duration
numberלענג פון דער גענערירטער ווידעא, געמאסטן אין סעקונדעס.
actual_prompt
string | null

מער מאָדעלן: רעפֿערענץ צו ווידעא

פֿאַר AI־אַגענטן: דער בלאַט ווי Markdown געפֿינט זיך בײַ https://doitong.com/yi/developers/models/alibaba/wan-3.0/reference-to-video.md. אַלע מאָדעלן און גוידעס: https://doitong.com/developers/llms.txt