Naar inhoud springen

Wan 3.0 Text to Video

Integreren

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

Deze request: $ 0,25 250 API-tegoed · ≈ ₽ 26,89 Op deze pagina uitvoeren

API-sleutel ophalen
Alibaba Tekst naar video Native audio2–30 stot 1080p #long-clips#1080p

Alibaba's Wan 3.0, clips van 2 tot 30 seconden met gegenereerde audio tot 1080p.

Voorbeelden

Uitvoer · ~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:9$ 0,25 · 250 API-tegoed

Een aanvraag samenstellen

Besturingselementen worden gegenereerd op basis van het modelschema. De code en de prijs worden bijgewerkt terwijl je ze wijzigt.

•verplicht 224 / 20000

Tekstinstructies die de te genereren video beschrijven.

resolution

Resolutieniveau voor de resulterende video.

aspect_ratio

Beeldverhouding van de uitvoer, met adaptieve selectie.

Uitvoerlengte: null activeert een slimme duur op basis van de prompt en referentiemedia; anders geeft de opgegeven waarde het aantal seconden aan.

Geavanceerd seed · enable_prompt_expansion · enable_thinking
POST /run/alibaba/wan-3.0/text-to-video?wait=20 prijsopgave → $ 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"

Deze request uitvoeren

Je sleutel blijft in deze browser: hij wordt alleen naar de Doitong API verzonden en alleen in localStorage opgeslagen als je Onthouden aanvinkt. API-sleutel ophalen

Gemaakt op Doitong

Openbare werken gemaakt met Wan 3.0 door de Doitong-community. Gebruik een prompt opnieuw met één klik.

Getoonde openbare werken: 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...

Over Wan 3.0 Text to Video

Wan 3.0 rendert lange, samenhangende shots uit een prompt, van 2 tot 30 seconden, standaard met gegenereerd geluid. Een optionele redeneerstap plant complexe scènes en promptuitbreiding staat standaard aan. 480p, 720p of 1080p in zes beeldverhoudingen, of adaptieve beeldkadrering.

Parameters

Stuur de canonieke naam of de oorspronkelijke naam, niet beide. Canonieke namen

NaamType StandaardToegestaan Beschrijving
promptverplicht
Typestring
≤ 20.000 tekens
Tekstinstructies die de te genereren video beschrijven.
resolutionoptioneel
Typeenum
Standaard1080p
480p720p1080p
Resolutieniveau voor de resulterende video.
aspect_ratiooptioneel
Typeenum
Standaardadaptive
adaptive16:94:31:13:49:16
Beeldverhouding van de uitvoer, met adaptieve selectie.
durationoptioneel
Typeinteger | null
Standaard5
2 – 30
Uitvoerlengte: null activeert een slimme duur op basis van de prompt en referentiemedia; anders geeft de opgegeven waarde het aantal seconden aan.
audiooptioneel generate_audio
Typeboolean
Standaardtrue
Bepaalt of gegenereerde audio wordt opgenomen.
enable_prompt_expansionoptioneel
Typeboolean
Standaardtrue
Bepaalt of de prompt vóór de generatie intelligent wordt herschreven. Als je herschrijven uitschakelt, is waarschijnlijk een lagere kwaliteit te verwachten, in ruil voor ongeveer 20–60 seconden minder latentie.
enable_thinkingoptioneel
Typeboolean
Standaardfalse
Schakelt extra redenering in voordat de generatie begint.
seedoptioneel
Typeinteger | null
0 – 2.147.483.647
verplicht Canonieke naam, ook geaccepteerd

Uitvoer

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"
  }
}
Jouw bestanden, jouw keuzeElke outputs[].url is een kopie in onze opslag: voor altijd bewaard (betaald per GB-maand) of 7 dagen gratis, volgens je accountinstelling of ?storage=.
Dezelfde structuur voor elk modeltype, url, content_type, width, height en duration, voor afbeeldingen, video en audio. output is het eigen resultaatobject van het model.
Velden van de uitvoer
video
object {url, content_type, file_name, file_size, width, height, fps, duration, num_frames}Videobestand dat door de generatie is geproduceerd.
seed
integerSeedwaarde die tijdens de generatie wordt toegepast.
duration
numberLengte van de gegenereerde video, gemeten in seconden.
actual_prompt
string | null

Meer modellen: Tekst naar video

Voor AI-agents: deze pagina als Markdown staat op https://doitong.com/nl/developers/models/alibaba/wan-3.0/text-to-video.md. Alle modellen en handleidingen: https://doitong.com/developers/llms.txt