Skip to content

Wan-2.1 Text-to-Video with LoRAs

Integrate

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

This request: $0.75 750 API credits Run it on this page

Get API key
Alibaba Text to Video up to 720p #"text-to-video"#"motion"#"lora"

Wan 2.1 text-to-video that accepts custom LoRA weights, with turbo mode and optional reversal

Made on Doitong

Public works made with Wan-2.1 Text-to-Video with LoRAs by the Doitong community. Reuse a prompt in one click.

Public works shown: 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

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

Build a request

Controls are generated from the model schema. The code and the price update as you change them.

•required

Text instructions that guide video generation.

resolution default 480p

Output video resolution: 480p, 580p, or 720p.

aspect_ratio default 16:9

Output video's aspect ratio, either 16:9 or 9:16.

Advanced negative_prompt · num_frames · frames_per_second · num_inference_steps · seed · enable_safety_checker · enable_prompt_expansion · turbo_mode · reverse_video · loras
default bright colors, overex...

Negative prompt applied when generating a video.

default 81

Frame count for generation, ranging from 81 through 100 inclusive.

default 16

Generated video's frame rate in frames per second, ranging from 5 to 24.

default 30

Sampling step count, trading longer processing time for better quality as the count increases.

Seed that makes generation reproducible. Setting it to None selects a seed randomly.

default []

LoRA weights applied during inference.

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

Run this request

Your key stays in this browser: it is sent only to the Doitong API and saved (localStorage) only if you tick Remember. Get an API key

About Wan-2.1 Text-to-Video with LoRAs

Generates video from a text `prompt` and applies custom LoRAs listed in `loras`. Resolution is 480p, 580p or 720p, with aspect ratio 16:9 or 9:16. `num_frames` ranges from 81 to 100 and `frames_per_second` from 5 to 24. `turbo_mode` is on by default, and `reverse_video` plays the result backward.

Parameters

NameType DefaultAllowed Description
promptrequired
Typestring
Text instructions that guide video generation.
negative_promptoptional
Typestring
Defaultbright 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
Negative prompt applied when generating a video.
num_framesoptional
Typeinteger | null
Default81
81 – 100
Frame count for generation, ranging from 81 through 100 inclusive.
frames_per_secondoptional
Typeinteger | null
Default16
5 – 24
Generated video's frame rate in frames per second, ranging from 5 to 24.
seedoptional
Typeinteger | null
Seed that makes generation reproducible. Setting it to None selects a seed randomly.
resolutionoptional
Typeenum
Default480p
480p580p720p
Output video resolution: 480p, 580p, or 720p.
aspect_ratiooptional
Typeenum
Default16:9
9:1616:9
Output video's aspect ratio, either 16:9 or 9:16.
num_inference_stepsoptional
Typeinteger
Default30
2 – 40
Sampling step count, trading longer processing time for better quality as the count increases.
enable_safety_checkeroptional
Typeboolean
Defaultfalse
Safety-checking switch whose off setting requires account authorization. Without that authorization, every request is checked regardless of the setting; true enables the checker.
enable_prompt_expansionoptional
Typeboolean
Defaultfalse
Controls whether prompt expansion is enabled.
turbo_modeoptional
Typeboolean
Defaulttrue
Faster video generation toggle. Enabling it reduces generation time without a noticeable loss of visual quality.
lorasoptional
Typeobject[]
Default[]
LoRA weights applied during inference.
loras[].pathrequired
Typestring
Location of the LoRA weights, specified as a URL or path.
loras[].weight_nameoptional
Typestring | null
LoRA weight name, required only when a Hugging Face repository contains more than 1 safetensors file. This name is used only when `path` identifies such a repository.
loras[].scaleoptional
Typenumber
Default1
0 – 4
Multiplier applied to the LoRA weight before it is merged into the base model.
reverse_videooptional
Typeboolean
Defaultfalse
Video reversal toggle; true reverses playback.
required

Output

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"
  }
}
Your files, your choiceEvery outputs[].url is a copy on our storage: kept forever (paid per GB-month) or 7 days for free, by your account setting or ?storage=.
Same shape on every modeltype, url, content_type, width, height and duration, for images, video and audio alike. output is the model’s own result object.
Fields of output
video
object {url, content_type, file_name, file_size}Video file produced by generation.
seed
integerSeed value applied during generation.

For AI agents: this page as Markdown is at https://doitong.com/developers/models/wan-t2v-lora.md. All models and guides: https://doitong.com/developers/llms.txt