Skip to content

Wan v2.2 A14B Text-to-Image A14B with LoRAs

Integrate

Model id wan/v2.2-a14b/text-to-image/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-image/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.05 50 API credits · ≈ ₽5.37 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 the generated image.

image_size default square_hd

Dimensions of the generated image.

Advanced negative_prompt · acceleration · image_format · num_inference_steps · guidance_scale · guidance_scale_2 · shift · seed · enable_safety_checker · enable_output_safety_checker · enable_prompt_expansion · 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.

image_format default jpeg

File format for the resulting image.

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 2

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

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-image/lora?wait=20 quote → $0.05
# 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-image/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 v2.2 A14B Text-to-Image A14B with LoRAs

Generates an image from a `prompt` and applies custom LoRA weights passed in `loras`. `image_size` offers square, portrait and landscape presets, and `image_format` is png or jpeg. It also has `guidance_scale`, `guidance_scale_2`, `num_inference_steps` up to 40 and a `negative_prompt`.

Parameters

NameType DefaultAllowed Description
promptrequired
Typestring
Text instructions that guide the generated image.
negative_promptoptional
Typestring
Default
Negative prompt applied when generating a video.
seedoptional
Typeinteger | null
Seed that makes generation reproducible. Setting it to None selects a seed randomly.
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
Default2
1 – 10
Image shift setting, with an allowed range of 1.0–10.0.
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.
image_sizeoptional
Typeobject
Defaultsquare_hd
square_hdsquareportrait_4_3portrait_16_9landscape_4_3landscape_16_9
Dimensions of the generated image.
image_formatoptional
Typeenum
Defaultjpeg
pngjpeg
File format for the resulting image.
required

Output

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "wan/v2.2-a14b/text-to-image/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": 50,
    "usd": "0.05",
    "charged": 50,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  },
  "output": {
    "image": {
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
      "content_type": "image/jpeg",
      "file_name": "0-output.jpeg",
      "file_size": 1843200
    },
    "seed": 42
  },
  "outputs": [
    {
      "type": "image",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
      "content_type": "image/jpeg",
      "file_size": 1843200,
      "width": 1024,
      "height": 768,
      "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
image
object {url, content_type, file_name, file_size}Image file produced by generation.
seed
integerSeed value applied during generation.

More models: Text to Image

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