kwaivgi/kling-v2-ai-avatar-standard
kwaivgi/kling-v2-ai-avatar-standard
kwaivgi/kling-v2-ai-avatar-standard. Duyệt API mô hình ảnh, video và đổi khuôn mặt. Thử mô hình rồi tích hợp qua một API REST thống nhất.
Mô hình liên quan
Đầy đủ tham số, lược đồ đầu ra và giá hiện tại
| Chợ API mô hình AI | Một nền tảng cho mọi thứ | Phổ biến nhất | Điều khoản | Duyệt API mô hình ảnh, video và đổi khuôn mặt. Thử mô hình rồi tích hợp qua một API REST thống nhất. |
|---|---|---|---|---|
| image *Image | image_upload | — | image/* · 0–1 items | |
| promptPrompt | textarea | — | ≤ 5000 chars |
Đầy đủ tham số, lược đồ đầu ra và giá hiện tại
| Tìm hiểu thêm | Một nền tảng cho mọi thứ | Duyệt API mô hình ảnh, video và đổi khuôn mặt. Thử mô hình rồi tích hợp qua một API REST thống nhất. |
|---|---|---|
| videos | array<string> |
API
Duyệt API mô hình ảnh, video và đổi khuôn mặt. Thử mô hình rồi tích hợp qua một API REST thống nhất.
cURL
# 1) Submit — returns { "task_uuid": "..." }
curl -X POST "https://www.namifusion.com/api/v1/marketplace/run/kwaivgi/kling-v2-ai-avatar-standard" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"image": [
"https://assets-public.namifusion.com/marketplace/images/2026-06-12/638e1ee18ac7.jpeg"
],
"prompt": "The person speaks naturally in sync with the supplied audio, with subtle facial expressions, gentle head movements, and a steady camera. Preserve the appearance of the reference portrait."
}
}'
# 2) Poll until status is "completed", then read the output URLs
curl "https://www.namifusion.com/api/v1/marketplace/run/tasks/TASK_UUID" \
-H "Authorization: Bearer YOUR_API_KEY"Python
import time, requests
API_KEY = "YOUR_API_KEY"
HEADERS = {"Authorization": f"Bearer {API_KEY}"}
# 1) Submit
resp = requests.post(
"https://www.namifusion.com/api/v1/marketplace/run/kwaivgi/kling-v2-ai-avatar-standard",
headers=HEADERS,
json={
"input": {
"image": [
"https://assets-public.namifusion.com/marketplace/images/2026-06-12/638e1ee18ac7.jpeg"
],
"prompt": "The person speaks naturally in sync with the supplied audio, with subtle facial expressions, gentle head movements, and a steady camera. Preserve the appearance of the reference portrait."
}
},
)
resp.raise_for_status() # 401/402/429/5xx stop here instead of polling a bad task
task = resp.json()
# 2) Poll until a terminal state (completed / failed / cancelled).
# This model is allowed up to 300s server-side.
deadline = time.time() + 360
while task.get("status") not in ("completed", "failed", "cancelled"):
if time.time() > deadline:
raise TimeoutError(f"still {task.get('status')} — keep the task_uuid and poll later")
time.sleep(3)
poll = requests.get(f"https://www.namifusion.com/api/v1/marketplace/run/tasks/{task['task_uuid']}", headers=HEADERS)
poll.raise_for_status()
task = poll.json()
print(task["status"], task.get("output"))JavaScript
const API_KEY = "YOUR_API_KEY";
const HEADERS = { Authorization: `Bearer ${API_KEY}` };
// 1) Submit
const resp = await fetch("https://www.namifusion.com/api/v1/marketplace/run/kwaivgi/kling-v2-ai-avatar-standard", {
method: "POST",
headers: { ...HEADERS, "Content-Type": "application/json" },
body: JSON.stringify({
"input": {
"image": [
"https://assets-public.namifusion.com/marketplace/images/2026-06-12/638e1ee18ac7.jpeg"
],
"prompt": "The person speaks naturally in sync with the supplied audio, with subtle facial expressions, gentle head movements, and a steady camera. Preserve the appearance of the reference portrait."
}
}),
});
if (!resp.ok) throw new Error(`submit failed: ${resp.status} ${await resp.text()}`);
let task = await resp.json();
// 2) Poll until a terminal state (completed / failed / cancelled).
// This model is allowed up to 300s server-side.
const deadline = Date.now() + 360 * 1000;
while (!["completed", "failed", "cancelled"].includes(task.status)) {
if (Date.now() > deadline) throw new Error(`still ${task.status} — keep the task_uuid and poll later`);
await new Promise((r) => setTimeout(r, 3000));
const poll = await fetch(`https://www.namifusion.com/api/v1/marketplace/run/tasks/${task.task_uuid}`, { headers: HEADERS });
if (!poll.ok) throw new Error(`poll failed: ${poll.status}`);
task = await poll.json();
}
console.log(task.status, task.output);Tài liệu API
kwaivgi/kling-v2-ai-avatar-standard
Create natural talking-avatar videos from a single image and audio track, with reliable lip sync and no cold start.
kwaivgi/kling-v2-ai-avatar-standard is an image-to-video AI avatar model that turns one image plus one audio track into a realistic speaking or singing video. Built on the Kling V2 avatar stack, it combines strong prompt adherence, expressive facial animation, and affordable usage-based pricing, making it a practical choice for production-oriented avatar workflows.
🚀 Key Features
- Single-image avatar animation: Generate a talking-avatar video from just one image and one audio source, reducing asset requirements for fast content creation.
- Accurate lip synchronization: Mouth shapes and jaw motion are closely aligned to speech rhythm, pronunciation, and timing for more believable delivery.
- Expressive face and head motion: Beyond lip sync, the model animates blinks, eyebrow movement, subtle head turns, and micro-expressions to match vocal emotion.
- Strong identity preservation: Maintains facial identity, hairstyle, and overall visual style consistently across frames for stable avatar output.
- Prompt-guided performance control: Optional prompts can steer mood, energy, and behavior, such as a calm presenter or an energetic streamer.
- No cold start, cost-efficient deployment: Designed for responsive production usage with predictable startup behavior and accessible pricing.
🛠️ Technical Specifications
| Item | Details |
|---|---|
| Model architecture | Kling V2 AI Avatar Standard(image-to-video, audio-driven avatar generation) |
| Task type | image-to-video |
| Input format | Image + Audio + optional Prompt |
| Output format | Video |
| Image input | Single portrait, character image, or animal image; front-facing or slight 3/4 view recommended |
| Audio input | Single audio track; clean voice recordings or TTS work best |
| Prompt support | Yes; used to control mood, energy, and behavior |
| Core capabilities | Lip sync, facial expression animation, head motion, identity preservation |
| Supported subjects | Human portraits, stylized characters, pets/animals |
| Duration | Billed by audio length; up to 300 seconds(5 minutes)per job |
| Resolution | Not publicly specified; higher-resolution outputs generally require more render time |
| Frame rate | Not publicly specified |
| Latency | Variable; typically increases with clip length and output quality |
| Billing rules | Minimum billing of 5 seconds; billing capped at 300 seconds per job |
Sample Prompts
friendly teacher, gentle head nodsexcited host, big smiles and energetic motioncalm news anchor, steady eye contact, professional delivery
💰 Pricing
| Mode | Price |
|---|---|
| Base price(minimum 5 seconds) | $0.28 |
| 10-second audio | $0.56 |
| Minimum billed duration | 5 seconds |
| Billing cap per job | 300 seconds(5 minutes) |
Any clip shorter than 5 seconds is still billed as 5 seconds.
💡 Best Use Cases
- Social media avatar content: Create profile videos, intros, explainers, and short-form speaking content quickly.
- Marketing and branded communication: Produce spokesperson-style clips for campaigns, product messaging, and promotional assets.
- Education and training: Build digital presenters for tutorials, onboarding, and instructional content.
- Virtual character publishing: Animate stylized characters, mascots, or pet personas for creator and entertainment workflows.
🔗 Related Models
- Kling V2 AI Avatar Pro: A more advanced avatar generation option for short-form and character-driven video content.
- Infinite Talk: Better suited for real-time conversational voice experiences and interactive AI agents.