Dža ko lil

Wan 3.0 Reference to Video

Integriruj

Modelosko 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.ru/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.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Kava mangipen: $0.50 500 API krediti · ≈ ₽53.79 Phir les kate

Lel API klidin
Alibaba Referenca ko Video Naturalo audioReferencaki inputura2–30 sdži 1080p #references#long-clips

Kerdel 2 dži 30-sekundengo Wan 3.0 klipo dži 10 fotografijatar, 5 videjotar thaj 5 audio-klipendar.

Kerdo pe Doitong

Publikane khera kerde Wan 3.0-sa e Doitong komunitetostar. Pheripen jekh prompto ande jekh klik.

Sikade publikane kerimata: 2
Создай 30-секундный обучающий музыкальный ролик для детей 3–5 лет. Тема: транспорт. Яркая 2D-аним... Video

Создай 30-секундный обучающий музыкальный ролик для детей 3–5 лет. Тема: транспорт. Яркая 2D-анимация, весёлый водитель в кепке, крупные машины, пастельные цвета. 0:00–0:10 приветствие под музыку; 0:10–0:30 песенка: "Машина едет би-би, би-би", "Поезд едет ту-ту, ту-ту". Бодрая детская музыка...

Создай 30-секундный обучающий музыкальный ролик для детей 3–5 лет. Тема: транспорт. Яркая 2D-аним... Video

Создай 30-секундный обучающий музыкальный ролик для детей 3–5 лет. Тема: транспорт. Яркая 2D-анимация, тот же весёлый водитель в кепке, самолёт. 0:00–0:15 песенка: "Самолёт летит вж-ж-ж, вж-ж-ж"; 0:15–0:25 интерактивная пауза: водитель спрашивает "Как гудит машина?", пауза; 0:25–0:30 финальный...

Ker jekh mangipen

O kontrolura kerde si katar e schemaske. O kodo thaj e cena menjinen sar tu len menjines.

88 / 20000

Opisaren sar te inkorporisaren e referenciako media, identifikisaren jekh-jekh referencija palal lesqi pozicia ande prompto. Misal: 'the subject in Image 1 walks past Video 1'.

reference_image_urls
Čhiv jekh fajl, vaj · dži 10

Referenciako kipoqe URL, maximum 10.

resolution

Rezoluciaki klasa e rezultato videoqe.

aspect_ratio standardno adaptive

Aspect ratio vaš rezultato, adaptivno kidipeça.

Rezultato lengto: null aktivarel smart duration palal prompto thaj referenciako media; averčes, o dindo valoro specifikisarel sekunda.

Lučhe videos · audios · file_url · web_url · seed · generate_audio · enable_prompt_expansion · enable_thinking
reference_video_urls
Čhiv jekh fajl, vaj · dži 5

Den URL vaš referenciako klipo saven fps si 16 vaj maj upral. O set šaj inkerel dži 5 video, totalno footageça na maj but 15 sekunda.

reference_audio_urls
Čhiv jekh fajl, vaj · dži 5

Referenciako audioqe URL, limitime pe 5 thaj kombinirime lengto na maj baro 15 sekunda.

Čhiv jekh fajl, vaj

URL dokumentosko savo si videoqo bazis. Manglarel enable_thinking te avel true.

Webpage URL savo si videoqo bazis, čitavdo numa bi login thaj numa kana enable_thinking=true.

POST /run/alibaba/wan-3.0/reference-to-video?wait=20 hesab → $0.50
# 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/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.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Phandel kava mangipen

Tiro kluč ačhel kadale browsereste: bičhalel pes numa ko Doitong API thaj šuvav pes (localStorage) numa te tiknes Remember. Le jekh API ključ

Palal Wan 3.0 Reference to Video

