Skip to content

Wan 2.2 14B Image Trainer

Integrate

Model id wan-22-image-trainer
# 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-22-image-trainer?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "training_data_url": "https://example.com/your-file.zip",
    "trigger_phrase": "example"
  }'

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

Files like the example: $4.50 4,500 API credits your files are measured before the run Run it on this page

Get API key
Alibaba Training #lora#personalization

Trains a Wan 2.2 14B LoRA on your images for a subject or a style, returning low and high noise LoRA files

Made on Doitong

Public works made with Wan 2.2 14B Image Trainer 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

Training data location as a URL.

•required

Phrase used to trigger the model.

default 1000

Total count of training steps.

Advanced learning_rate · include_synthetic_captions · use_face_detection · use_face_cropping · use_masks · is_style
default 0.0007

Rate of learning during training.

POST /run/wan-22-image-trainer?wait=20 quote → $4.50
# 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-22-image-trainer?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "training_data_url": "https://example.com/your-file.zip",
    "trigger_phrase": "example"
  }'

# 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.2 14B Image Trainer

Fine-tunes a LoRA for Wan 2.2 text-to-image from a dataset at `training_data_url`, keyed to a required `trigger_phrase`. `steps` ranges from 10 to 6000 and `learning_rate` from 1e-6 to 0.1. Face detection, face cropping and masks can be toggled, and `is_style` turns off the face-specific options. Outputs include a config file plus separate low noise and high noise LoRA files.

Parameters

NameType DefaultAllowed Description
training_data_urlrequired
Typestring
Training data location as a URL.
trigger_phraserequired
Typestring
Phrase used to trigger the model.
include_synthetic_captionsoptional
Typeboolean
Defaultfalse
Controls inclusion of synthetic captions.
use_face_detectionoptional
Typeboolean
Defaulttrue
Face-centered resizing toggle for training images: enabling face detection makes the detected face's center the image center during resizing.
use_face_croppingoptional
Typeboolean
Defaultfalse
Face-cropping toggle for training images, adding a crop around the face ahead of the resizing step when enabled.
use_masksoptional
Typeboolean
Defaulttrue
Controls mask usage for training data.
stepsoptional
Typeinteger
Default1000
10 – 6,000
Total count of training steps.
learning_rateoptional
Typenumber
Default0.0007
0.000001 – 0.1
Rate of learning during training.
is_styleoptional
Typeboolean
Defaultfalse
Style-data designation for training; setting it to true turns off face-specific features, including masking and face detection.
required

Output

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "wan-22-image-trainer",
  "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": 4500,
    "usd": "4.50",
    "charged": 4500,
    "refunded": 0
  },
  "input": {
    "training_data_url": "https://example.com/your-file.zip",
    "trigger_phrase": "example"
  },
  "output": {
    "diffusers_lora_file": {
      "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
    },
    "high_noise_lora": {
      "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
    },
    "config_file": {
      "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
    }
  },
  "outputs": [
    {
      "type": "file",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
      "content_type": "image/jpeg",
      "file_size": 1843200,
      "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
diffusers_lora_file
object {url, content_type, file_name, file_size}LoRA file for low noise.
high_noise_lora
object {url, content_type, file_name, file_size}LoRA file for high noise.
config_file
object {url, content_type, file_name, file_size}Configuration file supporting inference endpoints following training.

For AI agents: this page as Markdown is at https://doitong.com/en-US/developers/models/wan-22-image-trainer.md. All models and guides: https://doitong.com/developers/llms.txt