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/avatarEmpirioLabs कैटलॉग से लाइव pay-as-you-go दरें। आप सिर्फ उतना ही भुगतान करते हैं जितना उपयोग करते हैं, कोई मासिक न्यूनतम नहीं।
Pixverse Avatar POST /v1/videos/generations से चलता है। request तुरंत job_id देती है; job पूरा होने तक GET /v1/jobs/{job_id} को poll करें और परिणाम से आउटपुट URLs पढ़ें। EmpirioLabs डैशबोर्ड से API key प्राप्त करें।
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)EmpirioLabs पर Pixverse Avatar API द्वारा समर्थित request पैरामीटर। फ़ील्ड छोड़ने पर डिफ़ॉल्ट मान लागू होते हैं।
| पैरामीटर | प्रकार | डिफॉल्ट | रेंज / मान | विवरण |
|---|---|---|---|---|
| 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.
EmpirioLabs पर Pixverse Avatar का बिल उपयोग के अनुसार बनता है: 360p $0.10 per second; 540p $0.20 per second; 720p $0.30 per second। इस पेज की लाइव दर तालिका हमेशा API की वास्तविक बिलिंग से मेल खाती है।
Pixverse Avatar api.empiriolabs.ai पर POST /v1/videos/generations के ज़रिए मिलता है, मानक Bearer टोकन प्रमाणीकरण के साथ।
हां। EmpirioLabs playground ब्राउज़र में Pixverse Avatar को उन्हीं पैरामीटरों के साथ चलाता है जो API देता है, ताकि आप कोड लिखने से पहले prompt आज़मा सकें।
EmpirioLabs खाता बनाएं, फिर डैशबोर्ड में API Keys में key जनरेट करें। बिलिंग pay-as-you-go क्रेडिट से होती है, इसलिए आप सिर्फ अपनी requests का भुगतान करते हैं।
हमारे मूल्य निर्धारण की जाँच करें या यदि आप चाहते हैं कि आपका अपना मॉडल हमारे स्टैक पर तैनात किया जाए, तो पहुंचें।