コンテンツへスキップ

Heygen · Avatar4 · Image to Video

統合

モデルID heygen/avatar4/image-to-video
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.ru/v1/run/heygen/avatar4/image-to-video?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",
    "audio": "https://content.doitong.com/audio/showcase/v3/tools/dub_es.mp3"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

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

APIキーを取得
HeyGen リップシンクとアバター リップシンク1080pまで #image-to-video

1枚の顔写真を発話アバターにアニメーション化します。安定型または表現豊かな発話スタイルに対応します

HeyGen · 動画

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

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

リクエストを作成

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

アバターが発話するテキスト。

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

画像URLで指定するアニメーション元。顔がはっきり見える画像を選択します。

audio_url
ファイルをドロップ、または

ファイルURLで指定するリップシンク音声。指定時はプロンプトと音声の両方より優先されます。

resolution デフォルト 720p

動画の解像度プリセット:360p、480p、540p、720p、または1080p。

aspect_ratio デフォルト 16:9

動画のアスペクト比の選択。'auto'ではHeyGenが元の比率を読み取って維持し、読み取れない場合は'16:9'を使用します。明示的な選択肢は'16:9'、'9:16'、'4:5'、'5:4'、'1:1'です。

詳細設定 talking_style · voice · expression · caption · enable_safety_checker · background
talking_style デフォルト stable

発話アニメーションのスタイル。'stable'は動きを最小限に抑え、'expressive'はより多くのアニメーションを追加します。

アバターの音声を選択する音声名。

顔に表示する表情。

背景の設定。

POST /run/heygen/avatar4/image-to-video?wait=20 見積もり → $1.00
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.ru/v1/run/heygen/avatar4/image-to-video?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",
    "audio": "https://content.doitong.com/audio/showcase/v3/tools/dub_es.mp3"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

このリクエストを実行

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

Heygen · Avatar4 · Image to Videoについて

明瞭な顔を含む1枚の画像を発話アバター動画に変換します。発話テキストを含む`prompt`と`voice`名を指定するか、`audio_url`を指定します。`audio_url`は両方より優先されます。`talking_style`でstable(動きを最小限)とexpressiveを切り替えます。表情、背景、任意の字幕、360p~1080pの解像度も設定できます。

パラメータ

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

名前型 デフォルト許可される値 説明
image_url必須 image
型url · image
画像URLで指定するアニメーション元。顔がはっきり見える画像を選択します。
prompt任意
型string | null
アバターが発話するテキスト。
voice任意
型enum
Warm Pro NarratorChill BrianIvyJohn DoeMonika SogamHope Archer BrittneyPatrickDavid CastlemoreMichael CAdam Stone JuniperCassidy Jessica Anne BogartArabella
さらに86件AndrewSpuds Oxley Grace ElderHelenCanyon RiversDerya - Lifelike - Excited 🤩Mellow MarcusJack Sterling - Broadcaster 🎙️Brenda - UGC - 1.mp4ReidReaganTerryJennyRadio RickDeniseTim in car - Excited 🤩IskanderThompsonDelicate Daisy - Excited 🤩KingstonGeorge UGC 1Bold BlakeJaneExpressive EvanMarianne - IAAaronModern Recipe Host - Voice 1WillowCute Chloe - Friendly 😊RafaelJune - LifelikeCrisp ChloeSlick SimonNassim - InformativeBaritone BenMaxwellEllie Faye - Excited 🤩MilaniFeisty Fiona - Excited 🤩Professor DeanRose - UGC - 1.mp4ShonaHudson WilderAnn - IAAlastair KensingtonOxleyChristinaAndrew Rizz PeytonGerardo - OutdoorChloe - LifelikeStephanieAnthony - IASignal - Voice 1LucaLisa - Voice 1T.W.TuckerJack Sullivan - Serious 😐WinterMireia - LifelikeGeorgiaStellaMasha - LifelikeCharming Charles - Friendly 😊SerenityAnnie - ExcitedRalphBethanyDominicMason FinnLeenaVeteran VictorTamaraNik PublicCalm ChloeSevikReillyRaulImposing IanRelaxed RayDexter - ProfessionalRelaxed RickEdwinRupert BlackwoodGinnyHope
アバターの音声を選択する音声名。
audio_url任意 audio
型url · audio
ファイルURLで指定するリップシンク音声。指定時はプロンプトと音声の両方より優先されます。
talking_style任意
型enum
デフォルトstable
stableexpressive
発話アニメーションのスタイル。'stable'は動きを最小限に抑え、'expressive'はより多くのアニメーションを追加します。
expression任意
型string | null
顔に表示する表情。
background任意
型object
背景の設定。
background.type任意
型enum
デフォルトcolor
colorimagevideo
背景タイプの選択。
background.value任意
型string
デフォルト#FFFFFF
背景の内容。タイプが 'color' の場合は16進数カラー、'image' または 'video' の場合はURL。
resolution任意
型enum
デフォルト720p
360p480p540p720p1080p
動画の解像度プリセット:360p、480p、540p、720p、または1080p。
aspect_ratio任意
型enum
デフォルト16:9
16:99:164:55:41:1auto
動画のアスペクト比の選択。'auto'ではHeyGenが元の比率を読み取って維持し、読み取れない場合は'16:9'を使用します。明示的な選択肢は'16:9'、'9:16'、'4:5'、'5:4'、'1:1'です。
caption任意
型boolean
デフォルトfalse
動画に字幕を含めるかどうかを制御します。
enable_safety_checker任意
型boolean
デフォルトtrue
呼び出し元に権限がある場合、false に設定するとスクリーニングを緩和できます。
必須 正式名称(こちらも使用可能)

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

出力

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "heygen/avatar4/image-to-video",
  "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": 1000,
    "usd": "1.00",
    "charged": 1000,
    "refunded": 0
  },
  "input": {
    "image_url": "https://content.doitong.com/images/showcase/v3/avatar/talking_avatar.jpg",
    "audio_url": "https://content.doitong.com/audio/showcase/v3/tools/dub_es.mp3"
  },
  "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
    }
  },
  "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.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.ru/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}生成された動画ファイル。

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

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