Gå til indhold

Wan 3.0 Text to Video

Integrer

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.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 anmodning: 0,25 $ 250 API-kreditter Kør den på denne side

Hent API-nøgle
Alibaba Tekst til video Indbygget lyd2–30 sop til 1080p #audio#long-clips#1080p

Alibabas Wan 3.0 med klip på 2 til 30 sekunder og genereret lyd i op til 1080p.

Eksempler

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

Opret en anmodning

Kontrollerne genereres fra modellens skema. Koden og prisen opdateres, når du ændrer dem.

•påkrævet 224 / 20000

Tekstinstruktioner, der beskriver videoen, der skal genereres.

resolution

Opløsningsniveau for den resulterende video.

aspect_ratio

Højde-bredde-forhold for output med mulighed for adaptivt valg.

Outputlængde: null aktiverer intelligent varighed baseret på prompten og referencemediet; ellers angiver den angivne værdi antal sekund.

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

Kør denne anmodning

Din nøgle forbliver i denne browser: Den sendes kun til Doitong API og gemmes kun i localStorage, hvis du markerer Husk. Hent en API-nøgle

Lavet på Doitong

Offentlige værker skabt med Wan 3.0 af Doitong-fællesskabet. Genbrug en prompt med ét klik.

Offentlige værker 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 gengiver lange, sammenhængende optagelser ud fra en prompt, fra 2 op til 30 sekunder, med genereret lyd som standard. Et valgfrit ræsonneringstrin planlægger komplekse scener, og promptudvidelse er aktiveret som standard. 480p, 720p eller 1080p i seks billedformater eller adaptiv beskæring.

Parametre

Send enten det kanoniske navn eller det oprindelige navn, ikke begge. Kanoniske navne

NavnType StandardTilladt Beskrivelse
promptpåkrævet
Typestring
≤ 20.000 tegn
Tekstinstruktioner, der beskriver videoen, der skal genereres.
resolutionvalgfri
Typeenum
Standard1080p
480p720p1080p
Opløsningsniveau for den resulterende video.
aspect_ratiovalgfri
Typeenum
Standardadaptive
adaptive16:94:31:13:49:16
Højde-bredde-forhold for output med mulighed for adaptivt valg.
durationvalgfri
Typeinteger | null
Standard5
2 – 30
Outputlængde: null aktiverer intelligent varighed baseret på prompten og referencemediet; ellers angiver den angivne værdi antal sekund.
audiovalgfri generate_audio
Typeboolean
Standardtrue
Styrer, om genereret lyd inkluderes.
enable_prompt_expansionvalgfri
Typeboolean
Standardtrue
Styrer, om prompten omskrives intelligent før generering. Forvent sandsynlig kvalitetsreduktion, hvis omskrivning deaktiveres, til gengæld for cirka 20–60 sekund mindre latenstid.
enable_thinkingvalgfri
Typeboolean
Standardfalse
Aktiverer yderligere ræsonnering, før genereringen begynder.
seedvalgfri
Typeinteger | null
0 – 2.147.483.647
påkrævet Kanonisk navn, også accepteret

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.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
Dine filer, dit valgHver outputs[].url er en kopi på vores lagring: gemt for altid (betales pr. GB-måned) eller 7 dage gratis, afhængigt af din kontoindstilling eller ?storage=.
Samme struktur for alle modellertype, url, content_type, width, height og duration for billeder, video og lyd. output er modellens eget resultatobjekt.
Outputfelter
video
object {url, content_type, file_name, file_size, width, height, fps, duration, num_frames}Videofil produceret ved generering.
seed
integerSeed-værdi anvendt under generering.
duration
numberLængden af den genererede video, målt i sekund.
actual_prompt
string | null

Flere modeller: Tekst til video

Til AI-agenter: Denne side som Markdown findes på https://doitong.com/da/developers/models/alibaba/wan-3.0/text-to-video.md. Alle modeller og vejledninger: https://doitong.com/developers/llms.txt