ਸਮੱਗਰੀ ਵੱਲ ਜਾਓ

Wan-2.1 LoRA Trainer · T2V

ਇੰਟੀਗ੍ਰੇਟ ਕਰੋ

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

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

ਇਹ ਬੇਨਤੀ: $2.00 2,000 API ਕ੍ਰੈਡਿਟ ਇਸ ਪੰਨੇ ’ਤੇ ਚਲਾਓ

API ਕੁੰਜੀ ਲਵੋ
Alibaba ਟ੍ਰੇਨਿੰਗ #lora#training

ਛੋਟੇ Wan 2.1 text-to-video 1.3B ਮਾਡਲ ਲਈ LoRA ਟ੍ਰੇਨਰ, ਇਮੇਜਾਂ ਜਾਂ ਵੀਡੀਓਜ਼ ਦੀ zip ਤੋਂ

Doitong ’ਤੇ ਬਣਾਇਆ ਗਿਆ

Doitong ਭਾਈਚਾਰੇ ਵੱਲੋਂ Wan-2.1 LoRA Trainer ਨਾਲ ਬਣਾਏ ਜਨਤਕ ਕੰਮ। ਇੱਕ ਕਲਿੱਕ ਨਾਲ ਪ੍ਰੌਮਪਟ ਦੁਬਾਰਾ ਵਰਤੋ।

ਦਿਖਾਏ ਗਏ ਜਨਤਕ ਕੰਮ: 4
Create a highly realistic UGC-style smartphone video inside a modern commercial airplane during a... ਵੀਡੀਓ

Create a highly realistic UGC-style smartphone video inside a modern commercial airplane during a daytime flight. Natural cabin lighting, subtle handheld camera movement, authentic airplane ambience, realistic passengers and natural acting. The video must feel like a real spontaneous phone...

**SORA 2 PROMPT — 20 seconds, vertical 9:16** Create a highly realistic UGC-style smartphone vide... ਵੀਡੀਓ

**SORA 2 PROMPT — 20 seconds, vertical 9:16** Create a highly realistic UGC-style smartphone video inside a modern commercial airplane during a daytime flight. Natural cabin lighting, subtle handheld camera movement, authentic airplane ambience, realistic passengers and natural acting. The video...

Create a realistic cinematic 20-second video, filmed like a high-budget modern commercial with na... ਵੀਡੀਓ

Create a realistic cinematic 20-second video, filmed like a high-budget modern commercial with natural acting, realistic lighting and believable facial expressions. All dialogue is spoken naturally in French. **SCENE 1 — EXPENSIVE RESTAURANT, EVENING — 0–5 sec** A young man in his late 20s is...

Create a realistic cinematic UGC-style commercial video, exactly 30 seconds long. The entire scen... ਵੀਡੀਓ

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...

ਰਿਕਵੈਸਟ ਬਣਾਓ

ਕੰਟਰੋਲ ਮਾਡਲ ਸਕੀਮਾ ਤੋਂ ਤਿਆਰ ਹੁੰਦੇ ਹਨ। ਤੁਸੀਂ ਬਦਲਾਅ ਕਰਦੇ ਹੀ ਕੋਡ ਅਤੇ ਕੀਮਤ ਅੱਪਡੇਟ ਹੋ ਜਾਂਦੇ ਹਨ।

•ਲੋੜੀਂਦਾ

ਇਕਸਾਰ ਸਟਾਈਲ ਵਾਲੇ ਚਿੱਤਰਾਂ ਲਈ ਟ੍ਰੇਨਿੰਗ ZIP ਆਰਕਾਈਵ URL, ਜਿਸ ਵਿੱਚ ਵਿਕਲਪਿਕ ਤੌਰ 'ਤੇ ਸੰਬੰਧਿਤ ਚਿੱਤਰ ਜਾਂ ਵੀਡੀਓ ਫ਼ਾਈਲਾਂ ਦੇ ਨਾਮ ਨਾਲ ਮੇਲ ਖਾਂਦੀਆਂ ਕੈਪਸ਼ਨ ਟੈਕਸਟ ਫ਼ਾਈਲਾਂ ਸ਼ਾਮਲ ਹੋ ਸਕਦੀਆਂ ਹਨ। ਘੱਟੋ-ਘੱਟ 10 ਚਿੱਤਰ, ਵੀਡੀਓ ਜਾਂ ਦੋਵਾਂ ਦਾ ਮਿਸ਼ਰਣ ਸ਼ਾਮਲ ਕਰਨ ਦਾ ਲਕਸ਼ ਰੱਖੋ; ਵੱਡੇ ਸੰਗ੍ਰਹਿ ਵਧੇਰੇ ਪਸੰਦ ਕੀਤੇ ਜਾਂਦੇ ਹਨ।

ਡਿਫ਼ਾਲਟ 400

ਟ੍ਰੇਨਿੰਗ ਲਈ ਕੁੱਲ ਕਦਮਾਂ ਦੀ ਗਿਣਤੀ।

