コンテンツへスキップ

AI Avatar Multi

統合

モデルID ai-avatar/multi
# 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/ai-avatar/multi?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "image": "https://content.doitong.com/images/showcase/v3/avatar/talking_avatar.jpg",
    "first_audio_url": "https://content.doitong.com/audio/showcase/v3/tools/dub_es.mp3",
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  }'

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

例と同様のファイル: $1.81 1,810 APIクレジット 実行前にファイルを計測します このページで実行

APIキーを取得
Open model リップシンクとアバター リップシンク720pまで #stylized#transform

1 つまたは 2 つのアップロード音声トラックを使い、静止画を 2 人の会話動画にアニメーション化します

Open model · 動画

最初の結果がここに表示されます

以下でリクエストを作成し、APIキーで実行してください。出力はストレージにコピーされ、永久保存または無料で7日保存されます。

リクエストを作成

コントロールはモデルスキーマから生成されます。値を変更するとコードと価格が更新されます。

•必須

動画生成を導くテキスト指示。

•必須 image_url
ファイルをドロップ、または

ソース画像 URL。選択したアスペクト比によって前処理の要否が決まり、不一致の場合はリサイズ後に中央クロップされます。

•必須
ファイルをドロップ、または

Person 1 の音声ファイル URL。

resolution デフォルト 480p

出力動画の解像度。480p と 720p のみ対応しています。

デフォルト 181

生成時のフレーム数。81 から 129 まで(両端を含む)。

詳細設定 second_audio_url · acceleration · seed · use_only_first_audio · enable_safety_checker
ファイルをドロップ、または

Person 2 の音声ファイル URL。

acceleration デフォルト regular

生成時に適用するアクセラレーションレベル。

デフォルト 81

生成を再現可能にするシード。None に設定するとシードをランダムに選択します。

POST /run/ai-avatar/multi?wait=20 見積もり → $1.81
# 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/ai-avatar/multi?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "image": "https://content.doitong.com/images/showcase/v3/avatar/talking_avatar.jpg",
    "first_audio_url": "https://content.doitong.com/audio/showcase/v3/tools/dub_es.mp3",
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  }'

# 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キーを取得

AI Avatar Multiについて

1 枚の画像に加えて `first_audio_url` と任意の `second_audio_url` を受け取り、画像内の人物が交互に話す動画を生成します。必須の `prompt` がシーンを誘導します。出力は 480p または 720p で、`num_frames` は 41 から 241 まで指定できます。`use_only_first_audio` を使うと最初のトラックだけに限定でき、`acceleration` は none、regular、high のいずれかです。

パラメータ

正式名称またはネイティブ名のいずれか一方を送信してください。両方は送信しないでください。 正式名称

名前型 デフォルト許可される値 説明
image_url必須 image
型url · image
ソース画像 URL。選択したアスペクト比によって前処理の要否が決まり、不一致の場合はリサイズ後に中央クロップされます。
first_audio_url必須
型url · audio
Person 1 の音声ファイル URL。
second_audio_url任意
型url · audio
Person 2 の音声ファイル URL。
prompt必須
型string
動画生成を導くテキスト指示。
num_frames任意
型integer
デフォルト181
41 – 241
生成時のフレーム数。81 から 129 まで(両端を含む)。
resolution任意
型enum
デフォルト480p
480p720p
出力動画の解像度。480p と 720p のみ対応しています。
seed任意
型integer
デフォルト81
0 – 4,294,967,295
生成を再現可能にするシード。None に設定するとシードをランダムに選択します。
use_only_first_audio任意
型boolean
デフォルトfalse
最初の音声ファイルのみを使用するかどうかを制御します。
acceleration任意
型enum
デフォルトregular
noneregularhigh
生成時に適用するアクセラレーションレベル。
enable_safety_checker任意
型boolean
デフォルトtrue
呼び出し元に権限がある場合、false に設定するとスクリーニングを緩和できます。
必須 正式名称(こちらも使用可能)

ファイルパラメータには、公開されたhttps:// URL、10 MBまでのdata: URI、またはアップロードしたファイルのfile_urlを指定します。 ファイル

出力

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "ai-avatar/multi",
  "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": 1810,
    "usd": "1.81",
    "charged": 1810,
    "refunded": 0
  },
  "input": {
    "image_url": "https://content.doitong.com/images/showcase/v3/avatar/talking_avatar.jpg",
    "first_audio_url": "https://content.doitong.com/audio/showcase/v3/tools/dub_es.mp3",
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  },
  "output": {
    "video": {
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp4",
      "content_type": "video/mp4",
      "file_name": "0-output.mp4",
      "file_size": 1843200
    },
    "seed": 42
  },
  "outputs": [
    {
      "type": "video",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp4",
      "content_type": "video/mp4",
      "file_size": 1843200,
      "width": 1280,
      "height": 720,
      "duration": 5,
      "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はモデル独自の結果オブジェクトです。
出力フィールド
video
object {url, content_type, file_name, file_size}生成された動画ファイル。
seed
integer生成時に適用したシード値。

その他のモデル: リップシンクとアバター

AIエージェント向け:このページのMarkdown版はこちらです: https://doitong.com/ja/developers/models/ai-avatar/multi.md. すべてのモデルとガイド: https://doitong.com/developers/llms.txt