Wan 2.1 Multitalk API Documentation
Playground
Try it on WaveSpeedAI!MultiTalk (WAN 2.1) is an audio-driven AI that turns a single image and audio into talking or singing conversational videos. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.
Features
Transform static photos into dynamic speaking videos with MultiTalk — a revolutionary audio-driven video generation framework by MeiGen-AI. Unlike traditional talking head methods, MultiTalk animates full conversations with realistic lip synchronization, natural body movements, and even multi-person interactions.
Why It Looks Great
- Perfect lip sync: Advanced audio encoding (Wav2Vec) captures speech nuances including rhythm, tone, and pronunciation for precise synchronization.
- Multi-person support: Generate videos with multiple speakers interacting naturally in the same scene.
- Full body animation: Goes beyond facial movements to include natural gestures, expressions, and body language.
- Dynamic camera control: Powered by Uni3C controlnet for subtle camera movements and professional cinematography.
- Prompt-guided generation: Follow text instructions to control scene, pose, and behavior while maintaining audio sync.
- Extended duration: Support for videos up to 10 minutes long.
How It Works
MultiTalk combines three powerful technologies for optimal results:
| Component | Function |
|---|---|
| MultiTalk Core | Audio-to-motion synthesis with perfect lip synchronization |
| Wan2.1 | Video diffusion model for realistic human anatomy, expressions, and movements |
| Uni3C | Camera controlnet for dynamic, professional-looking scene control |
How to Use
- Upload your image — provide a photo with one or more people.
- Upload your audio — add the speech or song you want the subject to perform.
- Write your prompt (optional) — describe the scene, pose, or behavior you want.
- Set duration — choose your desired video length.
- Run — click the button to generate.
- Download — preview and save your talking video.
Pricing
> Billing duration: Input media duration is rounded up to whole seconds. The minimum billed duration is 3 seconds; shorter inputs are billed as 3 seconds. Existing per-5-second rate tables remain unchanged.
Per 5-second billing based on audio duration. Maximum video length: 10 minutes.
| Metric | Cost |
|---|---|
| Per 5 seconds | $0.15 |
Billing Rules
- Minimum charge: 3 seconds ($0.09)
- Maximum duration: 600 seconds (10 minutes)
- Billed duration: Audio length rounded up to nearest 5-second increment
- Total cost: (Billed duration ÷ 5) × $0.15
Examples
| Audio Length | Billed Duration | Calculation | Total Cost |
|---|---|---|---|
| 3s | 3s (minimum) | 3 ÷ 5 × $0.15 | $0.09 |
| 12s | 15s | 15 ÷ 5 × $0.15 | $0.45 |
| 30s | 30s | 30 ÷ 5 × $0.15 | $0.90 |
| 1m (60s) | 60s | 60 ÷ 5 × $0.15 | $1.80 |
| 5m (300s) | 300s | 300 ÷ 5 × $0.15 | $9.00 |
| 10m (600s) | 600s (maximum) | 600 ÷ 5 × $0.15 | $18.00 |
Best Use Cases
- Virtual Presentations — Create professional talking head videos from a single photo.
- Content Localization — Dub videos into different languages with perfect lip sync.
- Music & Performance — Generate singing videos with synchronized mouth movements.
- Conversational Content — Produce multi-person dialogue scenes for storytelling.
- Marketing & Advertising — Create spokesperson videos without filming sessions.
Related Models
- Wan2.1 Text-to-Video / Image-to-Video — For general video generation without audio sync.
- Uni3C Camera Control — For creating custom camera motion transfers.
Pro Tips for Best Results
- Use clear, front-facing photos with visible faces for the best lip synchronization.
- High-quality audio with minimal background noise produces more accurate results.
- For multi-person scenes, ensure all faces are clearly visible in the source image.
- Add scene descriptions in your prompt to enhance the visual context and atmosphere.
- Start with shorter clips to test synchronization before generating longer videos.
Notes
- If using URLs, ensure they are publicly accessible.
- Processing time scales with video duration and complexity.
- Best results come from clear speech audio and well-lit portrait images.
- For singing content, ensure the audio has clear vocal tracks.
Authentication
For authentication details, please refer to the Authentication Guide.
API Endpoints
Submit Task & Query Result
set -euo pipefail
export WAVESPEED_API_KEY="your-api-key"
REQUEST_BODY=$(cat <<'JSON'
{
"image": "https://interactive-examples.mdn.mozilla.net/media/cc0-images/painted-hand-298-332.jpg",
"audio": "https://interactive-examples.mdn.mozilla.net/media/cc0-audio/t-rex-roar.mp3",
"seed": -1
}
JSON
)
# 1. Submit the prediction.
SUBMIT_RESPONSE=$(curl --silent --show-error --fail-with-body \
-X POST "https://api.wavespeed.ai/api/v3/wavespeed-ai/wan-2.1/multitalk" \
-H "Authorization: Bearer ${WAVESPEED_API_KEY}" \
-H "Content-Type: application/json" \
-d "${REQUEST_BODY}")
TASK=$(printf '%s' "${SUBMIT_RESPONSE}" | jq 'if type == "object" and has("data") then .data else . end')
PREDICTION_ID=$(printf '%s' "${TASK}" | jq -r '.id // empty')
if [ -z "${PREDICTION_ID}" ]; then
printf 'Submission response did not contain a prediction id
' >&2
exit 1
fi
RESULT_URL=$(printf '%s' "${TASK}" | jq -r '.urls.get // empty')
if [ -z "${RESULT_URL}" ]; then RESULT_URL="https://api.wavespeed.ai/api/v3/predictions/${PREDICTION_ID}/result"; fi
# 2. Poll until the prediction finishes.
while true; do
RESPONSE=$(curl --silent --show-error --fail-with-body \
"${RESULT_URL}" \
-H "Authorization: Bearer ${WAVESPEED_API_KEY}")
RESULT=$(printf '%s' "${RESPONSE}" | jq 'if type == "object" and has("data") then .data else . end')
STATUS=$(printf '%s' "${RESULT}" | jq -r '.status // empty')
case "${STATUS}" in
completed) printf '%s\n' "${RESULT}" | jq '.outputs'; break ;;
failed|cancelled|timeout) printf '%s\n' "${RESULT}" | jq . >&2; exit 1 ;;
created|processing) sleep 2 ;;
*) printf 'Unexpected status: %s
' "${STATUS}" >&2; exit 1 ;;
esac
doneParameters
Task Submission Parameters
Request Parameters
| Parameter | Type | Required | Default | Range | Description |
|---|---|---|---|---|---|
| image | string | Yes | - | The image for generating the output. | |
| audio | string | Yes | - | - | The audio for generating the output. |
| prompt | string | No | - | The positive prompt for the generation. | |
| seed | integer | No | -1 | - | The random seed to use for the generation. -1 means a random seed will be used. |
Response Parameters
| Parameter | Type | Description |
|---|---|---|
| code | integer | HTTP status code (e.g., 200 for success) |
| message | string | Status message (e.g., “success”) |
| data.id | string | Unique identifier for the prediction, Task Id |
| data.model | string | Model ID used for the prediction |
| data.outputs | array | Output values, usually URL strings; some models return text strings or structured result objects (empty when status is not completed) |
| data.urls | object | Object containing related API endpoints |
| data.urls.get | string | URL to retrieve the prediction result |
| data.status | string | Status of the task: created, processing, completed, or failed |
| data.created_at | string | ISO timestamp of when the request was created (e.g., “2023-04-01T12:34:56.789Z”) |
| data.error | string | Error message (empty if no error occurred) |
| data.timings | object | Object containing timing details |
| data.timings.inference | integer | Inference time in milliseconds |
Result Request Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| id | string | Yes | - | Task ID |
Result Response Parameters
| Parameter | Type | Description |
|---|---|---|
| code | integer | HTTP status code (e.g., 200 for success) |
| message | string | Status message (e.g., “success”) |
| data | object | The prediction data object containing all details |
| data.id | string | Unique identifier for the prediction |
| data.model | string | Model ID used for the prediction |
| data.outputs | array<string | object> | Array of generated outputs (empty when status is not completed). Items are usually URL strings, but may be text strings or structured result objects, depending on the model. |
| data.urls | object | Object containing related API endpoints |
| data.urls.get | string | URL to poll for the prediction result |
| data.status | string | Status: created, processing, completed, or failed |
| data.created_at | string | ISO timestamp of when the request was created |
| data.error | string | Error message (empty if no error occurred) |
| data.timings | object | Object containing timing details |
| data.timings.inference | integer | Inference time in milliseconds |