Op den Inhalt sprangen

Sync React-1

Integréieren

Modell-ID sync-lipsync/react-1
# 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/sync-lipsync/react-1?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",
    "emotion": "happy"
  }'

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

Dateie wéi am Beispill: 1,667 $ 1.667 API-Kreditter Är Dateie gi virun der Ausféierung gemooss Op dëser Säit ausféieren

API-Schlëssel kréien
Sync Labs Lipsync & Avataren Lipsync #video-to-video

Lëppesynchronisatioun Video-zu-Video, deen och eng gewielten Emotioun applizéiert, fir Clips bis zu 15 Sekonnen

Sync Labs · Video

Äin éischt Resultat kënnt hei hin

Baut hei drënner eng Ufro a féiert se mat Ärem API-Schlëssel aus. Output gëtt an eis Späicherung kopéiert, fir ëmmer oder 7 Deeg gratis gespäichert.

Eng Ufro erstellen

D'Kontrolle ginn aus dem Modellschema generéiert. De Code an de Präis aktualiséiere sech, wann s du se ännerst.

•obligatoresch video_url
Fichier erofzéien, oder

Input-Video-URL; de Clip däerf net méi laang wéi 15 Sekonnen sinn.

•obligatoresch audio_url
Fichier erofzéien, oder

Input-Audio-URL; d'Opnam däerf net méi laang wéi 15 Sekonnen sinn.

emotion •obligatoresch

Emotiouns-Prompt, dee bei der Generatioun benotzt gëtt; aktuell ginn nëmmen Emotiounen aus engem eenzege Wuert ënnerstëtzt.

lipsync_mode Standard bounce

Lip-Synchronisatiounsmodus fir Ënnerscheeder an der Audio- a Videodauer ze behandelen.

Erweidert model_mode · temperature
model_mode Standard face

Editing-Beräich an Ëmfang vun der Beweegung: `lips` benotzt react-1 nëmme fir d'Lip-Synchronisatioun, mat minimale Gesiichtsännerungen; `face` füügt Gesiichtsausdréck dobäi, awer keng Kappbeweegung; `head` enthält Lip-Synchronisatioun, Gesiichtsausdréck an natierlech Kappbeweegunge beim Schwätzen.

Standard 0.5

Ausdrocksgrad vun der Lip-Synchronisatioun.

POST /run/sync-lipsync/react-1?wait=20 Präis → 1,667 $
# 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/sync-lipsync/react-1?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",
    "emotion": "happy"
  }'

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

Dës Ufro ausféieren

Äre Schlëssel bleift an dësem Browser: e gëtt nëmmen un d'Doitong API geschéckt an nëmme gespäichert (localStorage), wann s du „Erënneren“ aktivéiers. En API-Schlëssel kréien

Iwwer Sync React-1

Braucht `video_url` an `audio_url`, allebéid maximal 15 Sekonnen, plus e obligatoreschen `emotion` (happy, sad, angry, disgusted, surprised oder neutral). `model_mode` setzt de Beräich fir d'Ännerung: lips, face oder head. `lipsync_mode` behandelt Längtedifferenzen (cut_off, loop, bounce, silence, remap), an `temperature` (0 bis 1) passt d'Expressivitéit un.

Parameteren

Schéck entweder den kanoneschen Numm oder den natierlechen Numm, net béid. Kanonesch Nimm

NummTyp StandardErlaabt Beschreiwung
video_urlobligatoresch video
Typurl · video
Input-Video-URL; de Clip däerf net méi laang wéi 15 Sekonnen sinn.
audio_urlobligatoresch audio
Typurl · audio
Input-Audio-URL; d'Opnam däerf net méi laang wéi 15 Sekonnen sinn.
emotionobligatoresch
Typenum
happysadangrydisgustedsurprisedneutral
Emotiouns-Prompt, dee bei der Generatioun benotzt gëtt; aktuell ginn nëmmen Emotiounen aus engem eenzege Wuert ënnerstëtzt.
model_modeoptional
Typenum
Standardface
lipsfacehead
Editing-Beräich an Ëmfang vun der Beweegung: `lips` benotzt react-1 nëmme fir d'Lip-Synchronisatioun, mat minimale Gesiichtsännerungen; `face` füügt Gesiichtsausdréck dobäi, awer keng Kappbeweegung; `head` enthält Lip-Synchronisatioun, Gesiichtsausdréck an natierlech Kappbeweegunge beim Schwätzen.
lipsync_modeoptional
Typenum
Standardbounce
cut_offloopbouncesilenceremap
Lip-Synchronisatiounsmodus fir Ënnerscheeder an der Audio- a Videodauer ze behandelen.
temperatureoptional
Typnumber
Standard0.5
0 – 1
Ausdrocksgrad vun der Lip-Synchronisatioun.
obligatoresch Kanoneschen Numm, och akzeptéiert

Fichierparameter akzeptéieren eng ëffentlech https:// URL, eng data: URI bis zu 10 MB oder de file_url vun engem Upload. Fichieren

Output

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "sync-lipsync/react-1",
  "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": 1667,
    "usd": "1.667",
    "charged": 1667,
    "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",
    "emotion": "happy"
  },
  "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,
      "width": 1024,
      "height": 768,
      "fps": 1.0,
      "duration": 5,
      "num_frames": 1
    }
  },
  "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"
  }
}
Är Fichieren, Är WielAll outputs[].url ass eng Kopie an eiser Späicherung: fir ëmmer gespäichert (bezuelbar pro GB-Mount) oder 7 Deeg gratis, jee no Ärer Kontastellung oder ?storage=.
D'selwecht Struktur bei all Modelltype, url, content_type, width, height an duration, fir Biller, Video an Audio gläichermoossen. output ass dem Modell säin eegent Resultatobjet.
Output-Felder
video
object {url, content_type, file_name, file_size, width, height, fps, duration, num_frames}Output-Video mat synchroniséierte Gesiichts- a Lipbeweegungen.

Méi Modeller: Lipsync & Avataren

Fir AI-Agenten: dës Säit als Markdown ass ënner https://doitong.com/lb/developers/models/sync-lipsync/react-1.md. All Modeller a Guiden: https://doitong.com/developers/llms.txt