Peke ki ngā ihirangi

Wan-2.1 Text-to-Video with LoRAs

Whakauru

id tauira 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"

Tēnei tono: $ 0.75 750 whiwhinga API Whakahaerehia ki tēnei whārangi

Tikina he kī API
Alibaba Kuputuhi ki te Ataata tae atu ki 720p #"text-to-video"#"motion"#"lora"

Wan 2.1 text-to-video e whakaae ana ki ngā taumaha LoRA ritenga, me te aratau turbo me te hurihanga kōwhiringa

I hangaia ki Doitong

Ngā mahi tūmatanui i hangaia ki Wan-2.1 Text-to-Video with LoRAs e te hapori Doitong. Whakamahia anō he tono mā te pāwhiri kotahi.

Ngā mahi tūmatanui kua whakaaturia: 2
Create a realistic cinematic UGC-style commercial video, exactly 30 seconds long. The entire scen... Ataata

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

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

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

Hangaia he tono

Ka hangaia ngā mana whakahaere mai i te aronuinga o te tauira. Ka whakahoungia te waehere me te utu ina whakarerekē koe.

•e hiahiatia ana

Ngā tohutohu kuputuhi hei ārahi i te whakaputanga ataata.

resolution taunoa 480p

Te taumira ataata putanga: 480p, 580p, 720p rānei.

aspect_ratio taunoa 16:9

Te ōwehenga-āhuatanga o te ataata putanga, arā, 16:9, 9:16 rānei.

Arā atu negative_prompt · num_frames · frames_per_second · num_inference_steps · seed · enable_safety_checker · enable_prompt_expansion · turbo_mode · reverse_video · loras
taunoa bright colors, overex...

Te tohutohu tōraro e whakamahia ana i te whakaputa ataata.

taunoa 81

Te maha o ngā anga mō te whakaputanga, mai i te 81 ki te 100, tae atu ki ngā uara e rua.

taunoa 16

Te auau anga o te ataata kua whakaputaina, i ngā anga ia hēkona, mai i te 5 ki te 24.

taunoa 30

Te tatau kaupae tīpako, ka whakawhiti i te wā tukatuka roa mō te kounga pai ake ina piki te tatau.

Te kākano e taea ai te tārua o te whakaputanga. Mā te tautuhi ki None e kōwhiri matapōkeretia ai he kākano.

taunoa []

Ngā taumaha LoRA ka whakamahia i te wā whakatauira.

POST /run/wan-t2v-lora?wait=20 utu → $ 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"

Whakahaerehia tēnei tono

Ka noho tō kī ki tēnei pūtirotiro: ka tukuna ki te Doitong API anake, ā, ka tiakina ki te localStorage anake ina tohua e koe te Mahara. Tikina he kī API

Mō Wan-2.1 Text-to-Video with LoRAs

Ka hanga ataata mai i te `prompt` kuputuhi, ka whakamahi i ngā LoRA ritenga kua whakarārangitia ki `loras`. Ko te taumira 480p, 580p, 720p rānei, me te ōwehenga 16:9, 9:16 rānei. Ko `num_frames` te 81 ki te 100, ā, ko `frames_per_second` te 5 ki te 24. Ka whakakā taunoa `turbo_mode`, ā, mā `reverse_video` e purei whakamuri te hua.

Ngā tawhā

IngoaMomo TaunoaE whakaaetia ana Whakamārama
prompte hiahiatia ana
Momostring
Ngā tohutohu kuputuhi hei ārahi i te whakaputanga ataata.
negative_promptkōwhiringa
Momostring
Taunoabright 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
Te tohutohu tōraro e whakamahia ana i te whakaputa ataata.
num_frameskōwhiringa
Momointeger | null
Taunoa81
81 – 100
Te maha o ngā anga mō te whakaputanga, mai i te 81 ki te 100, tae atu ki ngā uara e rua.
frames_per_secondkōwhiringa
Momointeger | null
Taunoa16
5 – 24
Te auau anga o te ataata kua whakaputaina, i ngā anga ia hēkona, mai i te 5 ki te 24.
seedkōwhiringa
Momointeger | null
Te kākano e taea ai te tārua o te whakaputanga. Mā te tautuhi ki None e kōwhiri matapōkeretia ai he kākano.
resolutionkōwhiringa
Momoenum
Taunoa480p
480p580p720p
Te taumira ataata putanga: 480p, 580p, 720p rānei.
aspect_ratiokōwhiringa
Momoenum
Taunoa16:9
9:1616:9
Te ōwehenga-āhuatanga o te ataata putanga, arā, 16:9, 9:16 rānei.
num_inference_stepskōwhiringa
Momointeger
Taunoa30
2 – 40
Te tatau kaupae tīpako, ka whakawhiti i te wā tukatuka roa mō te kounga pai ake ina piki te tatau.
enable_safety_checkerkōwhiringa
Momoboolean
Taunoafalse
Whakakā/whakaweto tirotiro haumaru, me whakamana pūkete te tautuhinga whakaweto. Ki te kore taua whakamana, ka tirohia ia tono ahakoa te tautuhinga; mā true e whakakā te kaitirotiro.
enable_prompt_expansionkōwhiringa
Momoboolean
Taunoafalse
Ka whakahaere mēnā kua whakahohea te whakawhānui tohutohu.
turbo_modekōwhiringa
Momoboolean
Taunoatrue
Pana whakaputa ataata tere ake. Mā te whakahohe ka whakapoto te wā whakaputa, kāore he ngaronga kounga ā-kanohi e kitea ana.
loraskōwhiringa
Momoobject[]
Taunoa[]
Ngā taumaha LoRA ka whakamahia i te wā whakatauira.
loras[].pathe hiahiatia ana
Momostring
Wāhi o ngā taumaha LoRA, ka tauwhāitihia hei URL, hei ara rānei.
loras[].weight_namekōwhiringa
Momostring | null
Ingoa taumaha LoRA, e hiahiatia ana anake ina neke atu i te 1 te maha o ngā kōnae safetensors i tētahi pūranga Hugging Face. Ka whakamahia tēnei ingoa anake ina tautuhi a `path` i taua pūranga.
loras[].scalekōwhiringa
Momonumber
Taunoa1
0 – 4
Kaitauine whakarea ka whakamahia ki te taumaha LoRA i mua i te hanumi ki te tauira pūtake.
reverse_videokōwhiringa
Momoboolean
Taunoafalse
Pana whakamuri ataata; mā true e whakamuri te purei.
e hiahiatia ana

Putanga

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"
  }
}
Ō kōnae, māu e whiriwhiriKo ia url o outputs[] he tārua kei tō mātou rokiroki: ka puritia mō ake tonu atu (ka utua ia GB-marama) mō rānei 7 rā mō te kore utu, e ai ki ngā tautuhinga o tō pūkete, ki te ?storage= rānei.
He ōrite te hanga ki ia tauiratype, url, content_type, width, height me duration, mō ngā pikitia, ataata me te oro. Ko output te ahanoa hua ake o te tauira.
Ngā āpure o te putanga
video
object {url, content_type, file_name, file_size}Te kōnae ataata i whakaputaina.
seed
integerTe uara kākano i whakamahia i te whakaputanga.

Mō ngā āpiha AI: kei te wātea tēnei whārangi hei Markdown ki https://doitong.com/mi/developers/models/wan-t2v-lora.md. Ngā tauira me ngā aratohu katoa: https://doitong.com/developers/llms.txt