Skip to content

Wan-2.2 Text-to-Video A14B with LoRAs

Integrate

Model id wan/v2.2-a14b/text-to-video/lora
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.ru/v1/run/wan/v2.2-a14b/text-to-video/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.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

This request: ≈$0.507 507 API credits · ≈ ₽54.41 Run it on this page

Get API key

Made on Doitong

Public works made with Wan v22 LoRA by the Doitong community. Reuse a prompt in one click.

Public works shown: 3
Создай 30-секундный обучающий музыкальный ролик для детей 3–5 лет. Тема: транспорт. Яркая 2D-аним... Video

Создай 30-секундный обучающий музыкальный ролик для детей 3–5 лет. Тема: транспорт. Яркая 2D-анимация, весёлый водитель в кепке, крупные машины, пастельные цвета. 0:00–0:10 приветствие под музыку; 0:10–0:30 песенка: "Машина едет би-би, би-би", "Поезд едет ту-ту, ту-ту". Бодрая детская музыка...

Создай 30-секундный обучающий музыкальный ролик для детей 3–5 лет. Тема: транспорт. Яркая 2D-аним... Video

Создай 30-секундный обучающий музыкальный ролик для детей 3–5 лет. Тема: транспорт. Яркая 2D-анимация, тот же весёлый водитель в кепке, самолёт. 0:00–0:15 песенка: "Самолёт летит вж-ж-ж, вж-ж-ж"; 0:15–0:25 интерактивная пауза: водитель спрашивает "Как гудит машина?", пауза; 0:25–0:30 финальный...

# PROMPT: Animated Mother’s Day greeting card **Format:** vertical video 9:16 **Duration:** 12–15... Video

# PROMPT: Animated Mother’s Day greeting card **Format:** vertical video 9:16 **Duration:** 12–15 seconds **Style:** high‑quality Pixar‑inspired 3D animation, cinematic, warm, emotional, charming animated movie aesthetic. ### The main character is a child Use the attached image as the only and...

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 720p

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

aspect_ratio default 16:9

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

default 81

Frame count for generation, with an inclusive range of 17–161.

Advanced negative_prompt · acceleration · interpolator_model · video_quality · video_write_mode · frames_per_second · num_inference_steps · guidance_scale · guidance_scale_2 · shift · num_interpolated_frames · seed · enable_safety_checker · enable_output_safety_checker · enable_prompt_expansion · adjust_fps_for_interpolation · reverse_video · loras
default

Negative prompt applied when generating a video.

acceleration default regular

Acceleration setting, with 'regular' as the recommended choice. Increasing acceleration sacrifices quality to shorten generation time.

interpolator_model default film

Frame interpolation setting: choose None to skip interpolation, or specify the model to perform it.

video_quality default high

Output video quality setting that trades larger files for improved visuals as the setting increases.

video_write_mode default balanced

Video writing mode, with balanced offering a compromise between speed and quality. Choose small for the smallest files and slowest writing; faster writing returns results sooner but creates larger files.

default 16

Generated video frame rate, accepting values from 4 to 60; setting `adjust_fps_for_interpolation` to false preserves this rate unchanged. With interpolation in use and `adjust_fps_for_interpolation` true (its default), multiply this rate by one plus the interpolated frame count to obtain the final FPS. For example, 16 FPS with 1 interpolated frame becomes 32 FPS.

default 27

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

default 3.5

Classifier-free guidance strength, trading possible quality loss for closer prompt matching as the scale increases.

default 4

Guidance scale controlling how closely the model follows the prompt during its second stage.

default 5

Video shift setting, with an allowed range of 1.0–10.0.

default 1

Insert 0–4 interpolated frames into every gap between two generated frames.

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

default []

LoRA weights applied during inference.

POST /run/wan/v2.2-a14b/text-to-video/lora?wait=20 quote → $0.507
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.ru/v1/run/wan/v2.2-a14b/text-to-video/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.ru/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.2 Text-to-Video A14B with LoRAs

Creates a video from a text `prompt` while applying LoRA weights listed in `loras`. `reverse_video` plays the clip backwards. `num_frames` goes from 17 to 161, `resolution` is 480p, 580p or 720p, and aspect ratio is 16:9, 9:16 or 1:1. Film or rife interpolation and two guidance scales are available.

Parameters

