सामग्री पर जाएँ

Wan 2.2 14B Image Trainer

इंटीग्रेट करें

मॉडल 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"

उदाहरण जैसी फ़ाइलें: $4.50 4,500 API क्रेडिट चलाने से पहले आपकी फ़ाइलों को मापा जाता है इसे इस पेज पर चलाएँ

API कुंजी प्राप्त करें
Alibaba ट्रेनिंग #lora#personalization

अपने विषय या शैली के लिए आपकी छवियों पर Wan 2.2 14B LoRA को प्रशिक्षित करता है और कम तथा अधिक नॉइज़ वाली LoRA फ़ाइलें लौटाता है

Doitong पर बनाया गया

Doitong समुदाय द्वारा Wan 2.2 14B Image 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...

अनुरोध बनाएँ

कंट्रोल मॉडल स्कीमा से जनरेट होते हैं। इन्हें बदलने पर कोड और कीमत अपडेट होती है।

•आवश्यक

URL के रूप में प्रशिक्षण डेटा का स्थान।

•आवश्यक

मॉडल को सक्रिय करने के लिए उपयोग किया जाने वाला वाक्यांश।

डिफ़ॉल्ट 1000

प्रशिक्षण स्टेप की कुल संख्या।

उन्नत learning_rate · include_synthetic_captions · use_face_detection · use_face_cropping · use_masks · is_style
डिफ़ॉल्ट 0.0007

प्रशिक्षण के दौरान सीखने की दर।

POST /run/wan-22-image-trainer?wait=20 कोटेशन → $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"

यह अनुरोध चलाएँ

आपकी key इसी ब्राउज़र में रहती है: इसे केवल Doitong API को भेजा जाता है और केवल तभी (localStorage) में सेव किया जाता है जब आप Remember चुनते हैं। API कुंजी प्राप्त करें

Wan 2.2 14B Image Trainer के बारे में

`training_data_url` पर मौजूद डेटासेट से Wan 2.2 text-to-image के लिए LoRA को फ़ाइन-ट्यून करता है, जिसके लिए `trigger_phrase` आवश्यक है। `steps` की सीमा 10 से 6000 और `learning_rate` की सीमा 1e-6 से 0.1 है। फेस डिटेक्शन, फेस क्रॉपिंग और मास्क को टॉगल किया जा सकता है, तथा `is_style` फेस-विशिष्ट विकल्पों को बंद करता है। आउटपुट में एक कॉन्फ़िग फ़ाइल और अलग-अलग कम नॉइज़ तथा अधिक नॉइज़ वाली LoRA फ़ाइलें शामिल हैं।

पैरामीटर

नामप्रकार डिफ़ॉल्टअनुमत विवरण
training_data_urlआवश्यक
प्रकारstring
URL के रूप में प्रशिक्षण डेटा का स्थान।
trigger_phraseआवश्यक
प्रकारstring
मॉडल को सक्रिय करने के लिए उपयोग किया जाने वाला वाक्यांश।
include_synthetic_captionsवैकल्पिक
प्रकारboolean
डिफ़ॉल्टfalse
सिंथेटिक कैप्शन शामिल करने को नियंत्रित करता है।
use_face_detectionवैकल्पिक
प्रकारboolean
डिफ़ॉल्टtrue
प्रशिक्षण इमेज के लिए फेस-केंद्रित आकार बदलने का टॉगल: फेस डिटेक्शन सक्षम करने पर आकार बदलते समय पहचाने गए चेहरे का केंद्र इमेज का केंद्र बन जाता है।
use_face_croppingवैकल्पिक
प्रकारboolean
डिफ़ॉल्टfalse
प्रशिक्षण इमेज के लिए फेस-क्रॉपिंग टॉगल, सक्षम होने पर आकार बदलने के चरण से पहले चेहरे के चारों ओर क्रॉप जोड़ता है।
use_masksवैकल्पिक
प्रकारboolean
डिफ़ॉल्टtrue
प्रशिक्षण डेटा के लिए मास्क उपयोग को नियंत्रित करता है।
stepsवैकल्पिक
प्रकारinteger
डिफ़ॉल्ट1000
10 – 6,000
प्रशिक्षण स्टेप की कुल संख्या।
learning_rateवैकल्पिक
प्रकारnumber
डिफ़ॉल्ट0.0007
0.000001 – 0.1
प्रशिक्षण के दौरान सीखने की दर।
is_styleवैकल्पिक
प्रकारboolean
डिफ़ॉल्टfalse
प्रशिक्षण के लिए स्टाइल-डेटा संकेत; इसे true पर सेट करने से फेस-विशिष्ट सुविधाएँ, जिनमें मास्किंग और फेस डिटेक्शन शामिल हैं, बंद हो जाती हैं।
आवश्यक

आउटपुट

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"
  }
}
आपकी फ़ाइलें, आपकी पसंदहर outputs[].url हमारे स्टोरेज में एक कॉपी है: हमेशा के लिए (प्रति GB-माह भुगतान) या 7 दिन तक मुफ़्त में, आपके अकाउंट की सेटिंग या ?storage= के अनुसार।
हर मॉडल पर एक जैसा आकारइमेज, वीडियो और ऑडियो सभी के लिए type, url, content_type, width, height और duration। output मॉडल का अपना परिणाम ऑब्जेक्ट है।
आउटपुट के फ़ील्ड
diffusers_lora_file
object {url, content_type, file_name, file_size}कम नॉइज़ के लिए LoRA फ़ाइल।
high_noise_lora
object {url, content_type, file_name, file_size}अधिक नॉइज़ के लिए LoRA फ़ाइल।
config_file
object {url, content_type, file_name, file_size}प्रशिक्षण के बाद इन्फरेंस एंडपॉइंट का समर्थन करने वाली कॉन्फ़िगरेशन फ़ाइल।

AI एजेंट के लिए: इस पेज का Markdown यहाँ है https://doitong.com/hi/developers/models/wan-22-image-trainer.md. सभी मॉडल और गाइड: https://doitong.com/developers/llms.txt