Pixverse Avatar API

Turns a single portrait into a talking avatar video, driven by an uploaded audio track or by text spoken with a built-in voice.

PixVerseGeração de VídeoEndpoint proprietário

Sobre Pixverse Avatar

Turns a single portrait into a talking avatar video, driven by an uploaded audio track or by text spoken with a built-in voice.

lipsyncimage to videoaudio inaudio sync

Especificações de Pixverse Avatar

ID do modelo
pixverse-avatar
Provedor
PixVerse
Categoria
Geração de Vídeo
Lançado
-
Entrada
TextoImagemÁudio
Saída
Vídeo
Endpoints
POST/v1/videos/generations
IDs de modelo alternativos
pixverse/avatar

Preços da API Pixverse Avatar

Tarifas pay-as-you-go ao vivo do catálogo EmpirioLabs. Você paga só pelo que usa, sem mínimo mensal.

Tipo
Especificação
Tarifa
360p
per second
$0.10
540p
per second
$0.20
720p
per second
$0.30
1080p
per second
$0.40
Comparar na página completa de preços

Como chamar a API Pixverse Avatar

Pixverse Avatar 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: enviar o job
curl https://api.empiriolabs.ai/v1/videos/generations \
  -H "Authorization: Bearer $EMPIRIOLABS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "pixverse-avatar",
    "prompt": "Describe what you want Pixverse Avatar to generate."
  }'
cURL: consultar o resultado
curl https://api.empiriolabs.ai/v1/jobs/JOB_ID \
  -H "Authorization: Bearer $EMPIRIOLABS_API_KEY"
Python
import requests

response = requests.post(
    "https://api.empiriolabs.ai/v1/videos/generations",
    headers={"Authorization": "Bearer YOUR_EMPIRIOLABS_API_KEY"},
    json={
        "model": "pixverse-avatar",
        "prompt": "Describe what you want Pixverse Avatar 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)
Referência completa da API Pixverse Avatar

Parâmetros da API Pixverse Avatar

Parâmetros de requisição suportados pela API Pixverse Avatar na EmpirioLabs. Os padrões valem quando um campo é omitido.

ParâmetroTipoPadrãoIntervalo / valoresDescrição
lip_sync_tts_contentstring--The line for the avatar to speak. Used when no audio file is attached. Billed in 15-character blocks.
lip_sync_tts_speaker_idenumAutoAuto, Emily, James, Isabella, Liam, Chloe, Adrian, Harper, Av...Voice used for the spoken line. Auto picks one to suit the portrait. Ignored when an audio file is attached.
resolutionenum720p360p, 540p, 720p, 1080pOutput resolution. Higher resolutions bill at a higher per-second rate.
promptstring--Optional direction for delivery or framing.
imagestring--Portrait image URL. Required.
audiostring--Audio URL for the avatar to perform. Takes precedence over the spoken text.

Bom saber

Turns a single portrait image into a talking avatar video, driven either by an audio file you supply or by text spoken with a built-in voice.

Inputs

  • image: the portrait to animate. Use a clear, front-facing subject.
  • audio: the speech to perform, or lip_sync_tts_content with lip_sync_tts_speaker_id to have the model speak your text. Fourteen named voices are available plus Auto.
  • prompt is optional and can describe delivery or framing.

Saída

  • 360p, 540p, 720p and 1080p.

Billing

  • Billed per second of speech at the rate for the output resolution. Text-to-speech input is metered in 15-character blocks at the same rate, so the charge tracks the length of the script.

Input limits

  • Image: PNG, JPEG or WebP, up to 20MB and 10000px on the long edge.
  • Audio: MP3, WAV, M4A or AAC.

API Pixverse Avatar: perguntas frequentes

Quanto custa a API Pixverse Avatar?

Na EmpirioLabs, Pixverse Avatar é cobrado por uso: 360p $0.10 per second; 540p $0.20 per second; 720p $0.30 per second. A tabela de tarifas ao vivo desta página sempre corresponde ao que a API cobra.

Qual endpoint Pixverse Avatar usa?

Pixverse Avatar é servido por POST /v1/videos/generations em api.empiriolabs.ai com autenticação padrão por token Bearer.

Posso testar Pixverse Avatar no navegador antes de integrar?

Sim. O playground da EmpirioLabs executa Pixverse Avatar no navegador com os mesmos parâmetros que a API expõe, para você testar prompts antes de escrever código.

Como consigo uma chave de API Pixverse Avatar?

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.

Pronto para usar endpoints melhores?

Confira nossos preços ou entre em contato se quiser que seu próprio modelo seja implementado em nossa pilha.