Some checks failed
Linux Build / Linux cpu (push) Has been cancelled
Linux Build / Linux cpu-clang (push) Has been cancelled
Linux Build / Linux vulkan (push) Has been cancelled
mac-build / macOS CPU (push) Has been cancelled
Nix Build / Nix (cpu) (push) Has been cancelled
Nix Build / Nix (vulkan) (push) Has been cancelled
windows-build / Windows CPU (push) Has been cancelled
193 lines
5.1 KiB
JSON
193 lines
5.1 KiB
JSON
{
|
|
"schema_version": 1,
|
|
"family": "piper_tts",
|
|
"display_name": "Piper TTS",
|
|
"description": "Native VITS inference for Piper text-to-speech voices using the shared eSpeak-ng frontend.",
|
|
"category": "tts",
|
|
"status": "community",
|
|
"tasks": [
|
|
"tts"
|
|
],
|
|
"modes": [
|
|
"offline"
|
|
],
|
|
"languages": [
|
|
"en"
|
|
],
|
|
"runtime": {
|
|
"tags": [
|
|
"gguf"
|
|
]
|
|
},
|
|
"capabilities": {
|
|
"tts": [
|
|
"long_form"
|
|
]
|
|
},
|
|
"options": {
|
|
"request": [
|
|
{
|
|
"name": "speed",
|
|
"type": "float",
|
|
"description": "Speech speed multiplier; larger values produce faster speech.",
|
|
"required": false,
|
|
"min": 0.5,
|
|
"max": 2.0,
|
|
"default": 1.0
|
|
},
|
|
{
|
|
"name": "variation",
|
|
"type": "float",
|
|
"description": "Acoustic latent noise scale.",
|
|
"required": false,
|
|
"min": 0.0,
|
|
"max": 1.0,
|
|
"default": 0.667
|
|
},
|
|
{
|
|
"name": "duration_variation",
|
|
"type": "float",
|
|
"description": "Stochastic duration noise scale.",
|
|
"required": false,
|
|
"min": 0.0,
|
|
"max": 2.0,
|
|
"default": 0.8
|
|
},
|
|
{
|
|
"name": "seed",
|
|
"type": "int",
|
|
"description": "Non-negative generation seed.",
|
|
"required": false,
|
|
"min": 0,
|
|
"default": 1234,
|
|
"max": 4294967295
|
|
},
|
|
{
|
|
"name": "text_chunk_mode",
|
|
"type": "enum",
|
|
"description": "Long-form text chunking mode.",
|
|
"values": [
|
|
"default",
|
|
"tag_aware",
|
|
"japanese",
|
|
"endline"
|
|
],
|
|
"required": false,
|
|
"default": "default"
|
|
},
|
|
{
|
|
"name": "text_chunk_size",
|
|
"type": "int",
|
|
"description": "Maximum Unicode codepoints per long-form chunk.",
|
|
"required": false,
|
|
"min": 1,
|
|
"default": 280
|
|
}
|
|
],
|
|
"session": [
|
|
{
|
|
"name": "espeak_library_path",
|
|
"type": "path",
|
|
"description": "Optional explicit path to the eSpeak-ng shared library.",
|
|
"required": false
|
|
},
|
|
{
|
|
"name": "espeak_data_path",
|
|
"type": "path",
|
|
"description": "Optional explicit path to espeak-ng-data.",
|
|
"required": false
|
|
},
|
|
{
|
|
"name": "exec_plan",
|
|
"type": "string",
|
|
"description": "JSON object of component execution plans. Components: decoder, duration_encoder, duration_flows. Each plan accepts impl, backend, artifacts, and params. impl is default/ggml/rknn. Default keeps existing execution. The decoder's GGML impl supports the session backend; RKNN requires artifacts.main and ENGINE_ENABLE_RKNN, with no backend field. The two duration stages are GGML-only and accept the session backend (device) or cpu (host); with no backend field the text encoder runs on the host on CUDA and on the session backend elsewhere, and the flow graphs run on the session backend. No implementation takes params.",
|
|
"required": false,
|
|
"default": "{}"
|
|
}
|
|
],
|
|
"load": []
|
|
},
|
|
"package_defaults": {
|
|
"download": {
|
|
"kind": "huggingface_snapshot",
|
|
"repo": "audio-cpp/audio.cpp-gguf",
|
|
"revision": "main",
|
|
"gated": false
|
|
}
|
|
},
|
|
"packages": [
|
|
{
|
|
"id": "piper_lessac_medium_orig",
|
|
"display_name": "Piper Lessac Medium Original-Dtype GGUF",
|
|
"default": true,
|
|
"format": "gguf",
|
|
"precision": "orig",
|
|
"target_directory": "Piper-TTS-GGUF",
|
|
"files": [
|
|
"Piper-TTS-GGUF/piper-en-us-lessac-medium-orig.gguf"
|
|
],
|
|
"strip_prefix": "Piper-TTS-GGUF"
|
|
},
|
|
{
|
|
"id": "piper_lessac_medium_decoder_rk3588",
|
|
"display_name": "Piper Lessac Medium NPU Decoder RKNN (RK3588)",
|
|
"format": "rknn",
|
|
"precision": "f16",
|
|
"target_directory": "Piper-TTS-GGUF",
|
|
"files": [
|
|
"rk3588/piper-lessac-w93.rknn"
|
|
],
|
|
"strip_prefix": "rk3588",
|
|
"description": "Pre-compiled RK3588 engine for the piper_tts RKNN decoder sidecar (piper_tts.exec_plan, artifacts.main); installs beside the GGUF weights and is named by bare file name. Built by tools/rknn from the en_US-lessac-medium streaming decoder export; see docs/build/rockchip-npu.md.",
|
|
"download": {
|
|
"kind": "huggingface_snapshot",
|
|
"repo": "wOvANAI/rknn-tts-engines",
|
|
"revision": "main",
|
|
"gated": false
|
|
}
|
|
}
|
|
],
|
|
"dependencies": [],
|
|
"ui": {
|
|
"recommended_package": "piper_lessac_medium_orig",
|
|
"tags": [
|
|
"TTS",
|
|
"GGUF"
|
|
],
|
|
"docs": [
|
|
"docs/tts.md",
|
|
"docs/models/piper_tts.md",
|
|
"docs/gguf.md"
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"format": "gguf",
|
|
"roots": {
|
|
"model": ".",
|
|
"weights": "$gguf"
|
|
},
|
|
"files": {
|
|
"config": "model:config.json"
|
|
},
|
|
"tensors": {
|
|
"weights": {
|
|
"source": "weights:",
|
|
"prefix": "weights"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"format": "safetensors",
|
|
"roots": {
|
|
"model": "."
|
|
},
|
|
"files": {
|
|
"config": "model:config.json"
|
|
},
|
|
"tensors": {
|
|
"weights": "model:model.safetensors"
|
|
}
|
|
}
|
|
]
|
|
}
|