Gå til innhold

Wan 3.0 Text to Video

Integrer

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

Denne forespørselen: 0,25 $ 250 API-kreditter Kjør den på denne siden

Hent API-nøkkel
Alibaba Tekst til video Innebygd lyd2–30 sopptil 1080p #audio#long-clips#1080p

Alibabas Wan 3.0, klipp på 2 til 30 sekunder med generert lyd i opptil 1080p.

Eksempler

Utdata · ~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

Bygg en forespørsel

Kontrollene genereres fra modellskjemaet. Koden og prisen oppdateres når du endrer dem.

•obligatorisk 224 / 20000

Tekstinstruksjoner som beskriver videoen som skal genereres.

resolution

Oppløsningsnivå for den resulterende videoen.

aspect_ratio

Sideforhold for utdataene, med adaptivt valg tilgjengelig.

Lengde på utdataene: null aktiverer smart varighet basert på prompten og referansemediet; ellers angir den oppgitte verdien sekund.

Avansert seed · enable_prompt_expansion · enable_thinking
POST /run/alibaba/wan-3.0/text-to-video?wait=20 pris → 0,25 $
# 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/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.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Kjør denne forespørselen

Nøkkelen din blir i denne nettleseren: Den sendes bare til Doitong API og lagres bare i localStorage hvis du krysser av for Husk. Hent en API-nøkkel

Laget på Doitong

Offentlige verk laget med Wan 3.0 av Doitong-fellesskapet. Gjenbruk en prompt med ett klikk.

Offentlige verk vist: 5
Create a highly realistic UGC-style smartphone video inside a modern commercial airplane during a... Video

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

**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... Video

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

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

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

Om Wan 3.0 Text to Video

Wan 3.0 gjengir lange, sammenhengende opptak fra en prompt, fra 2 opptil 30 sekunder, med generert lyd som standard. Et valgfritt resonnementstrinn planlegger komplekse scener, og promptutvidelse er aktivert som standard. 480p, 720p eller 1080p i seks sideforhold, eller adaptiv innramming.

Parametere

Send enten det kanoniske navnet eller det opprinnelige navnet, ikke begge. Kanoniske navn

NavnType StandardTillatt Beskrivelse
promptobligatorisk
Typestring
≤ 20 000 tegn
Tekstinstruksjoner som beskriver videoen som skal genereres.
resolutionvalgfritt
Typeenum
Standard1080p
480p720p1080p
Oppløsningsnivå for den resulterende videoen.
aspect_ratiovalgfritt
Typeenum
Standardadaptive
adaptive16:94:31:13:49:16
Sideforhold for utdataene, med adaptivt valg tilgjengelig.
durationvalgfritt
Typeinteger | null
Standard5
2 – 30
Lengde på utdataene: null aktiverer smart varighet basert på prompten og referansemediet; ellers angir den oppgitte verdien sekund.
audiovalgfritt generate_audio
Typeboolean
Standardtrue
Styrer om generert lyd inkluderes.
enable_prompt_expansionvalgfritt
Typeboolean
Standardtrue
Styr om prompten omskrives intelligent før generering. Forvent sannsynlig redusert kvalitet hvis omskriving deaktiveres, til gjengjeld for omtrent 20–60 sekund kortere ventetid.
enable_thinkingvalgfritt
Typeboolean
Standardfalse
Aktiverer ytterligere resonnering før genereringen starter.
seedvalgfritt
Typeinteger | null
0 – 2 147 483 647
obligatorisk Kanonisk navn, også godkjent

Utdata

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.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
Filene dine, ditt valgHver outputs[].url er en kopi på lagringen vår: lagret for alltid (betalt per GB-måned) eller 7 dager gratis, styrt av kontoinnstillingen din eller ?storage=.
Samme struktur for hver modelltype, url, content_type, width, height og duration, for bilder, video og lyd. output er modellens eget resultatobjekt.
Utdatafelt
video
object {url, content_type, file_name, file_size, width, height, fps, duration, num_frames}Videofil produsert av genereringen.
seed
integerSeed-verdi brukt under genereringen.
duration
numberLengden på den genererte videoen, målt i sekund.
actual_prompt
string | null

Flere modeller: Tekst til video

For AI-agenter: Denne siden som Markdown finnes på https://doitong.com/no/developers/models/alibaba/wan-3.0/text-to-video.md. Alle modeller og veiledninger: https://doitong.com/developers/llms.txt