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.

PixVerseVideoerzeugungProprietärer Endpoint

Über 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

Pixverse Avatar Spezifikationen

Modell-ID
pixverse-avatar
Anbieter
PixVerse
Kategorie
Videoerzeugung
Veröffentlicht
-
Eingabe
TextBildAudio
Ausgabe
Video
Endpoints
POST/v1/videos/generations
Alternative Modell-IDs
pixverse/avatar

Pixverse Avatar API-Preise

Live Pay-as-you-go-Preise aus dem EmpirioLabs-Katalog. Du zahlst nur für das, was du nutzt, ohne monatliches Minimum.

Typ
Spezifikation
Preis
360p
per second
$0.10
540p
per second
$0.20
720p
per second
$0.30
1080p
per second
$0.40
Auf der vollständigen Preisseite vergleichen

So rufst du die Pixverse Avatar API auf

Pixverse Avatar läuft über POST /v1/videos/generations. Der Request liefert sofort eine job_id; frage GET /v1/jobs/{job_id} ab, bis der Job abgeschlossen ist, und lies die Ausgabe-URLs aus dem Ergebnis. Hol dir einen API-Schlüssel im EmpirioLabs Dashboard.

cURL: Job senden
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: Ergebnis abfragen
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)
Vollständige Pixverse Avatar API-Referenz

Pixverse Avatar API-Parameter

Request-Parameter, die die Pixverse Avatar API auf EmpirioLabs unterstützt. Standardwerte gelten, wenn ein Feld weggelassen wird.

ParameterTypStandardBereich / WerteBeschreibung
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.

Gut zu wissen

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.

Ausgabe

  • 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.

Pixverse Avatar API: häufige Fragen

Wie viel kostet die Pixverse Avatar API?

Auf EmpirioLabs wird Pixverse Avatar nach Verbrauch abgerechnet: 360p $0.10 per second; 540p $0.20 per second; 720p $0.30 per second. Die Live-Preistabelle auf dieser Seite entspricht immer dem, was die API berechnet.

Welchen Endpoint verwendet Pixverse Avatar?

Pixverse Avatar wird über POST /v1/videos/generations auf api.empiriolabs.ai mit normaler Bearer-Token-Authentifizierung bereitgestellt.

Kann ich Pixverse Avatar im Browser testen, bevor ich integriere?

Ja. Der EmpirioLabs Playground führt Pixverse Avatar im Browser mit denselben Parametern aus, die die API bietet. So kannst du Prompts testen, bevor du Code schreibst.

Wie bekomme ich einen Pixverse Avatar API-Schlüssel?

Erstelle ein EmpirioLabs-Konto und generiere dann einen Schlüssel unter API Keys im Dashboard. Die Abrechnung erfolgt über Pay-as-you-go-Guthaben, du zahlst also nur für deine Requests.

Bereit, bessere Endpunkte zu nutzen?

Schauen Sie sich unsere Preise an oder kontaktieren Sie uns, wenn Sie Ihr eigenes Modell auf unserem Stack implementieren möchten.