Op den Inhalt sprangen

Wan 3.0 Text to Video

Integréieren

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

Dës Ufro: 0,25 $ 250 API-Kreditter · ≈ 26,89 ₽ Op dëser Säit ausféieren

API-Schlëssel kréien
Alibaba Text zu Video Native Audio2–30 sbis zu 1080p #long-clips#1080p

Alibaba säi Wan 3.0, Clips vun 2 bis 30 Sekonnen mat generéierten Audio bis zu 1080p.

Beispiller

Output · ~205 s

PromptA 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-Kreditter

Eng Ufro erstellen

D'Kontrolle ginn aus dem Modellschema generéiert. De Code an de Präis aktualiséiere sech, wann s du se ännerst.

•obligatoresch 224 / 20000

Textinstruktiounen, déi de ze generéierende Video beschreiwen.

resolution

Opléisungsstuf vum resultéierende Video.

aspect_ratio

Bildformat vum Output, mat adaptiver Auswiel.

Output-Dauer: null aktivéiert eng intelligent Dauer op Basis vum Prompt an de Referenzmedien; soss spezifizéiert de geliwwerte Wäert d'Sekonnen.

Erweidert seed · enable_prompt_expansion · enable_thinking
POST /run/alibaba/wan-3.0/text-to-video?wait=20 Präis → 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"

Dës Ufro ausféieren

Äre Schlëssel bleift an dësem Browser: e gëtt nëmmen un d'Doitong API geschéckt an nëmme gespäichert (localStorage), wann s du „Erënneren“ aktivéiers. En API-Schlëssel kréien

Op Doitong erstallt

Ëffentlech Wierker, déi d'Doitong-Communautéit mat Wan 3.0 erstallt huet. Benotz e Prompt mat engem Klick nach eng Kéier.

Ëffentlech Wierker ugewisen: 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 финальный...

Iwwer Wan 3.0 Text to Video

Wan 3.0 rendert laang, kohärent Opnamen aus engem Prompt, vun 2 bis zu 30 Sekonnen, mat generéiertem Toun par défaut. En optionalen Reasoning-Schrëtt plangt komplex Szenen, an d'Prompt-Erweiderung ass par défaut aktiv. 480p, 720p oder 1080p a sechs Bildformater, oder adaptiv Kadrierung.

Parameteren

Schéck entweder den kanoneschen Numm oder den natierlechen Numm, net béid. Kanonesch Nimm

NummTyp StandardErlaabt Beschreiwung
promptobligatoresch
Typstring
≤ 20.000 Zeechen
Textinstruktiounen, déi de ze generéierende Video beschreiwen.
resolutionoptional
Typenum
Standard1080p
480p720p1080p
Opléisungsstuf vum resultéierende Video.
aspect_ratiooptional
Typenum
Standardadaptive
adaptive16:94:31:13:49:16
Bildformat vum Output, mat adaptiver Auswiel.
durationoptional
Typinteger | null
Standard5
2 – 30
Output-Dauer: null aktivéiert eng intelligent Dauer op Basis vum Prompt an de Referenzmedien; soss spezifizéiert de geliwwerte Wäert d'Sekonnen.
audiooptional generate_audio
Typboolean
Standardtrue
Bestëmmt, ob generéierten Audio abegraff gëtt.
enable_prompt_expansionoptional
Typboolean
Standardtrue
Bestëmmt, ob de Prompt virun der Generatioun intelligent ëmgeschriwwe gëtt. Wann d'Ëmschreiwung deaktivéiert gëtt, ass eng méiglech Qualitéitsreduktioun ze erwaarden, am Austausch géint ongeféier 20–60 Sekonne manner Latenz.
enable_thinkingoptional
Typboolean
Standardfalse
Aktivéiert zousätzlech Iwwerleeungen, ier d'Generatioun ufänkt.
seedoptional
Typinteger | null
0 – 2.147.483.647
obligatoresch Kanoneschen Numm, och akzeptéiert

Output

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"
  }
}
Är Fichieren, Är WielAll outputs[].url ass eng Kopie an eiser Späicherung: fir ëmmer gespäichert (bezuelbar pro GB-Mount) oder 7 Deeg gratis, jee no Ärer Kontastellung oder ?storage=.
D'selwecht Struktur bei all Modelltype, url, content_type, width, height an duration, fir Biller, Video an Audio gläichermoossen. output ass dem Modell säin eegent Resultatobjet.
Output-Felder
video
object {url, content_type, file_name, file_size, width, height, fps, duration, num_frames}Video-Datei, déi duerch d'Generatioun erstallt gouf.
seed
integerSeed-Wäert, deen während der Generatioun applizéiert gouf.
duration
numberDauer vum generéierte Video, gemooss a Sekonnen.
actual_prompt
string | null

Méi Modeller: Text zu Video

Fir AI-Agenten: dës Säit als Markdown ass ënner https://doitong.com/lb/developers/models/alibaba/wan-3.0/text-to-video.md. All Modeller a Guiden: https://doitong.com/developers/llms.txt