ਉੱਨਤ trigger_phrase · learning_rate · auto_scale_input
ਡਿਫ਼ਾਲਟ

ਮਾਡਲ ਨੂੰ ਚਿੱਤਰ ਬਣਾਉਣ ਲਈ ਕਹਿਣ ਵਾਲਾ ਵਾਕਾਂਸ਼।

ਡਿਫ਼ਾਲਟ 0.0002

ਸਿੱਖਣ-ਦਰ ਸੈਟਿੰਗ: ਦਰ ਵਧਾਉਣ ਨਾਲ ਟ੍ਰੇਨਿੰਗ ਤੇਜ਼ ਹੋ ਸਕਦੀ ਹੈ, ਪਰ ਓਵਰਫਿਟਿੰਗ ਦਾ ਜੋਖ਼ਮ ਰਹਿੰਦਾ ਹੈ।

POST /run/wan-trainer/t2v?wait=20 ਕੋਟ → $2.00
# 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-trainer/t2v?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "training_data_url": "https://example.com/your-file.zip"
  }'

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

ਇਹ ਬੇਨਤੀ ਚਲਾਓ

ਤੁਹਾਡੀ key ਇਸ ਬ੍ਰਾਊਜ਼ਰ ਵਿੱਚ ਰਹਿੰਦੀ ਹੈ: ਇਹ ਸਿਰਫ਼ Doitong API ਨੂੰ ਭੇਜੀ ਜਾਂਦੀ ਹੈ ਅਤੇ ਸਿਰਫ਼ ਤਾਂ ਹੀ (localStorage) ਵਿੱਚ ਸੁਰੱਖਿਅਤ ਹੁੰਦੀ ਹੈ ਜੇ ਤੁਸੀਂ Remember ਚੁਣੋ। API ਕੁੰਜੀ ਪ੍ਰਾਪਤ ਕਰੋ

Wan-2.1 LoRA Trainer · T2V ਬਾਰੇ

`training_data_url` 'ਤੇ ਮੌਜੂਦ zip ਆਰਕਾਈਵ ਤੋਂ Wan 2.1 text-to-video 1.3B ਲਈ LoRA ਟ੍ਰੇਨ ਕਰਦਾ ਹੈ, ਜਿਸ ਵਿੱਚ ਟੈਕਸਟ ਫ਼ਾਈਲਾਂ ਵਜੋਂ ਕੈਪਸ਼ਨ ਸ਼ਾਮਲ ਹੋ ਸਕਦੇ ਹਨ। `number_of_steps` ਨੂੰ 100 ਅਤੇ 20000 ਦੇ ਵਿਚਕਾਰ ਸੈੱਟ ਕਰੋ ਅਤੇ `learning_rate` ਨੂੰ ਟਿਊਨ ਕਰੋ। `trigger_phrase` ਵਿਕਲਪਿਕ ਹੈ, ਅਤੇ `auto_scale_input` ਵੀਡੀਓ ਨੂੰ 16fps 'ਤੇ 81 ਫ੍ਰੇਮਾਂ ਵਿੱਚ ਬਦਲਦਾ ਹੈ। LoRA ਵਜ਼ਨ ਅਤੇ ਇੱਕ ਕੌਂਫ਼ਿਗ ਫ਼ਾਈਲ ਵਾਪਸ ਕਰਦਾ ਹੈ।

ਪੈਰਾਮੀਟਰ

