---
title: "Kokoro 82M — Text to Speech (82M) | Xybrid"
description: "Run Kokoro 82M on-device with Xybrid. Kokoro 82M - High-quality TTS with 24 voices, Misaki dictionary Available for iOS, Android, macOS, and more."
url: "https://www.xybrid.ai/models/kokoro-82m"
---

# Kokoro 82M

Text to speech · Hexgrad

Kokoro 82M - High-quality TTS with 24 voices, Misaki dictionary

Model ID: `kokoro-82m`

## Make it part of your app.

One model. Your language.

### Rust (main.rs)

```rust
use xybrid::ModelLoader;
use xybrid::ir::{Envelope, EnvelopeKind};

// Load the TTS model
let model = ModelLoader::from_registry("kokoro-82m").load()?;

// Generate speech from text
let input = Envelope::new(EnvelopeKind::Text("Hello from Xybrid!".into()));
let result = model.run(&input, None)?;

// result.audio_bytes() holds the speech, as raw PCM
```

### Flutter (main.dart)

```dart
import 'package:xybrid_flutter/xybrid_flutter.dart';

await Xybrid.init();

// Load the TTS model
final model = await Xybrid.model('kokoro-82m').load();

// Generate speech from text
final result = await model.run(XybridEnvelope.text('Hello from Xybrid!'));

// The speech as WAV bytes, ready to play or save
final wav = result.audioAsWav();
```

### Kotlin (Main.kt)

```kotlin
Xybrid.init(context)

// Load the TTS model
val model = Xybrid.model("kokoro-82m").load()

// Generate speech from text
val result = model.runAsync(Envelope.text("Hello from Xybrid!"))

// result.audioBytes holds the speech, as raw PCM
```

### Swift (main.swift)

```swift
import Xybrid

Xybrid.initialize()

// Load the TTS model
let model = try await Xybrid.model("kokoro-82m").load()

// Generate speech from text
let result = try await model.runAsync(envelope: Envelope.text("Hello from Xybrid!"))

// result.audioBytes holds the speech, as raw PCM
```

### Unity (Example.cs)

```csharp
using Xybrid;

XybridClient.Initialize();

// Load the TTS model
using var model = XybridClient.LoadModel("kokoro-82m");

// Generate speech from text
using var envelope = Envelope.Text("Hello from Xybrid!");
using var result = model.Run(envelope);

// result.AudioBytes holds the speech, as raw PCM
```

### CLI (terminal)

```bash
# Generate speech from text
xybrid run --model kokoro-82m --input-text "Hello from Xybrid!" -o output.wav
```

[Quickstart](https://docs.xybrid.dev/en/docs/quickstart)

## Available variants

| Variant | Format | Quantization | Size |
| --- | --- | --- | --- |
| [universal](https://huggingface.co/xybrid-ai/Kokoro-82M-v1.0-ONNX) (default) | ONNX | fp16 | 174.9 MB |

## A voice for every idea.

24 voices available. Default: af_heart.

| Voice ID | Name | Gender | Language | Style |
| --- | --- | --- | --- | --- |
| `af_heart` (default) | Heart | female | en-US | neutral |
| `af_alloy` | Alloy | female | en-US | neutral |
| `af_aoede` | Aoede | female | en-US | neutral |
| `af_bella` | Bella | female | en-US | expressive |
| `af_jessica` | Jessica | female | en-US | neutral |
| `af_kore` | Kore | female | en-US | neutral |
| `af_nicole` | Nicole | female | en-US | whisper |
| `af_nova` | Nova | female | en-US | neutral |
| `af_river` | River | female | en-US | neutral |
| `af_sarah` | Sarah | female | en-US | neutral |
| `af_sky` | Sky | female | en-US | neutral |
| `am_adam` | Adam | male | en-US | neutral |
| `am_echo` | Echo | male | en-US | neutral |
| `am_eric` | Eric | male | en-US | neutral |
| `am_fenrir` | Fenrir | male | en-US | neutral |
| `am_liam` | Liam | male | en-US | neutral |
| `am_michael` | Michael | male | en-US | neutral |
| `am_onyx` | Onyx | male | en-US | neutral |
| `am_puck` | Puck | male | en-US | neutral |
| `bf_emma` | Emma | female | en-GB | neutral |
| `bf_isabella` | Isabella | female | en-GB | neutral |
| `bm_george` | George | male | en-GB | neutral |
| `bm_lewis` | Lewis | male | en-GB | neutral |
| `bm_daniel` | Daniel | male | en-GB | neutral |

## The essentials

- Task: Text to speech
- Lab: Hexgrad
- Parameters: 82M
- Format: ONNX
- Quantization: `fp16`
- Model file size: 174.9 MB
- Voices: 24
- Default variant: `universal`

[View on Hugging Face](https://huggingface.co/xybrid-ai/Kokoro-82M-v1.0-ONNX)

Ready to build? [Read the documentation](https://docs.xybrid.dev)
