Avatar To VideoKling

kwaivgi/kling-v2-ai-avatar-standard

kwaivgi/kling-v2-ai-avatar-standard

Kling AI Avatar generates high-quality AI avatar videos for profiles, intros, and social content, delivering clean detail and cinematic motion with reliable prompt adherence. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.

Examples

kwaivgi/kling-v2-ai-avatar-standard example 1

Parameters

NameTypeDefaultConstraintsDescription
image *Imageimage_uploadimage/*The image for generating the output.
promptPrompttextarea≤ 5000 charsThe positive prompt for the generation.

API

Call this model through one unified REST API. Get a key on the API Keys page.

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://example.com/input.jpg"
  }
}'

# 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://example.com/input.jpg"
        }
    },
)
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://example.com/input.jpg"
    }
  }),
});
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);

Documentation

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

ItemDetails
Model architectureKling V2 AI Avatar Standard(image-to-video, audio-driven avatar generation)
Task typeimage-to-video
Input formatImage + Audio + optional Prompt
Output formatVideo
Image inputSingle portrait, character image, or animal image; front-facing or slight 3/4 view recommended
Audio inputSingle audio track; clean voice recordings or TTS work best
Prompt supportYes; used to control mood, energy, and behavior
Core capabilitiesLip sync, facial expression animation, head motion, identity preservation
Supported subjectsHuman portraits, stylized characters, pets/animals
DurationBilled by audio length; up to 300 seconds(5 minutes)per job
ResolutionNot publicly specified; higher-resolution outputs generally require more render time
Frame rateNot publicly specified
LatencyVariable; typically increases with clip length and output quality
Billing rulesMinimum billing of 5 seconds; billing capped at 300 seconds per job

Sample Prompts

  • friendly teacher, gentle head nods
  • excited host, big smiles and energetic motion
  • calm news anchor, steady eye contact, professional delivery

💰 Pricing

ModePrice
Base price(minimum 5 seconds)$0.28
10-second audio$0.56
Minimum billed duration5 seconds
Billing cap per job300 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.
kwaivgi/kling-v2-ai-avatar-standard API — Pricing, Playground & Docs | NamiFusion