AI Avatar Video Generator API — Duix-Avatar & InfiniteTalk
Building an AI avatar video generator? KeyoAPI hosts Duix-Avatar (audio+video → talking face) and InfiniteTalk (image/audio → talking head) as async jobs — generate speech with IndexTTS-2 / CosyVoice3 / Qwen3-TTS on the same key, then render.
Digital human models
| Model ID | Input → output | KeyoAPI | Notes |
|---|---|---|---|
Duix-Avatar |
Audio + face video → lip-sync / expression render (async) | ~$0.0068 / second | /pricing/Duix-Avatar · /model/Duix-Avatar |
InfiniteTalk |
Portrait image (or video) + audio → talking-head clip (async) | ~$0.342 / request | /pricing/InfiniteTalk · /model/InfiniteTalk |
Qwen3-TTS |
Upstream voice for avatar pipelines (async TTS) | ~$0.548 / 10K characters | Often used before Duix / InfiniteTalk |
Productize the loop, not a single model
Typical product loop: draft script → TTS (optionally cloned) → avatar render → CDN cache. Cap max duration, show queue ETA, and moderate deepfake abuse. Try/buy each model from its /pricing/{id} page after /sign-up — no separate upload playground.
Rates and pipeline
This is the API path, not a consumer app: prepaid metering, OpenAI-style auth for adjacent chat and speech, async task polling for renders.
Indicative rates: Duix-Avatar ~$0.0068 per second of output; InfiniteTalk ~$0.342 per request. Confirm /pricing/Duix-Avatar and /pricing/InfiniteTalk before volume. Pick Duix when you have driving video; pick InfiniteTalk when you start from a still spokesperson photo.
How to call: async video endpoints with model=Duix-Avatar or InfiniteTalk, then GET /v1/task/{id}. Speech side: /tts-api and /voice-cloning-api. Model guides under /model/Duix-Avatar and /model/InfiniteTalk.
Likeness rights and abuse prevention are your product’s responsibility — rate-limit, log, and require consent flags before queueing.
curl https://www.keyoapi.xyz/v1/async/videos/image-to-video \
-H "Authorization: Bearer $KEYO_API_KEY" \
-F model=InfiniteTalk \
-F image=@./portrait.png \
-F audio=@./voice.wav
# then: GET /v1/task/{id}
FAQ
Realtime avatar streaming?
These models are async render jobs, not WebRTC realtime avatars. Design UX around queue + progress.
Duix vs InfiniteTalk?
Different input modalities and billing units (per second vs per request). Prototype both on Keyo; see each model guide.
How do I try?
Create a key at /sign-up, then open /pricing/Duix-Avatar or /pricing/InfiniteTalk for interactive try/buy.