ONNX Model Zoo

runanywhere/vits-piper-en_GB-alba-medium

By runanywhere · ↓ 0 · ♥ 0 · Updated 2026-02-13

What's in this repo

This page lists the files in runanywhere/vits-piper-en_GB-alba-medium.

  • No .onnx files in this repository
  • 3 files, including 1 .md, 1 .gz
  • Last updated 2026-02-13

ONNX files

This repository has no .onnx files. See the full file list on the right for other formats.

How to use

These ONNX files can be loaded with ONNX Runtime. To inspect a model graph, upload the file to the Netron viewer. Download links point to the original files on Hugging Face.

README

Piper TTS — British English (Alba Medium)

A Piper VITS text-to-speech model for British English, packaged for use with the RunAnywhere SDK.

Format: tar.gz archive (~64 MB) containing ONNX model + tokens + espeak-ng-data

Usage with RunAnywhere SDK

Swift (iOS / macOS)

import RunAnywhere

RunAnywhere.registerModel(
    id: "vits-piper-en_GB-alba-medium",
    name: "Piper TTS British English (Alba)",
    url: URL(string: "https://huggingface.co/runanywhere/vits-piper-en_GB-alba-medium/resolve/main/vits-piper-en_GB-alba-medium.tar.gz")!,
    framework: .onnx,
    modality: .speechSynthesis,
    artifactType: .archive(.tarGz, structure: .nestedDirectory),
    memoryRequirement: 65_000_000
)

let audioData = try await RunAnywhere.synthesize("Hello, world!", voiceId: "vits-piper-en_GB-alba-medium")

Kotlin (Android / JVM)

import com.runanywhere.sdk.RunAnywhere
import com.runanywhere.sdk.models.*

RunAnywhere.registerModel(
    id = "vits-piper-en_GB-alba-medium",
    name = "Piper TTS British English (Alba)",
    url = "https://huggingface.co/runanywhere/vits-piper-en_GB-alba-medium/resolve/main/vits-piper-en_GB-alba-medium.tar.gz",
    framework = InferenceFramework.ONNX,
    modality = ModelCategory.SPEECH_SYNTHESIS,
    memoryRequirement = 65_000_000L
)

val audioData = RunAnywhere.synthesize("Hello, world!", voiceId = "vits-piper-en_GB-alba-medium")

Web (TypeScript)

import { RunAnywhere, LLMFramework, ModelCategory } from '@anthropic/runanywhere-web';

RunAnywhere.registerModels([{
  id: 'vits-piper-en_GB-alba-medium',
  name: 'Piper TTS British English (Alba)',
  url: 'https://huggingface.co/runanywhere/vits-piper-en_GB-alba-medium/resolve/main/vits-piper-en_GB-alba-medium.tar.gz',
  framework: LLMFramework.ONNX,
  modality: ModelCategory.SpeechSynthesis,
  memoryRequirement: 65_000_000,
  artifactType: 'archive',
}]);

await RunAnywhere.downloadModel('vits-piper-en_GB-alba-medium');
await RunAnywhere.loadModel('vits-piper-en_GB-alba-medium');
const audio = await RunAnywhere.synthesize('Hello, world!', 'vits-piper-en_GB-alba-medium');

React Native (TypeScript)

import { RunAnywhere } from 'runanywhere-react-native';

RunAnywhere.registerModel({
  id: 'vits-piper-en_GB-alba-medium',
  name: 'Piper TTS British English (Alba)',
  url: 'https://huggingface.co/runanywhere/vits-piper-en_GB-alba-medium/resolve/main/vits-piper-en_GB-alba-medium.tar.gz',
  framework: 'onnx',
  modality: 'speechSynthesis',
  memoryRequirement: 65_000_000,
});

const audioData = await RunAnywhere.synthesize('Hello, world!', 'vits-piper-en_GB-alba-medium');

Flutter (Dart)

import 'package:runanywhere_flutter/runanywhere_flutter.dart';

RunAnywhere.registerModel(
  id: 'vits-piper-en_GB-alba-medium',
  name: 'Piper TTS British English (Alba)',
  url: 'https://huggingface.co/runanywhere/vits-piper-en_GB-alba-medium/resolve/main/vits-piper-en_GB-alba-medium.tar.gz',
  framework: InferenceFramework.onnx,
  modality: ModelCategory.speechSynthesis,
  memoryRequirement: 65000000,
);

final audioData = await RunAnywhere.synthesize('Hello, world!', 'vits-piper-en_GB-alba-medium');

Model Details

Property Value
Voice Alba (en_GB)
Quality Medium
Sample Rate 22050 Hz
Format ONNX (Piper VITS)
Phonemizer espeak-ng (bundled)

Attribution

Original voice data from the Piper project. Model converted for sherpa-onnx by csukuangfj.

Model info

text-to-speech sherpa-onnx
sherpa-onnx tts text-to-speech piper vits onnx runanywhere on-device en license:mit region:us
↓ 0 ♥ 0

Created: 2026-02-13

Updated: 2026-02-13

View on Hugging Face

Files (3)

.gitattributes
README.md
vits-piper-en_GB-alba-medium.tar.gz

Related models