Turns a single portrait into a talking avatar video, driven by an uploaded audio track or by text spoken with a built-in voice.
Turns a single portrait into a talking avatar video, driven by an uploaded audio track or by text spoken with a built-in voice.
pixverse-avatar/v1/videos/generationspixverse/avatarTarifs à l'usage en direct du catalogue EmpirioLabs. Vous ne payez que ce que vous utilisez, sans minimum mensuel.
Pixverse Avatar fonctionne via POST /v1/videos/generations. La requête renvoie immédiatement un job_id ; interrogez GET /v1/jobs/{job_id} jusqu'à la fin du job et lisez les URLs de sortie dans le résultat. Obtenez une clé API depuis le tableau de bord EmpirioLabs.
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 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-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)Paramètres de requête pris en charge par l'API Pixverse Avatar sur EmpirioLabs. Les valeurs par défaut s'appliquent quand un champ est omis.
| Paramètre | Type | Par défaut | Plage / valeurs | Description |
|---|---|---|---|---|
| lip_sync_tts_content | string | - | - | The line for the avatar 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 portrait. Ignored when an audio file is attached. |
| resolution | enum | 720p | 360p, 540p, 720p, 1080p | Output resolution. Higher resolutions bill at a higher per-second rate. |
| prompt | string | - | - | Optional direction for delivery or framing. |
| image | string | - | - | Portrait image URL. Required. |
| audio | string | - | - | Audio URL for the avatar to perform. Takes precedence over the spoken text. |
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.
Sur EmpirioLabs, Pixverse Avatar est facturé à l'usage : 360p $0.10 per second; 540p $0.20 per second; 720p $0.30 per second. La grille tarifaire en direct de cette page correspond toujours à ce que l'API facture.
Pixverse Avatar est servi via POST /v1/videos/generations sur api.empiriolabs.ai avec une authentification standard par token Bearer.
Oui. Le playground EmpirioLabs exécute Pixverse Avatar dans le navigateur avec les mêmes paramètres que l'API expose, pour tester vos prompts avant d'écrire du code.
Créez un compte EmpirioLabs, puis générez une clé sous API Keys dans le tableau de bord. La facturation utilise des crédits à l'usage : vous ne payez que vos requêtes.
Consultez nos tarifs ou contactez-nous si vous souhaitez que votre propre modèle soit déployé sur notre stack.