Skip to content

Heygen Lipsync - Speed

Integrate

Model id heygen/v3/lipsync/speed
# 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/heygen/v3/lipsync/speed?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "video": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4",
    "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.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Files like the example: $0.50 500 API credits your files are measured before the run Run it on this page

Get API key
HeyGen Lipsync & Avatars Lipsync #stylized#transform

Faster audio-only lip-sync dubbing of an existing video with replacement audio

HeyGen · Video

Your first result goes here

Build a request below and run it with your API key. Outputs are copied to our storage, kept forever or 7 days for free.

Build a request

Controls are generated from the model schema. The code and the price update as you change them.

•required video_url
Drop a file, or

Source video URL for lip-syncing.

•required audio_url
Drop a file, or

Replacement audio file URL.

Advanced title · start_time · end_time · enable_caption · enable_dynamic_duration · disable_music_track · enable_speech_enhancement

Optional name for the lip-sync job.

Starting point for partial lip-syncing, measured in seconds.

Ending point for partial lip-syncing, measured in seconds.

POST /run/heygen/v3/lipsync/speed?wait=20 quote → $0.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/heygen/v3/lipsync/speed?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "video": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4",
    "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.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Run this request

Your key stays in this browser: it is sent only to the Doitong API and saved (localStorage) only if you tick Remember. Get an API key

About Heygen Lipsync - Speed

Dubs an existing video by swapping in new audio and syncing the lips to it, using the faster of the two lip-sync modes. Requires `video_url` and `audio_url`. You can enable captions, dynamic duration, music track removal and speech enhancement, and limit the effect to a segment with `start_time` and `end_time`.

Parameters

Send either the canonical name or the native name, not both. Canonical names

NameType DefaultAllowed Description
video_urlrequired video
Typeurl · video
Source video URL for lip-syncing.
audio_urlrequired audio
Typeurl · audio
Replacement audio file URL.
titleoptional
Typestring | null
Optional name for the lip-sync job.
enable_captionoptional
Typeboolean
Defaultfalse
Controls whether the output video includes generated captions.
enable_dynamic_durationoptional
Typeboolean
Defaulttrue
Allows the duration to change to fit the replacement audio.
disable_music_trackoptional
Typeboolean
Defaultfalse
Controls removal of the source video's background music.
enable_speech_enhancementoptional
Typeboolean
Defaultfalse
Controls quality enhancement for the replacement audio.
start_timeoptional
Typenumber | null
≥ 0
Starting point for partial lip-syncing, measured in seconds.
end_timeoptional
Typenumber | null
≥ 0
Ending point for partial lip-syncing, measured in seconds.
required Canonical name, also accepted

File parameters take a public https:// URL, a data: URI up to 10 MB, or the file_url of an upload. Files

Output

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "heygen/v3/lipsync/speed",
  "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": 500,
    "usd": "0.50",
    "charged": 500,
    "refunded": 0
  },
  "input": {
    "video_url": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4",
    "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
    },
    "caption_file": {
      "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.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
Your files, your choiceEvery outputs[].url is a copy on our storage: kept forever (paid per GB-month) or 7 days for free, by your account setting or ?storage=.
Same shape on every modeltype, url, content_type, width, height and duration, for images, video and audio alike. output is the model’s own result object.
Fields of output
video
object {url, content_type, file_name, file_size}Video file containing lip movements synchronized with the replacement audio.
caption_file
object {url, content_type, file_name, file_size} | nullCaption file generated if `enable_caption` is enabled and a file is returned by HeyGen.

More models: Lipsync & Avatars

For AI agents: this page as Markdown is at https://doitong.com/developers/models/heygen/v3/lipsync/speed.md. All models and guides: https://doitong.com/developers/llms.txt