Saltar al cuntegna

Wan 2.2 14B Image Trainer

Integrar

ID dal model 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"

Datotecas sco l'exempel: $4,50 4 500 credits API tias datotecas vegnan mesiradas avant l'execuziun Lantschar sin questa pagina

Obtegna ina clav API
Alibaba Training #lora#personalization

Trenescha ina LoRA Wan 2.2 14B cun tes maletgs per in subject u stil, e returnescha datotecas LoRA cun ramur bassa ed auta

Fatg sin Doitong

Ovras publicas fatgas cun Wan 2.2 14B Image Trainer da la communitad Doitong. Reutilisescha in prompt cun in clic.

Ovras publicas mussadas: 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

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

Construir ina dumonda

Ils controls vegnan generads dal schema dal model. Il code e ​​il pretsch s'actualiseschan durant che ti als midas.

•obligatori

Lieu da las datas da trenament sco URL.

•obligatori

Expressiun utilisada per activar il model.

standard 1000

Dumber total da pass da trenaziun.

Avanzà learning_rate · include_synthetic_captions · use_face_detection · use_face_cropping · use_masks · is_style
standard 0.0007

Rata d'emprender durant il trenament.

POST /run/wan-22-image-trainer?wait=20 calculaziun → $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"

Executar questa dumonda

Tia clav resta en quest browser: ella vegn tramessa mo al Doitong API e memorisada (localStorage) mo sch'ella scheccas Tiar a memoria. Obtegnair ina clav API

Davart Wan 2.2 14B Image Trainer

Adattescha finamain ina LoRA per Wan 2.2 text-to-image d'in dataset a `training_data_url`, collià ad ina `trigger_phrase` obligatorica. `steps` varia da 10 fin 6000 e `learning_rate` da 1e-6 fin 0.1. Detectaziun da fatschas, retagl da fatschas e mascas pon vegnir activads u deactivads, e `is_style` deactivescha las opziuns specificas per fatschas. Ils outputs includan ina datoteca da configuraziun e datotecas LoRA separadas per rumur bassa ed auta.

Parameters

NumTip StandardPermess Descripziun
training_data_urlobligatori
Tipstring
Lieu da las datas da trenament sco URL.
trigger_phraseobligatori
Tipstring
Expressiun utilisada per activar il model.
include_synthetic_captionsopziunal
Tipboolean
Standardfalse
Controlla l'inclusiun da suttitels sinteticas.
use_face_detectionopziunal
Tipboolean
Standardtrue
Activaziun dal resizement centrà sin la fatscha per maletgs da trenament: l'activaziun da la detecziun da fatschas fa dal center da la fatscha detectada il center dal maletg durant il resizement.
use_face_croppingopziunal
Tipboolean
Standardfalse
Activaziun dal tagl da fatschas per maletgs da trenament; sch'activada, agiunta in tagl enturn la fatscha avant il pass da resizement.
use_masksopziunal
Tipboolean
Standardtrue
Controlla l'utilisaziun da mascras per las datas da trenament.
stepsopziunal
Tipinteger
Standard1000
10 – 6 000
Dumber total da pass da trenaziun.
learning_rateopziunal
Tipnumber
Standard0.0007
0,000001 – 0,1
Rata d'emprender durant il trenament.
is_styleopziunal
Tipboolean
Standardfalse
Designaziun da datas da stil per il trenament; fixar a true deactivescha las funcziuns specificas a la fatscha, inclus mascra e detecziun da fatschas.
obligatori

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"
  }
}
Tias datotecas, tia decisiunMintga outputs[].url è ina copia en nossa memorisaziun: conservada per adina (pajà per GB-mes) u 7 dis gratuitamain, tenor la configuraziun dal conto u ?storage=.
La medema structura per mintga modeltype, url, content_type, width, height e duration, tant per maletgs sco per video e audio. output è l'object da resultat dal model sez.
Champs da l'output
diffusers_lora_file
object {url, content_type, file_name, file_size}Datoteca LoRA per bassa canera.
high_noise_lora
object {url, content_type, file_name, file_size}Datoteca LoRA per auta canera.
config_file
object {url, content_type, file_name, file_size}Datoteca da configuraziun che sustegna ils endpoints d'inferenza suenter il trenament.

Per agents AI: questa pagina sco Markdown è disponibla sut https://doitong.com/rm/developers/models/wan-22-image-trainer.md. Tut ils models e las guidas: https://doitong.com/developers/llms.txt