# MiniMax H3 Turbo Talking Avatar

> MiniMax H3 Turbo Talking Avatar on the Kinovi API — animate a single portrait into a lip-synced talking video driven by speech audio at 480p or 768p, 5–15 s.

Source: https://kinovi.ai/docs/models/minimax-h3-turbo-avatar-talking

- Model ID: `minimax-h3-turbo-avatar-talking`
- Type: Video
- Provider: MiniMax
- From: $0.0447 / s
- Model page: https://kinovi.ai/models/minimax-h3-turbo-avatar-talking
- Playground: https://kinovi.ai/app/gallery?model=minimax-h3-turbo-avatar-talking

## Quickstart

Two calls: submit a task with `createTask`, then poll `recordInfo` with the returned `taskId` until `status` is `success` or `fail`.

Every request carries `Authorization: Bearer <yourApiKey>`. Create and manage keys at [kinovi.ai/api-keys](https://kinovi.ai/api-keys); see the [API reference](https://kinovi.ai/docs/api) for rate limits and error codes.

### Submit a task

`POST https://kinovi.ai/api/v1/jobs/createTask`

```json
{
  "model": "minimax-h3-turbo-avatar-talking",
  "inputs": {
    "prompt": "The speaker addresses the camera warmly with natural head nods, slight hand gestures, and relaxed studio lighting.",
    "imageUrls": [
      "https://static.kinovi.ai/generated-images/task_ff01ii3zvib7ndbx8negnh6q-0.png"
    ],
    "audioUrls": [
      "https://example.com/speech-track.mp3"
    ],
    "aspectRatio": "adaptive",
    "duration": 8,
    "resolution": "768p"
  }
}
```

Response `200 OK` — the task is queued and credits are reserved. Use `taskId` to poll for the result.

```json
{
  "taskId": "task_01j9exampleavatar001"
}
```

#### Error responses

| HTTP | Body | When |
|:--|:--|:--|
| `400` | `{ "message": "Invalid inputs for model", "errors": [ … ] }` | Missing `prompt`, not sending exactly 1 `imageUrls` entry or 1 `audioUrls` entry, sending `videoUrls`, `duration` outside `5`–`15`, or `resolution` outside `480p` / `768p`. Nothing is charged. |
| `401` | `{ "message": "Invalid API Key" }` | Missing or wrong `Authorization` header. |
| `402` | `{ "message": "Insufficient credits", "required": 117, "available": 0 }` | Not enough credits for this duration × resolution. |
| `429` | `{ "message": "Concurrency limit reached (…)", "limit": 5, "current": 5 }` | Too many tasks in progress; wait for one to finish. |

### Query the result

`GET https://kinovi.ai/api/v1/jobs/recordInfo?taskId=task_…`

Poll every few seconds until `status` is `success` or `fail`.

| `status` | Meaning |
|:--|:--|
| `waiting` | Queued, not started yet |
| `generating` | Running |
| `success` | Done — read `output[].url` |
| `fail` | Failed — see `error.code` / `error.message`; credits are refunded |

## Parameters

Send these inside the `createTask` body. `model`, `inputs.prompt`, `inputs.imageUrls` (1 portrait), and `inputs.audioUrls` (1 speech track) are required; everything else falls back to the default shown.

Reference media fields take any publicly reachable URL — host the files yourself, or upload them to Kinovi first with `POST /api/v1/uploads` and pass the returned `url` (see [Uploading Assets](https://kinovi.ai/docs/uploads)).

| Field | Type | Default | Description |
|:--|:--|:--|:--|
| `model` | `string` | **required** | Must be `"minimax-h3-turbo-avatar-talking"`. |
| `inputs.prompt` | `string` | **required** | Expression, framing, gesture, and lighting direction, max **10,000** characters. |
| `inputs.imageUrls` | `string[]` | **required** | **Exactly 1** portrait image URL. `imageUrl` / `uploadedUrls` accepted as mutually exclusive aliases. Your own hosted URLs or [Kinovi uploads](https://kinovi.ai/docs/uploads). |
| `inputs.audioUrls` | `string[]` | **required** | **Exactly 1** speech audio track (≥ 2 s, ≤ 15 s). Your own hosted URLs or [Kinovi uploads](https://kinovi.ai/docs/uploads). |
| `inputs.aspectRatio` | `string` | `adaptive` | `adaptive` · `16:9` · `9:16` · `1:1` · `4:3` · `3:4` · `21:9`. `adaptive` matches the portrait's framing. |
| `inputs.duration` | `integer` | `5` | Clip length in whole seconds, `5` to `15`. Match your speech track length so dialogue isn't cut off. |
| `inputs.resolution` | `string` | `768p` | `480p` · `768p`. |
| `inputs.enable_safety_checker` | `boolean` | `true` | Optional safety checker toggle. |
| `callBackUrl` | `string` | – | Optional webhook called when the task finishes. |

`inputs.videoUrls` is rejected on this model.

### Full request

```json
{
  "model": "minimax-h3-turbo-avatar-talking",
  "inputs": {
    "prompt": "Natural podcast-host delivery, subtle smiles and eyebrow movement, shallow depth of field.",
    "imageUrls": [
      "https://static.kinovi.ai/generated-images/task_ff01ii3zvib7ndbx8negnh6q-0.png"
    ],
    "audioUrls": [
      "https://example.com/speech-track.mp3"
    ],
    "aspectRatio": "adaptive",
    "duration": 10,
    "resolution": "768p",
    "enable_safety_checker": true
  },
  "callBackUrl": "https://example.com/hooks/kinovi"
}
```

## Pricing

Priced **per second of output video** by `resolution`. The input portrait and speech audio track do not add extra charges. Live prices: [kinovi.ai/models/minimax-h3-turbo-avatar-talking](https://kinovi.ai/models/minimax-h3-turbo-avatar-talking).

| | 480p | 768p |
|:--|--:|--:|
| **per second** | $0.0447 / s | $0.0677 / s |

`duration` × the rate is charged at submit; failed tasks are refunded in full.

## Response

### Result fields

**JSON**

```json
{
  "taskId": "task_01j9exampleavatar001",
  "model": "minimax-h3-turbo-avatar-talking",
  "status": "success",
  "creditsUsed": 116.8,
  "output": [
    {
      "url": "https://static.kinovi.ai/videos/minimax_avatar_example.mp4",
      "width": 768,
      "height": 1366,
      "mediaType": "video/mp4"
    }
  ],
  "error": null,
  "createTime": 1790090613532,
  "completeTime": 1790090754900
}
```

**Table**

| Field | Type | Description |
|:--|:--|:--|
| `taskId` | `string` | The task id returned by `createTask`. |
| `model` | `string` | `"minimax-h3-turbo-avatar-talking"`. |
| `status` | `string` | `waiting` · `generating` · `success` · `fail`. Stop polling on `success` or `fail`. |
| `creditsUsed` | `number` | Credits actually charged. Refunded automatically when `status` is `fail`. |
| `output` | `object[]` | Generated talking video; empty until `success`. Stored by Kinovi for 7 days after generation. |
| `output[0].url` | `string` | Download URL of the `.mp4` clip with synced speech audio. |
| `output[0].width` | `integer` | Pixel width. |
| `output[0].height` | `integer` | Pixel height. |
| `output[0].mediaType` | `string` | `video/mp4`. |
| `error` | `object \| null` | `{ code, message }` when the task failed, otherwise `null`. |
| `createTime` | `number` | Unix epoch milliseconds when the task was accepted. |
| `completeTime` | `number \| null` | Unix epoch milliseconds when the task reached a terminal status. |

## Examples

### Portrait + audio to talking video

**cURL**

```bash
curl -sS -X POST "https://kinovi.ai/api/v1/jobs/createTask" \
  -H "Authorization: Bearer $KINOVI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "minimax-h3-turbo-avatar-talking",
    "inputs": {
      "prompt": "Warm, confident delivery to camera with gentle head movement and natural blinking.",
      "imageUrls": ["https://static.kinovi.ai/generated-images/task_ff01ii3zvib7ndbx8negnh6q-0.png"],
      "audioUrls": ["https://example.com/speech-track.mp3"],
      "aspectRatio": "adaptive",
      "duration": 8,
      "resolution": "768p"
    }
  }'
```

**Node.js**

```ts
const API_BASE = "https://kinovi.ai/api/v1";
const headers = {
  Authorization: `Bearer ${process.env.KINOVI_API_KEY}`,
  "Content-Type": "application/json",
};

const { taskId } = await fetch(`${API_BASE}/jobs/createTask`, {
  method: "POST",
  headers,
  body: JSON.stringify({
    model: "minimax-h3-turbo-avatar-talking",
    inputs: {
      prompt: "Warm, confident delivery to camera with gentle head movement and natural blinking.",
      imageUrls: ["https://static.kinovi.ai/generated-images/task_ff01ii3zvib7ndbx8negnh6q-0.png"],
      audioUrls: ["https://example.com/speech-track.mp3"],
      aspectRatio: "adaptive",
      duration: 8,
      resolution: "768p",
    },
  }),
}).then((r) => r.json());

while (true) {
  const info = await fetch(`${API_BASE}/jobs/recordInfo?taskId=${encodeURIComponent(taskId)}`, { headers }).then((r) =>
    r.json(),
  );
  if (info.status === "success") {
    console.log(info.output[0].url);
    break;
  }
  if (info.status === "fail") throw new Error(JSON.stringify(info.error));
  await new Promise((r) => setTimeout(r, 3000));
}
```

**Python**

```python
import json, os, time, urllib.request

API_BASE = "https://kinovi.ai/api/v1"
HEADERS = {
    "Authorization": f"Bearer {os.environ['KINOVI_API_KEY']}",
    "Content-Type": "application/json",
}

payload = {
    "model": "minimax-h3-turbo-avatar-talking",
    "inputs": {
        "prompt": "Warm, confident delivery to camera with gentle head movement and natural blinking.",
        "imageUrls": ["https://static.kinovi.ai/generated-images/task_ff01ii3zvib7ndbx8negnh6q-0.png"],
        "audioUrls": ["https://example.com/speech-track.mp3"],
        "aspectRatio": "adaptive",
        "duration": 8,
        "resolution": "768p",
    },
}

req = urllib.request.Request(f"{API_BASE}/jobs/createTask", data=json.dumps(payload).encode(), headers=HEADERS)
task_id = json.load(urllib.request.urlopen(req))["taskId"]

while True:
    info = json.load(urllib.request.urlopen(urllib.request.Request(f"{API_BASE}/jobs/recordInfo?taskId={task_id}", headers=HEADERS)))
    if info["status"] == "success":
        print(info["output"][0]["url"])
        break
    if info["status"] == "fail":
        raise RuntimeError(info["error"])
    time.sleep(3)
```

## FAQ

### Can I generate the speech track on Kinovi first and pipe it into Talking Avatar?

Yes — synthesize speech with [Seed Audio 1.0](https://kinovi.ai/docs/models/seed-audio-1.0) (`seed-audio-1-0-voice-text-to-voice` or `seed-audio-1-0-voice-audio`), then pass the resulting audio URL in `inputs.audioUrls`.

### How long can the speech track be?

Between **2 and 15 seconds**, and set `inputs.duration` (`5`–`15` seconds) to cover the full clip.

## Related models

- [Seed Audio 1.0](https://kinovi.ai/docs/models/seed-audio-1.0): Generate natural multilingual speech or voice-cloned audio tracks to drive talking avatars.
- [MiniMax H3](https://kinovi.ai/docs/models/minimax-h3): MiniMax H3 flagship 768p and 2K video generation.
- [MiniMax H3 Max Turbo](https://kinovi.ai/docs/models/minimax-h3-max-turbo): High-speed MiniMax text-to-video and image-to-video.
