Njuolgga sisdollui

Wan-2.1 Text-to-Video with LoRAs

Integrere

Modealla-id wan-t2v-lora
# 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-lora?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,75 $ 750 API-kreditta Vuodje dán siiddu alde

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

Wan 2.1 text-to-video iežas LoRA-váttisvuođaiguin, turbo-modain ja vejolaš máhcahemiin

Ráhkaduvvon Doitongis

Doitong-bargosearvvi almmolaš barggut, ráhkaduvvon Wan-2.1 Text-to-Video with LoRAs 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 480p

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

aspect_ratio standárda 16:9

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

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

Negatiiva bivdda mii geavahuvvo video ráhkadeamis.

standárda 81

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

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.

standárda []

LoRA-árllut mat geavahuvvojit inferenssas.

POST /run/wan-t2v-lora?wait=20 haddemearrádus → 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-t2v-lora?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 with LoRAs birra

Generere video teavstta `prompt`a vuođul ja geavaha `loras`-is čájehuvvon iežas LoRA:aid. Resolušuvdna lea 480p, 580p dahje 720p, aspektaráđđu 16:9 dahje 9:16. `num_frames` lea 81-100 ja `frames_per_second` 5-24. `turbo_mode` lea standárdan alde, ja `reverse_video` čájeha boađusa maŋos.

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árda480p
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árdatrue
Jođáneabbo video ráhkadeami válljen. Aktiveren geahpeda ráhkadanáiggi čájehahtti govvakvalitehta massima haga.
loraseaktodáhtolaš
Šládjaobject[]
Standárda[]
LoRA-árllut mat geavahuvvojit inferenssas.
loras[].pathgáibiduvvo
Šládjastring
LoRA-vuoiŋŋaid báiki, addojuvvon URL:n dahje bálgán.
loras[].weight_nameeaktodáhtolaš
Šládjastring | null
LoRA deadja namma, dárbbašlaš dušše go Hugging Face-repositora sisttisdoallá eanet go 1 safetensors-fiilla. Dát namma geavahuvvo dušše go `path` dovddaha dakkár repositora.
loras[].scaleeaktodáhtolaš
Šládjanumber
Standárda1
0 – 4
Multiplikáhtor, mii geavahuvvo LoRA-deattu heiveheapmái ovdal go dat seaguha vuođđo-modeallain.
reverse_videoeaktodáhtolaš
Šládjaboolean
Standárdafalse
Video ruohtasválljen; true jorgala čájeheami.
gáibiduvvo

Boađus

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "wan-t2v-lora",
  "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
    },
    "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.

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