ByteDance Lip Sync API-Referenz
Vertont einen Clip mit einer neuen Tonspur neu.
Mit einem einzigen PopNow-API-Schlüssel rufst du ByteDance Lip Sync aus deinem eigenen Code auf. Hier findest du die Modell-IDs, jedes Eingabefeld, die Kosten pro Anfrage in USD und eine Anfrage, die du direkt ins Terminal kopieren kannst.
Die Parameterbeschreibungen stammen aus dem Eingabeschema des Modells und sind nur auf Englisch verfügbar.
Auf einen Blick
- Hersteller
- ByteDance
- Ergebnis
- Video
- Ab
- $0.052 USD pro Sekunde Ergebnis
- Typische Dauer
- etwa 76 s
- Modell-IDs
Die Preise werden in USD angezeigt und von deinem PopNow-Guthaben abgebucht. Bei Annahme wird der Höchstbetrag reserviert, nach Abschluss der tatsächliche Verbrauch abgerechnet und der Rest freigegeben. Fehlgeschlagene Tasks kosten nichts. Ein genaues Angebot erhältst du vorab über POST /api/v1/jobs/quote.
Lippensynchronisation
bytedance/lip-sync/lip-sync
Preis
| Option | USD |
|---|---|
Standard | $0.052 pro Sekunde Ergebnis |
Parameter
| Feld | Typ | Standardwert | Erlaubt | Bedeutung |
|---|---|---|---|---|
video_urlPflicht | string (uri) | — | — | Required MOV, MP4, or MKV URL for either mode: 360p–1080p, 24–60 fps, 1–30 Mbps; H.264 recommended. Above 1080p is reduced; below 360p is rejected. No default; audio sets billing. |
audio_urlPflicht | string (uri) | — | — | Required clean-speech URL: MP3/WAV/AAC/M4A/OGG, up to 10 MB, longer than 1 s. Lite accepts up to 240 s; Basic up to 210 s. No default; its duration rounds up to billed seconds. |
generation_modeOptional | string | lite | lite, basic | Choose lite for a frontal single speaker or basic for complex single-speaker scenes. Default: lite; both modes use the same audio-second rate. |
remove_background_noiseOptional | boolean | — | — | Boolean for Lite: separate background sound from the driving voice. Default: false; omit for Basic. It does not change the audio-second rate. |
scene_detectionOptional | boolean | — | — | Boolean for Basic: detect scene boundaries and identify the speaker. Default: false; omit for Lite. The audio-second rate is unchanged. |
loop_videoOptional | boolean | — | — | Boolean for Lite: repeat video when the recording is longer. Default: true; omit for Basic. Billing continues to count uploaded audio seconds. |
loop_reverseOptional | boolean | — | — | Boolean for Lite with loop_video enabled: alternate forward and reverse playback. Default: false; omit for Basic. No change to audio-based billing. |
video_start_secondsOptional | number | — | 0 bis 3600 | Number for Lite: the second in the source video where picture playback begins. Default: 0; omit for Basic. The start position does not change billed audio seconds. |
Beispielanfrage
Diese Anfrage läuft so, wie sie ist; weggelassene Felder behalten ihren Standardwert. Leg deinen Schlüssel vorher in POPNOW_API_KEY ab.
Das Beispiel nutzt in audio_url, video_url Beispieldateien von PopNow. Ersetze sie durch eigene öffentliche HTTPS-Links, Uploads oder gespeicherte Assets.
curl -X POST "https://api.popnow.ai/api/v1/jobs/createTask" \
-H "Authorization: Bearer $POPNOW_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"model": "bytedance/lip-sync/lip-sync",
"input": {
"video_url": "https://media.popnow.ai/effects/flower-bloom-1abd6efb.mp4",
"audio_url": "https://media.popnow.ai/shortfilm/voices/Aoede-46e4c427.mp3"
}
}'Die Antwort enthält sofort eine taskId. Das Ergebnis holst du mit GET /api/v1/jobs/recordInfo ab – oder du gibst callBackUrl mit und wirst benachrichtigt.
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=TASK_ID_FROM_CREATE_TASK" \
-H "Authorization: Bearer $POPNOW_API_KEY"