Wan 3.0 reference-to-video jekh kliposte jekhiparel referencake fotografije, cera referencake videjura (15 sekunde totalno) thaj referencako audio; adresin len ko prompta poziciosa (Image 1, Video 1). Te si o gindisaripengoro pasos aktivno, šaj te bazinel o videjo ta jekh dokumentoste vaj publikano web-sajteste. 480p dži 1080p, 2 dži 30 sekunde, generirime audio standardes.

Parametra

Bičhalav vaj e kanonikano nav vaj e native nav, na duj. Kanonikane nava

NavTip standardnoMuklo Vakeripe
promptopcionalno
Tipstring | null
≤ 20,000 simbolura
Opisaren sar te inkorporisaren e referenciako media, identifikisaren jekh-jekh referencija palal lesqi pozicia ande prompto. Misal: 'the subject in Image 1 walks past Video 1'.
resolutionopcionalno
Tipenum
standardno1080p
480p720p1080p
Rezoluciaki klasa e rezultato videoqe.
aspect_ratioopcionalno
Tipenum
standardnoadaptive
adaptive16:94:31:13:49:16
Aspect ratio vaš rezultato, adaptivno kidipeça.
durationopcionalno
Tipinteger | null
standardno5
2 – 30
Rezultato lengto: null aktivarel smart duration palal prompto thaj referenciako media; averčes, o dindo valoro specifikisarel sekunda.
audioopcionalno generate_audio
Tipboolean
standardnotrue
Kontrolisarel te si generirime audio inkludirime.
enable_prompt_expansionopcionalno
Tipboolean
standardnotrue
Kontrolisarel te si o prompto inteligentno paruvdo anglal generiripe. Te deaktivuil o paruvipe, ašukariti si najtele, numaj 20–60 sekunda maj cera latency.
enable_thinkingopcionalno
Tipboolean
standardnofalse
Aktivarel dodatkuno reasoninge anglal o generiripeqo start.
seedopcionalno
Tipinteger | null
0 – 2,147,483,647
reference_image_urlsopcionalno images
Tipurl[] · image
≤ 10 artiklura
Referenciako kipoqe URL, maximum 10.
reference_video_urlsopcionalno videos
Tipurl[] · video
≤ 5 artiklura
Den URL vaš referenciako klipo saven fps si 16 vaj maj upral. O set šaj inkerel dži 5 video, totalno footageça na maj but 15 sekunda.
reference_audio_urlsopcionalno audios
Tipurl[] · audio
≤ 5 artiklura
Referenciako audioqe URL, limitime pe 5 thaj kombinirime lengto na maj baro 15 sekunda.
file_urlopcionalno
Tipurl · file
URL dokumentosko savo si videoqo bazis. Manglarel enable_thinking te avel true.
web_urlopcionalno
Tipstring | null
Webpage URL savo si videoqo bazis, čitavdo numa bi login thaj numa kana enable_thinking=true.
trubul Kanonikano nav, vi akceptime

Fajloske parametra lel jekh publikano https:// URL, jekh data: URI dži 10 MB, vaj e file_url uploadoski. Fajlura

Rezultato

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.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
Tire fajlura, tiro alosaripenSako outputs[].url si kopija amare arakhipneste: vično (čargeime per GB-mase) vaj 7 dives bilačhes, tiro kontoskere regulaciatar vaj ?storage=.
Sa jekh forma sako modeloθartype, url, content_type, width, height thaj duration, varesave imajinake, video thaj audio-ke. output si o modelosko korkoro resultosko objekto.
Outputoske fieldura
video
object {url, content_type, file_name, file_size, width, height, fps, duration, num_frames}Video-fajlo kerdino generiripeça.
seed
integerSeed-valoro aplikovano ko generiripe.
duration
numberLengto e generirime videoqo, merime ande sekunda.
actual_prompt
string | null

Bute modeli: Referenca ko Video

AI agentenge: kadija rig sar Markdown si kate https://doitong.com/rom/developers/models/alibaba/wan-3.0/reference-to-video.md. Sa e modelura thaj e gidura: https://doitong.com/developers/llms.txt