heygen-avatar-4:flowडिफ़ॉल्टHeygen Avatar 4 API — कनेक्ट और भुगतान कैसे करें
HeyGen Avatar IV — एक photo और आपके voice-over से talking avatar: lips, expression, gestures। स्पष्ट रूप से दिखाई देने वाले face वाले image_url और audio_url आवश्यक हैं; clip की अवधि audio जितनी (अधिकतम 5 minutes) होती है। talking_style: stable (calm) या expressive। 360p–1080p। output video के प्रति second कीमत।
चैनल तुलना
पिछले 7 दिन
| चैनल | कीमत |
|---|---|
Flow heygen-avatar-4:flowडिफ़ॉल्ट | $0.142857 से शुरू / सेकंड |
अपनी ज़रूरत का परिणाम बनाएँ
heygen-avatar-4:flowयह मॉडल कैटलॉग में केवल अपनी न्यूनतम कीमत प्रकाशित करता है।
Heygen Avatar 4 क्या है
HeyGen Avatar IV — एक photo और आपके voice-over से talking avatar: lips, expression, gestures। स्पष्ट रूप से दिखाई देने वाले face वाले image_url और audio_url आवश्यक हैं; clip की अवधि audio जितनी (अधिकतम 5 minutes) होती है। talking_style: stable (calm) या expressive। 360p–1080p। output video के प्रति second कीमत।
अनुबंध एक नज़र में
- इनपुट
- image, audio
- आउटपुट
- video
- मोड
- असिंक्रोनस (जॉब + पोलिंग)
- स्टेटस पोलिंग
- हर 3 सेकंड · अधिकतम 600 सेकंड तक
खूबियाँ
- Pricing: प्रति second
- इनपुट: इमेज, ऑडियो
- 5 कॉन्फ़िगर करने योग्य विकल्प
- media generation के लिए एक API key
इसका उपयोग कहाँ किया जाता है
- सोशल मीडिया क्लिप
- प्रचार सामग्री और शीर्षक अनुक्रम
- स्थिर-चित्र एनीमेशन
- स्टोरीबोर्ड और एनिमैटिक
API अनुबंध
जनरेशन असिंक्रोनस रूप से चलता है: जॉब बनाएँ, फिर पूरा होने तक उसका स्टेटस पोल करें।
- जॉब बनाएँ
- POST /api/media/generate
- स्टेटस जाँचें
- GET /api/media/jobs/{jobId}
- इनपुट
- image, audio
- आउटपुट
- video
- पोलिंग
- हर 3 सेकंड · अधिकतम 600 सेकंड तक
- प्रमाणीकरण
- Authorization: Bearer sk-pv-…
अनुरोध का उदाहरण
अपनी कुंजी Bearer हेडर में भेजें। API स्टेटस पोल करने के लिए jobId लौटाता है।
curl -sS https://getvibeapi.com/api/media/generate \
-H "Authorization: Bearer $GETVIBE_API_KEY" \
-H "Content-Type: application/json" \
--data-binary '{"model":"heygen-avatar-4:flow","opts":{"image_url":"https://example.com/image_url.png","audio_url":"https://example.com/audio_url.mp3","resolution":"720p","aspect_ratio":"auto","talking_style":"stable"}}'JavaScript
const response = await fetch('https://getvibeapi.com/api/media/generate', {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.GETVIBE_API_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"model": "heygen-avatar-4:flow",
"opts": {
"image_url": "https://example.com/image_url.png",
"audio_url": "https://example.com/audio_url.mp3",
"resolution": "720p",
"aspect_ratio": "auto",
"talking_style": "stable"
}
}),
});
if (!response.ok) throw new Error(`GetVibe API: ${response.status}`);
const { jobId } = await response.json();
console.log(jobId);API अनुरोध पैरामीटर
GetVibe API के माध्यम से Heygen Avatar 4 के अनुरोधों के लिए पैरामीटर।
image_urlaudio_urlresolutionaspect_ratiotalking_styleimage_file_idimage_base64audio_file_idaudio_base64| पैरामीटर | प्रकार | मान | डिफ़ॉल्ट | कीमत |
|---|---|---|---|---|
image_url | URL | Public image URL | — | — |
audio_url | URL | Public audio URL | — | — |
resolution | option selection | 360p · 480p · 540p · 720p (default) · 1080p | 720p | Included in the base price |
aspect_ratio | option selection | Match the photo (default) · 16:9 · 9:16 · 4:5 · 5:4 · 1:1 | Match the photo | Included in the base price |
talking_style | option selection | Calm (default) · Expressive | Calm | Included in the base price |
image_file_id | text | Alternative to image_url: the id of your own file from POST /v1/files (file-pv-…) | — | Included in the base price |
image_base64 | text | Alternative to image_url: the file inline, as base64 or a data: URI | — | Included in the base price |
audio_file_id | text | Alternative to audio_url: the id of your own file from POST /v1/files (file-pv-…) | — | Included in the base price |
audio_base64 | text | Alternative to audio_url: the file inline, as base64 or a data: URI | — | Included in the base price |
अनुरोध: POST https://getvibeapi.com/api/media/generate। कीमतें USD में।
Heygen Avatar 4 की कीमत
Heygen Avatar 4 की लागत: से $0.142857 per second. कीमत की गणना वर्तमान विनिमय दर पर गतिशील रूप से की जाती है और अंतिम शुल्क API प्रतिक्रिया में दिखाया जाता है (priceRub)। भुगतान USD में, कोई सदस्यता नहीं।
डिफ़ॉल्ट अनुरोध की कीमत
कोई पैरामीटर न भेजने पर, अनुरोध इन मानों का उपयोग करता है: Resolution — 720p, Frame format — Match the photo, Talking style — Calm। उस अनुरोध की कीमत $0.142857 है।
हर पैरामीटर संयोजन के लिए चैनल और कीमतें
हर चैनल के लिए, हर पैरामीटर संयोजन की कीमत। सफल जनरेशन पर लिया जाने वाला शुल्क ठीक इतना ही है और नीचे दिए गए मशीन-पठनीय टेबल में भी यही राशि है।
Flowheygen-avatar-4:flow$0.142857 से शुरू / सेकंडसटीक कीमतें
| कीमत | कीमत |
|---|---|
| Flow | $0.142857 / सेकंड |
जनरेट किए गए वीडियो के प्रति सेकंड की कीमत। शुल्क = यह कीमत × परिणाम की वास्तविक लंबाई।
हर संयोजन JSON के रूप में: /api/media/price-table?model=heygen-avatar-4%3Aflow
README
Heygen Avatar 4 के मशीन-पठनीय अनुबंध में अनुरोध स्कीमा, ऑपरेशन, सीमाएँ, पोलिंग और प्रतिक्रिया के उदाहरण शामिल हैं।
# Heygen Avatar 4
सार्वजनिक मॉडल: heygen-avatar-4:flow
जॉब बनाएँ: POST /api/media/generate
स्टेटस जाँचें: GET /api/media/jobs/{jobId}
## इनपुट पैरामीटर
- `image_url` (URL): Public image URL; डिफ़ॉल्ट: —
- `audio_url` (URL): Public audio URL; डिफ़ॉल्ट: —
- `resolution` (option selection): 360p · 480p · 540p · 720p (default) · 1080p; डिफ़ॉल्ट: 720p
- `aspect_ratio` (option selection): Match the photo (default) · 16:9 · 9:16 · 4:5 · 5:4 · 1:1; डिफ़ॉल्ट: Match the photo
- `talking_style` (option selection): Calm (default) · Expressive; डिफ़ॉल्ट: Calm
- `image_file_id` (text): Alternative to image_url: the id of your own file from POST /v1/files (file-pv-…); डिफ़ॉल्ट: —
- `image_base64` (text): Alternative to image_url: the file inline, as base64 or a data: URI; डिफ़ॉल्ट: —
- `audio_file_id` (text): Alternative to audio_url: the id of your own file from POST /v1/files (file-pv-…); डिफ़ॉल्ट: —
- `audio_base64` (text): Alternative to audio_url: the file inline, as base64 or a data: URI; डिफ़ॉल्ट: —
## सार्वजनिक वेरिएंट
- `heygen-avatar-4:flow`: FlowHeygen Avatar 4 API के बारे में सामान्य प्रश्न
Heygen Avatar 4 की कीमत कितनी है?
Heygen Avatar 4 की कीमत: से $0.142857 per second। कीमत की गणना वर्तमान विनिमय दर पर गतिशील रूप से की जाती है।
क्या यह OpenAI SDK के साथ संगत है?
हाँ, API पूरी तरह OpenAI-संगत है। बस base_url को https://getvibeapi.com/v1 में बदलें और अपनी कुंजी सेट करें — बाकी कोड वैसा ही रहता है।
अभी Heygen Avatar 4 कनेक्ट करें
एक मिनट में साइन अप करें, उपयोग के अनुसार भुगतान करें, ऊपर तैयार कोड उपलब्ध है।
API कुंजी प्राप्त करें