コンテンツへスキップ

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で作成した公開作品です。ワンクリックでプロンプトを再利用できます。

公開作品:2件
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"

このリクエストを実行

キーはこのブラウザ内に保持されます。Doitong APIにのみ送信され、「記憶する」にチェックを入れた場合のみlocalStorageに保存されます。 APIキーを取得

Wan 2.2 14B Image Trainerについて

`training_data_url`のデータセットからWan 2.2テキストから画像生成用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はストレージ上のコピーです。アカウント設定または?storage=により、永久保存(GB・月単位で有料)または無料で7日保存できます。
すべてのモデルで同じ形式画像、動画、音声のいずれでも、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/ja/developers/models/wan-22-image-trainer.md. すべてのモデルとガイド: https://doitong.com/developers/llms.txt