
Aligns mouth movement in an existing video to an uploaded audio track or to text spoken by one of fourteen built-in voices.
Aligns mouth movement in an existing video to an uploaded audio track or to text spoken by one of fourteen built-in voices.
pixverse-lipsync/v1/videos/generationspixverse/lipsyncTarifas pay-as-you-go ao vivo do catálogo EmpirioLabs. Você paga só pelo que usa, sem mínimo mensal.
Pixverse Lip Sync roda por POST /v1/videos/generations. A requisição retorna um job_id na hora; consulte GET /v1/jobs/{job_id} até o job terminar e leia as URLs de saída do resultado. Obtenha uma chave de API no painel EmpirioLabs.
curl https://api.empiriolabs.ai/v1/videos/generations \
-H "Authorization: Bearer $EMPIRIOLABS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "pixverse-lipsync",
"prompt": "Describe what you want Pixverse Lip Sync to generate."
}'curl https://api.empiriolabs.ai/v1/jobs/JOB_ID \
-H "Authorization: Bearer $EMPIRIOLABS_API_KEY"import requests
response = requests.post(
"https://api.empiriolabs.ai/v1/videos/generations",
headers={"Authorization": "Bearer YOUR_EMPIRIOLABS_API_KEY"},
json={
"model": "pixverse-lipsync",
"prompt": "Describe what you want Pixverse Lip Sync to generate.",
},
)
job = response.json()
# Generation runs as an async job. Poll until it completes.
import time
while True:
status = requests.get(
f"https://api.empiriolabs.ai/v1/jobs/{job['job_id']}",
headers={"Authorization": "Bearer YOUR_EMPIRIOLABS_API_KEY"},
).json()
if status.get("status") in ("completed", "failed"):
print(status)
break
time.sleep(5)Parâmetros de requisição suportados pela API Pixverse Lip Sync na EmpirioLabs. Os padrões valem quando um campo é omitido.
| Parâmetro | Tipo | Padrão | Intervalo / valores | Descrição |
|---|---|---|---|---|
| lip_sync_tts_content | string | - | - | The line to speak. Used when no audio file is attached. Billed in 15-character blocks. |
| lip_sync_tts_speaker_id | enum | Auto | Auto, Emily, James, Isabella, Liam, Chloe, Adrian, Harper, Av... | Voice used for the spoken line. Auto picks one to suit the clip. Ignored when an audio file is attached. |
| video | string | - | - | Source video URL. Required. |
| audio | string | - | - | Audio URL to lip sync to. Takes precedence over the spoken text. |
Aligns mouth movement in an existing video to speech, either from an audio file you supply or from text spoken by a built-in voice.
Na EmpirioLabs, Pixverse Lip Sync é cobrado por uso: Speech $0.08 per second. A tabela de tarifas ao vivo desta página sempre corresponde ao que a API cobra.
Pixverse Lip Sync é servido por POST /v1/videos/generations em api.empiriolabs.ai com autenticação padrão por token Bearer.
Sim. O playground da EmpirioLabs executa Pixverse Lip Sync no navegador com os mesmos parâmetros que a API expõe, para você testar prompts antes de escrever código.
Crie uma conta EmpirioLabs e gere uma chave em API Keys no painel. A cobrança usa créditos pay-as-you-go, então você paga apenas pelas requisições que faz.
Confira nossos preços ou entre em contato se quiser que seu próprio modelo seja implementado em nossa pilha.