Pāriet uz saturu

Wan 3.0 Text to Video

Integrēt

Modeļa id alibaba/wan-3.0/text-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/text-to-video?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A hummingbird hovers in front of a bright red hibiscus flower in a tropical garden, wings a blur, then darts away as the camera slowly racks focus to dew drops on the leaves. Macro lens, soft morning light, natural ambience.",
    "resolution": "480p",
    "aspect_ratio": "16:9",
    "duration": 5,
    "generate_audio": false
  }'

# 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"

Šis pieprasījums: 0,25 $ 250 API kredītu · ≈ 26,83 ₽ Izpildīt šajā lapā

Iegūt API atslēgu
Alibaba Teksts uz video Vietējais audio2–30 slīdz 1080p #long-clips#1080p

Alibaba Wan 3.0 — 2 līdz 30 sekunžu klipi ar ģenerētu audio līdz 1080p izšķirtspējā.

Piemēri

Izvade · ~205 s

UzvedneA hummingbird hovers in front of a bright red hibiscus flower in a tropical garden, wings a blur, then darts away as the camera slowly racks focus to dew drops on the leaves. Macro lens, soft morning light, natural ambience.

5 s480p16:90,25 $ · 250 API kredītu

Izveidot pieprasījumu

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

•obligāts 224 / 20000

Teksta norādes ģenerējamā video aprakstam.

resolution

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

aspect_ratio

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 seed · enable_prompt_expansion · enable_thinking
POST /run/alibaba/wan-3.0/text-to-video?wait=20 cena → 0,25 $
# 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/text-to-video?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A hummingbird hovers in front of a bright red hibiscus flower in a tropical garden, wings a blur, then darts away as the camera slowly racks focus to dew drops on the leaves. Macro lens, soft morning light, natural ambience.",
    "resolution": "480p",
    "aspect_ratio": "16:9",
    "duration": 5,
    "generate_audio": false
  }'

# 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"

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

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: 3
Создай 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 финальный...

# PROMPT: Animated Mother’s Day greeting card **Format:** vertical video 9:16 **Duration:** 12–15... Video

# PROMPT: Animated Mother’s Day greeting card **Format:** vertical video 9:16 **Duration:** 12–15 seconds **Style:** high‑quality Pixar‑inspired 3D animation, cinematic, warm, emotional, charming animated movie aesthetic. ### The main character is a child Use the attached image as the only and...

Par Wan 3.0 Text to Video

Wan 3.0 no uzvednes izveido garus, saskaņotus kadrus no 2 līdz 30 sekundēm, pēc noklusējuma ar ģenerētu skaņu. Neobligāts spriešanas solis plāno sarežģītas ainas, bet uzvednes paplašināšana pēc noklusējuma ir ieslēgta. 480p, 720p vai 1080p sešās malu attiecībās vai ar adaptīvu kadrējumu.

Parametri

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

NosaukumsTips NoklusējumsAtļauts Apraksts
promptobligāts
Tipsstring
≤ 20 000 rakstzīmju
Teksta norādes ģenerējamā video aprakstam.
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
obligāts Kan啤niskais nosaukums, arī pieņemts

Izvade

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "alibaba/wan-3.0/text-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": 250,
    "usd": "0.25",
    "charged": 250,
    "refunded": 0
  },
  "input": {
    "prompt": "A red panda walks through a bamboo forest at sunrise, mist between the stalks, gentle handheld camera",
    "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"
  }
}
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: Teksts uz video

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