Njuolgga sisdollui

Wan-2.1 Text-to-Video

Integrere

Modealla-id wan-t2v
# 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-t2v?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"

Dát ohcamuš: 0,40 $ 400 API-kreditta Vuodje dán siiddu alde

Oza API-čoavdaga
Alibaba Teakstas video gitta 720p #text-to-video#motion

Wan 2.1 text-to-video 480p rájes 720p rádjái, čáhppes dahje govdodatformáhtas ja vejolaš turbo-modain

Ráhkaduvvon Doitongis

Doitong-bargosearvvi almmolaš barggut, ráhkaduvvon Wan 2.1 bokte. Geavat fas jearaldaga ovtta deaddilemiin.

Almmolaš barggut čájehuvvojit: 2
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...

Реалистичная бытовая сцена в советской одесской квартире зимним вечером. Женщина находится на кух... Video

Реалистичная бытовая сцена в советской одесской квартире зимним вечером. Женщина находится на кухне, мужчина — в комнате и прихожей. Атмосфера обычной советской семьи перед приходом гостей. Голоса: все персонажи говорят по-русски с естественным, выразительным одесским говором. Характерная...

Ráhkat jearaldaga

Kontrollat ráhkaduvvojit modealla skeama vuođul. Koda ja haddi ođasmahttojuvvojit go rievddadat daid.

•gáibiduvvo

Teakstačilgehusat, mat stivrejit video-ráhkadeami.

resolution standárda 720p

Boađusvideo resolušuvdna: 480p, 580p dahje 720p.

aspect_ratio standárda 16:9

Boađus-video aspektarátio, 16:9 dahje 9:16.

standárda 81

Rámmaid lohku ráhkadeamis, 81 gitta 100 rádjai, goappaš bealit fárus.

Viiddiduvvon negative_prompt · frames_per_second · num_inference_steps · seed · enable_safety_checker · enable_prompt_expansion · turbo_mode
standárda bright colors, overex...

Negatiiva bivdda mii geavahuvvo video ráhkadeamis.

standárda 16

Ráhkaduvvon video rámmajohtalus, rámmaid sekunddas, 5 gitta 24 rádjai.

standárda 30

Sampling-láhtta lohku, mas guhkit barganáigi addá buoret kvalitehta.

Sádji, mii dahká ráhkadeami reprodukšuvnnalažžan. None bidjan vállje sádji juhkosiid mielde.

POST /run/wan-t2v?wait=20 haddemearrádus → 0,40 $
# 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-t2v?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"

Geavat dán ohcamuša

Du key báhcá dán fierpmádatlogan: dat sáddejuvvo dušše Doitong API:ii ja vurkejuvvo (localStorage) dušše jos válljet Remember. Viečča API-keya

Dát lea Wan-2.1 Text-to-Video birra

Generere oanehis videoklippa teavstta `prompt`a vuođul. Resolušuvdna sáhttá leat 480p, 580p dahje 720p, ja aspektaráđđu 16:9 dahje 9:16. `num_frames` lea 81 rájes 100 rádjái ja `frames_per_second` 5 rájes 24 rádjái. Dárbbaša maiddái `negative_prompt`, `seed`, vejolaš prompt-viiddideami ja `turbo_mode` molssaeavttu jođáneappot runaide.

Parametterat

NammaŠládja StandárdaDohkkehuvvon Govvádus
promptgáibiduvvo
Šládjastring
Teakstačilgehusat, mat stivrejit video-ráhkadeami.
negative_prompteaktodáhtolaš
Šládjastring
Standárdabright colors, overexposed, static, blurred details, subtitles, style, artwork, painting, picture, still, overall gray, worst quality, low quality, JPEG compression residue, ugly, incomplete, extra fingers, poorly drawn hands, poorly drawn faces, deformed, disfigured, malformed limbs, fused fingers, still picture, cluttered background, three legs, many people in the background, walking backwards
Negatiiva bivdda mii geavahuvvo video ráhkadeamis.
num_frameseaktodáhtolaš
Šládjainteger | null
Standárda81
81 – 100
Rámmaid lohku ráhkadeamis, 81 gitta 100 rádjai, goappaš bealit fárus.
frames_per_secondeaktodáhtolaš
Šládjainteger | null
Standárda16
5 – 24
Ráhkaduvvon video rámmajohtalus, rámmaid sekunddas, 5 gitta 24 rádjai.
seedeaktodáhtolaš
Šládjainteger | null
Sádji, mii dahká ráhkadeami reprodukšuvnnalažžan. None bidjan vállje sádji juhkosiid mielde.
resolutioneaktodáhtolaš
Šládjaenum
Standárda720p
480p580p720p
Boađusvideo resolušuvdna: 480p, 580p dahje 720p.
aspect_ratioeaktodáhtolaš
Šládjaenum
Standárda16:9
9:1616:9
Boađus-video aspektarátio, 16:9 dahje 9:16.
num_inference_stepseaktodáhtolaš
Šládjainteger
Standárda30
2 – 40
Sampling-láhtta lohku, mas guhkit barganáigi addá buoret kvalitehta.
enable_safety_checkereaktodáhtolaš
Šládjaboolean
Standárdafalse
Sihkarvuođakontrolla heivehus, man off-heivehus gáibida kontu autoriseren. Autoriserema haga dárkkistuvvo juohke jearaldat heivehusas beroškeahttá; true aktiveret dárkkisteaddji.
enable_prompt_expansioneaktodáhtolaš
Šládjaboolean
Standárdafalse
Stivre leago bivdda viiddideapmi anus.
turbo_modeeaktodáhtolaš
Šládjaboolean
Standárdafalse
Jođáneabbo video ráhkadeami válljen. Aktiveren geahpeda ráhkadanáiggi čájehahtti govvakvalitehta massima haga.
gáibiduvvo

Boađus

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "wan-t2v",
  "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": 400,
    "usd": "0.40",
    "charged": 400,
    "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
    },
    "seed": 42
  },
  "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"
  }
}
Du fiillat, du válljenJuohke outputs[].url lea kopia min vurkemis: bisuhuvvo álo (mákso GB-mánu mielde) dahje 7 beaivvi nuvttá, du konto­o heiveheami dahje ?storage= mielde.
Seammá hápmi juohke modeallastype, url, content_type, width, height ja duration, govvii, videoii ja jienai seammá ládje. output lea modealla iežas boađusobjekta.
Outputa giettit
video
object {url, content_type, file_name, file_size}Ráhkadeami bokte buvttaduvvon videofiila.
seed
integerRáhkadeamis geavahuvvon sádjiárvu.

Eanet modeallat: Teakstas video

AI-agenttaide: dán siidu Markdowna lea dáppe https://doitong.com/se/developers/models/wan-t2v.md. Buot modeallat ja ráđit: https://doitong.com/developers/llms.txt