NameType DefaultAllowed Description
promptrequired
Typestring
Text instructions that guide video generation.
negative_promptoptional
Typestring
Default
Negative prompt applied when generating a video.
num_framesoptional
Typeinteger
Default81
17 – 161
Frame count for generation, with an inclusive range of 17–161.
frames_per_secondoptional
Typeinteger | null
Default16
4 – 60
Generated video frame rate, accepting values from 4 to 60; setting `adjust_fps_for_interpolation` to false preserves this rate unchanged. With interpolation in use and `adjust_fps_for_interpolation` true (its default), multiply this rate by one plus the interpolated frame count to obtain the final FPS. For example, 16 FPS with 1 interpolated frame becomes 32 FPS.
seedoptional
Typeinteger | null
Seed that makes generation reproducible. Setting it to None selects a seed randomly.
resolutionoptional
Typeenum
Default720p
480p580p720p
Output video resolution: 480p, 580p, or 720p.
aspect_ratiooptional
Typeenum
Default16:9
16:99:161:1
Output video's aspect ratio, either 16:9 or 9:16.
num_inference_stepsoptional
Typeinteger
Default27
2 – 40
Sampling step count, trading longer processing time for better quality as the count increases.
enable_safety_checkeroptional
Typeboolean
Defaultfalse
Input safety screening before processing, which only authorized accounts may turn off. Requests lacking authorization are always screened; otherwise, true enables screening.
enable_output_safety_checkeroptional
Typeboolean
Defaultfalse
Controls safety screening of the generated video; setting true enables a check after generation.
enable_prompt_expansionoptional
Typeboolean
Defaultfalse
Allow a large language model to enrich the prompt with details. Enabling this expansion leaves the prompt's meaning unchanged.
accelerationoptional
Typeenum
Defaultregular
noneregular
Acceleration setting, with 'regular' as the recommended choice. Increasing acceleration sacrifices quality to shorten generation time.
guidance_scaleoptional
Typenumber
Default3.5
1 – 10
Classifier-free guidance strength, trading possible quality loss for closer prompt matching as the scale increases.
guidance_scale_2optional
Typenumber
Default4
1 – 10
Guidance scale controlling how closely the model follows the prompt during its second stage.
shiftoptional
Typenumber
Default5
1 – 10
Video shift setting, with an allowed range of 1.0–10.0.
interpolator_modeloptional
Typeenum
Defaultfilm
nonefilmrife
Frame interpolation setting: choose None to skip interpolation, or specify the model to perform it.
num_interpolated_framesoptional
Typeinteger
Default1
0 – 4
Insert 0–4 interpolated frames into every gap between two generated frames.
adjust_fps_for_interpolationoptional
Typeboolean
Defaulttrue
Frame-rate adjustment toggle: false preserves the supplied FPS, whereas true scales it by one plus the interpolated frame count. Thus, 16 FPS becomes 32 FPS when 1 frame is interpolated and adjustment is enabled.
video_qualityoptional
Typeenum
Defaulthigh
lowmediumhighmaximum
Output video quality setting that trades larger files for improved visuals as the setting increases.
video_write_modeoptional
Typeenum
Defaultbalanced
fastbalancedsmall
Video writing mode, with balanced offering a compromise between speed and quality. Choose small for the smallest files and slowest writing; faster writing returns results sooner but creates larger files.
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.
loras[].transformeroptional
Typeenum
Defaulthigh
highlowboth
Transformer destination for the LoRA weight. Select 'high' for the high-noise transformer, 'low' for the low-noise transformer, or 'both' to load the weight into both transformers.
reverse_videooptional
Typeboolean
Defaultfalse
Video reversal toggle; true reverses playback.
required

Output

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "wan/v2.2-a14b/text-to-video/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": 507,
    "usd": "0.507",
    "charged": 507,
    "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
    },
    "prompt": "A close-up of a young woman smiling gently in the rain, raindrops glistening on her face and eyelashes. The video captures the delicate details of her expression and the water droplets, with soft light reflecting off her skin in the rainy atmosphere.",
    "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.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.ru/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.
prompt
stringText prompt used to generate the video.
seed
integerSeed value applied during generation.

More models: Text to Video

For AI agents: this page as Markdown is at https://doitong.com/en-US/developers/models/wan/v2.2-a14b/text-to-video/lora.md. All models and guides: https://doitong.com/developers/llms.txt