ਨਾਮਕਿਸਮ ਡਿਫ਼ਾਲਟਮਨਜ਼ੂਰਸ਼ੁਦਾ ਵੇਰਵਾ
training_data_urlਲੋੜੀਂਦਾ
ਕਿਸਮstring
ਇਕਸਾਰ ਸਟਾਈਲ ਵਾਲੇ ਚਿੱਤਰਾਂ ਲਈ ਟ੍ਰੇਨਿੰਗ ZIP ਆਰਕਾਈਵ URL, ਜਿਸ ਵਿੱਚ ਵਿਕਲਪਿਕ ਤੌਰ 'ਤੇ ਸੰਬੰਧਿਤ ਚਿੱਤਰ ਜਾਂ ਵੀਡੀਓ ਫ਼ਾਈਲਾਂ ਦੇ ਨਾਮ ਨਾਲ ਮੇਲ ਖਾਂਦੀਆਂ ਕੈਪਸ਼ਨ ਟੈਕਸਟ ਫ਼ਾਈਲਾਂ ਸ਼ਾਮਲ ਹੋ ਸਕਦੀਆਂ ਹਨ। ਘੱਟੋ-ਘੱਟ 10 ਚਿੱਤਰ, ਵੀਡੀਓ ਜਾਂ ਦੋਵਾਂ ਦਾ ਮਿਸ਼ਰਣ ਸ਼ਾਮਲ ਕਰਨ ਦਾ ਲਕਸ਼ ਰੱਖੋ; ਵੱਡੇ ਸੰਗ੍ਰਹਿ ਵਧੇਰੇ ਪਸੰਦ ਕੀਤੇ ਜਾਂਦੇ ਹਨ।
number_of_stepsਵਿਕਲਪਿਕ
ਕਿਸਮinteger
ਡਿਫ਼ਾਲਟ400
100 – 20,000
ਟ੍ਰੇਨਿੰਗ ਲਈ ਕੁੱਲ ਕਦਮਾਂ ਦੀ ਗਿਣਤੀ।
learning_rateਵਿਕਲਪਿਕ
ਕਿਸਮnumber
ਡਿਫ਼ਾਲਟ0.0002
0.000001 – 1
ਸਿੱਖਣ-ਦਰ ਸੈਟਿੰਗ: ਦਰ ਵਧਾਉਣ ਨਾਲ ਟ੍ਰੇਨਿੰਗ ਤੇਜ਼ ਹੋ ਸਕਦੀ ਹੈ, ਪਰ ਓਵਰਫਿਟਿੰਗ ਦਾ ਜੋਖ਼ਮ ਰਹਿੰਦਾ ਹੈ।
trigger_phraseਵਿਕਲਪਿਕ
ਕਿਸਮstring
ਡਿਫ਼ਾਲਟ
ਮਾਡਲ ਨੂੰ ਚਿੱਤਰ ਬਣਾਉਣ ਲਈ ਕਹਿਣ ਵਾਲਾ ਵਾਕਾਂਸ਼।
auto_scale_inputਵਿਕਲਪਿਕ
ਕਿਸਮboolean
ਡਿਫ਼ਾਲਟfalse
ਇਨਪੁੱਟ ਵੀਡੀਓ ਨੂੰ ਆਪਣੇ ਆਪ ਸਕੇਲ ਕਰਨਾ ਹੈ ਜਾਂ ਨਹੀਂ: true ਇਸ ਦੀ ਲੰਬਾਈ 81 ਫ੍ਰੇਮ ਅਤੇ ਫ੍ਰੇਮ ਦਰ 16 fps ਕਰਦਾ ਹੈ।
ਲੋੜੀਂਦਾ

ਆਉਟਪੁੱਟ

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "wan-trainer/t2v",
  "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": 2000,
    "usd": "2.00",
    "charged": 2000,
    "refunded": 0
  },
  "input": {
    "training_data_url": "https://example.com/your-file.zip"
  },
  "output": {
    "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
    },
    "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"
  }
}
ਤੁਹਾਡੀਆਂ ਫ਼ਾਈਲਾਂ, ਤੁਹਾਡੀ ਚੋਣਹਰ outputs[].url ਸਾਡੇ ਸਟੋਰੇਜ ਵਿੱਚ ਇੱਕ ਕਾਪੀ ਹੈ: ਹਮੇਸ਼ਾ ਲਈ ਰੱਖੀ ਜਾਂਦੀ ਹੈ (ਪ੍ਰਤੀ GB-ਮਹੀਨਾ ਭੁਗਤਾਨ) ਜਾਂ 7 ਦਿਨ ਤੱਕ ਮੁਫ਼ਤ, ਤੁਹਾਡੀ ਖਾਤਾ ਸੈਟਿੰਗ ਜਾਂ ?storage= ਅਨੁਸਾਰ।
ਹਰ ਮਾਡਲ ’ਤੇ ਇੱਕੋ ਜਿਹਾ ਰੂਪਤਸਵੀਰਾਂ, ਵੀਡੀਓ ਅਤੇ ਆਡੀਓ ਸਭ ਲਈ type, url, content_type, width, height ਅਤੇ duration। output ਮਾਡਲ ਦਾ ਆਪਣਾ ਨਤੀਜਾ ਆਬਜੈਕਟ ਹੈ।
ਆਉਟਪੁੱਟ ਦੇ ਫ਼ੀਲਡ
lora_file
object {url, content_type, file_name, file_size}ਟ੍ਰੇਨਿੰਗ ਦੁਆਰਾ ਬਣਾਏ ਗਏ LoRA ਵਜ਼ਨਾਂ ਵੱਲ ਇਸ਼ਾਰਾ ਕਰਨ ਵਾਲਾ URL।
config_file
object {url, content_type, file_name, file_size}ਇਨਫਰੈਂਸ ਐਂਡਪੋਇੰਟਾਂ ਨੂੰ ਸ਼ੁਰੂ ਕਰਨ ਲਈ ਕਨਫ਼ਿਗਰੇਸ਼ਨ।

ਹੋਰ ਮਾਡਲ: ਟ੍ਰੇਨਿੰਗ

AI ਏਜੰਟਾਂ ਲਈ: ਇਹ ਪੰਨਾ Markdown ਵਜੋਂ ਇੱਥੇ ਹੈ https://doitong.com/pa/developers/models/wan-trainer/t2v.md. ਸਾਰੇ ਮਾਡਲ ਅਤੇ ਗਾਈਡ: https://doitong.com/developers/llms.txt