Njuolgga sisdollui

Sad Talker · Reference

Integrere

Modealla-id sadtalker/reference
# 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/sadtalker/reference?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",
    "driven_audio_url": "https://content.doitong.com/audio/showcase/v3/tools/dub_es.mp3",
    "reference_pose_video_url": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4"
  }'

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

Gitta 4,50 $ juohke ráŋggas mákso duohta geavaheami mielde, loahppa máhcaheami Vuodje dán siiddu alde

Oza API-čoavdaga
Open model Gubbelsynchroniseren ja avatárat Referánsa-inputtatGubbelsynchroniseren #animation

Jietnanuppi čájehallan govas ja jienas, man oaivvepoza váldo referánsa-videôs

Open model · Video

Dát lea du vuosttaš bohtos

Daga jearaldaga vuolábealde ja vuodje dan iežat API-čoavddain. Boađusat kopierejuvvojit min vurkemii, bisuhuvvojit álo dahje 7 beaivvi nuvttá.

Ráhkat jearaldaga

Kontrollat ráhkaduvvojit modealla skeama vuođul. Koda ja haddi ođasmahttojuvvojit go rievddadat daid.

•gáibiduvvo source_image_url
Luoitte fiilla, dahje

Gáldogovva báiki URL:n.

•gáibiduvvo
Luoitte fiilla, dahje

URL stivrenjietnii.

•gáibiduvvo
Luoitte fiilla, dahje

Referánsa-video URL.

Viiddiduvvon face_model_resolution · preprocess · face_enhancer · pose_style · expression_scale · still_mode
face_model_resolution standárda 256

Resoluušuvdna maid čáhtagova modealla geavaha.

preprocess standárda crop

Preprocessing-vuohki maid galgá geavahit.

Čáhtagovva-buorideaddji tiipa.

standárda 0

Stílla mii geavahuvvo čájeheapmái.

standárda 1

Skálafáktor čájeheami várás.

POST /run/sadtalker/reference?wait=20 haddemearrádus → 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/sadtalker/reference?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",
    "driven_audio_url": "https://content.doitong.com/audio/showcase/v3/tools/dub_es.mp3",
    "reference_pose_video_url": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4"
  }'

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

Geavat dán ohcamuša

Du key báhcá dán fierpmádatlogan: dat sáddejuvvo dušše Doitong API:ii ja vurkejuvvo (localStorage) dušše jos válljet Remember. Viečča API-keya

Dát lea Sad Talker · Reference birra

Ovdalgi lieđgganaš hállančalbmevariante, muhto gáibida maiddái `reference_pose_video_url`, video man oaivvi lihkadeapmi stivre boahtosa. Inputat leat `source_image_url` ja `driven_audio_url`. Molssaeavttut leat `pose_style` (0 gitta 45 rádjai), `expression_scale` (0 gitta 3 rádjai), `face_model_resolution` (256 dahje 512), `still_mode` ja vihtta `preprocess`-modea.

Parametterat

Sádde kanonala nama dahje iežas nama, ii goappašiid. Kanonala namat

NammaŠládja StandárdaDohkkehuvvon Govvádus
source_image_urlgáibiduvvo image
Šládjaurl · image
Gáldogovva báiki URL:n.
driven_audio_urlgáibiduvvo
Šládjaurl · audio
URL stivrenjietnii.
reference_pose_video_urlgáibiduvvo
Šládjaurl · video
Referánsa-video URL.
pose_styleeaktodáhtolaš
Šládjainteger
Standárda0
0 – 45
Stílla mii geavahuvvo čájeheapmái.
face_model_resolutioneaktodáhtolaš
Šládjaenum
Standárda256
256512
Resoluušuvdna maid čáhtagova modealla geavaha.
expression_scaleeaktodáhtolaš
Šládjanumber
Standárda1
0 – 3
Skálafáktor čájeheami várás.
face_enhancereaktodáhtolaš
Šládjastring | null
Čáhtagovva-buorideaddji tiipa.
still_modeeaktodáhtolaš
Šládjaboolean
Standárdafalse
Gaskaboddosaš modus oaivvi lihkadusa geahpedeami várás go geavahuvvo `full` preprocessing.
preprocesseaktodáhtolaš
Šládjaenum
Standárdacrop
cropextcropresizefullextfull
Preprocessing-vuohki maid galgá geavahit.
gáibiduvvo Kanonala namma, maid sáhttá geavahit

Fiilaparametterat váldet almmolaš https:// URL:a, data: URI:a gitta 10 MB, dahje uploada file_url:a. Fiillat

Boađus

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "sadtalker/reference",
  "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": {
    "source_image_url": "https://content.doitong.com/images/showcase/v3/avatar/talking_avatar.jpg",
    "driven_audio_url": "https://content.doitong.com/audio/showcase/v3/tools/dub_es.mp3",
    "reference_pose_video_url": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4"
  },
  "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.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
Du fiillat, du válljenJuohke outputs[].url lea kopia min vurkemis: bisuhuvvo álo (mákso GB-mánu mielde) dahje 7 beaivvi nuvttá, du konto­o heiveheami dahje ?storage= mielde.
Seammá hápmi juohke modeallastype, url, content_type, width, height ja duration, govvii, videoii ja jienai seammá ládje. output lea modealla iežas boađusobjekta.
Outputa giettit
video
object {url, content_type, file_name, file_size}Ráhkaduvvon video URL.

Eanet modeallat: Gubbelsynchroniseren ja avatárat

AI-agenttaide: dán siidu Markdowna lea dáppe https://doitong.com/se/developers/models/sadtalker/reference.md. Buot modeallat ja ráđit: https://doitong.com/developers/llms.txt