Naar inhoud springen

Wan Text to Video

Integreren

Model-ID wan/v2.7/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/wan/v2.7/text-to-video?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  }'

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

Deze request: $ 0,75 750 API-tegoed Op deze pagina uitvoeren

API-sleutel ophalen
Alibaba Tekst naar video Lipsync2–15 stot 1080p #stylized#transform

Tekst-naar-video met clips van 2-15 seconden, vijf beeldverhoudingen en optionele sturende audio

Gemaakt op Doitong

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

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

Een aanvraag samenstellen

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

•verplicht

Beschrijving van de te maken video, beperkt tot 5000 tekens.

duration 5 s

Lengte van de gegenereerde video in seconden, van 2 tot 15.

aspect_ratio standaard 16:9

Beeldverhouding van de resulterende video.

resolution standaard 1080p

Resolutieniveau voor de resulterende video.

Geavanceerd negative_prompt · audio · seed · enable_prompt_expansion · enable_safety_checker

Inhoud die de video moet uitsluiten, beperkt tot 500 tekens.

audio_url
Sleep een bestand hierheen of

Optionele URL voor sturende audio, ter vervanging van de bijbehorende achtergrondmuziek die het model anders automatisch zou genereren. Het aangeleverde bestand moet WAV of MP3 zijn, 3–30 seconden lang en maximaal 15 MB groot.

Willekeurige seed voor reproduceerbare resultaten, van 0 tot 2147483647.

POST /run/wan/v2.7/text-to-video?wait=20 prijsopgave → $ 0,75
# 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/wan/v2.7/text-to-video?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  }'

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

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

Over Wan Text to Video

Maakt een video op basis van een tekstuele prompt van maximaal 5000 tekens. De uitvoer is 720p of 1080p, in 16:9, 9:16, 1:1, 4:3 of 3:4, met een duur van 2 tot 15 seconden. Je kunt `audio_url` (WAV of MP3, 3-30s) meegeven om de clip aan te sturen; zonder audio genereert het model passende achtergrondmuziek. Een negatieve prompt en promptuitbreiding zijn beschikbaar.

Parameters

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

NaamType StandaardToegestaan Beschrijving
promptverplicht
Typestring
Beschrijving van de te maken video, beperkt tot 5000 tekens.
audio_urloptioneel audio
Typeurl · audio
Optionele URL voor sturende audio, ter vervanging van de bijbehorende achtergrondmuziek die het model anders automatisch zou genereren. Het aangeleverde bestand moet WAV of MP3 zijn, 3–30 seconden lang en maximaal 15 MB groot.
aspect_ratiooptioneel
Typeenum
Standaard16:9
16:99:161:14:33:4
Beeldverhouding van de resulterende video.
resolutionoptioneel
Typeenum
Standaard1080p
720p1080p
Resolutieniveau voor de resulterende video.
durationoptioneel
Typeenum
Standaard5
23456789101112131415
Lengte van de gegenereerde video in seconden, van 2 tot 15.
negative_promptoptioneel
Typestring | null
Inhoud die de video moet uitsluiten, beperkt tot 500 tekens.
enable_prompt_expansionoptioneel
Typeboolean
Standaardtrue
Schakelt intelligent herschrijven van de prompt in.
seedoptioneel
Typeinteger | null
Willekeurige seed voor reproduceerbare resultaten, van 0 tot 2147483647.
enable_safety_checkeroptioneel
Typeboolean
Standaardtrue
Moderatie van zowel invoer als uitvoer, afgedwongen bij elke request tenzij het account is geautoriseerd om dit uit te schakelen en de optie is uitgeschakeld.
verplicht Canonieke naam, ook geaccepteerd

Bestandsparameters accepteren een openbare https:// URL, een data: URI tot 10 MB of de file_url van een upload. Bestanden

Uitvoer

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "wan/v2.7/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": 750,
    "usd": "0.75",
    "charged": 750,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  },
  "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,
    "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"
  }
}
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.
actual_prompt
string | nullPrompt die daadwerkelijk werd toegepast toen promptherschrijving was ingeschakeld.

Meer modellen: Tekst naar video

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