voice_audio_multi/model_specs/pocket_tts.json
Fabio c36510c21e
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
Initial import: audio.cpp with Orange Pi documentation
2026-11-04 19:05:22 +01:00

525 lines
16 KiB
JSON

{
"family": "pocket_tts",
"display_name": "PocketTTS",
"description": "Kyutai 100M-parameter CPU-friendly TTS package set for real-time local synthesis and small-footprint voice cloning in English, French, German, Italian, Portuguese, and Spanish.",
"category": "tts",
"status": "supported",
"tasks": [
"tts",
"clone"
],
"modes": [
"offline",
"streaming"
],
"languages": [
"en",
"fr",
"de",
"it",
"pt",
"es"
],
"options": {
"request": [
{
"name": "frames_after_eos",
"type": "int",
"description": "Extra frames after EOS; -1 uses the model-derived value.",
"required": false,
"min": -1,
"default": -1
},
{
"name": "max_frames",
"type": "int",
"description": "Maximum generated audio frames; zero estimates the cap from text length. Captured during session preparation.",
"required": false,
"min": 0,
"default": 0
},
{
"name": "text_chunk_tokens",
"type": "int",
"description": "Tokenizer tokens per text chunk; must be positive, default 50. Set during preparation and overridable per request.",
"required": false,
"min": 1,
"default": 50
},
{
"name": "temperature",
"type": "float",
"description": "Positive flow noise temperature; defaults to the model configuration. Captured during session preparation.",
"required": false
},
{
"name": "seed",
"type": "int",
"description": "Noise seed; omitted chooses a random seed. Captured during session preparation.",
"required": false,
"min": 0,
"max": 4294967295
},
{
"name": "noise_clamp",
"type": "float",
"description": "Noise clamp; a negative value disables clamping. Captured during session preparation.",
"required": false,
"default": -1
},
{
"name": "eos_threshold",
"type": "float",
"description": "EOS detection threshold. Captured during session preparation.",
"required": false,
"default": -4
},
{
"name": "noise_file",
"type": "path",
"description": "Precomputed noise schedule file. Captured during session preparation.",
"required": false
},
{
"name": "voice_embedding_file",
"type": "path",
"description": "Precomputed voice-state embedding path. Captured during session preparation.",
"required": false
},
{
"name": "truncate_clone_audio",
"type": "bool",
"description": "Truncate voice clone audio. Captured during session preparation.",
"required": false,
"default": false
},
{
"name": "text_chunk_size",
"type": "int",
"description": "Optional per-request character chunk size; otherwise use sentence/token budgeting.",
"required": false
},
{
"name": "export_voice_state_file",
"type": "path",
"description": "Export the prepared voice state during session preparation.",
"required": false
}
],
"session": [
{
"name": "voice_state_cache_slots",
"type": "int",
"description": "Cached prepared voice states; zero disables reuse.",
"required": false,
"min": 0,
"default": 4
},
{
"name": "offline_graph_capacity_mode",
"type": "enum",
"description": "Offline graph capacity policy; CPU/Metal default tiered, other backends double.",
"required": false,
"values": [
"fixed",
"double",
"tiered",
"grow"
]
},
{
"name": "prompt_graph_capacity",
"type": "int",
"description": "Optional reserved prompt capacity.",
"required": false,
"min": 1
},
{
"name": "generation_graph_capacity",
"type": "int",
"description": "Optional reserved generation capacity.",
"required": false,
"min": 1
},
{
"name": "weight_type",
"type": "enum",
"description": "Shared matmul weight storage; component matmul settings inherit it. Convolution storage remains independently native unless overridden.",
"required": false,
"preset": "weight_type_full"
},
{
"name": "matmul_weight_type",
"type": "enum",
"description": "Weight storage type; component-specific settings inherit weight_type.",
"required": false,
"preset": "weight_type_full"
},
{
"name": "conv_weight_type",
"type": "enum",
"description": "Convolution weight storage.",
"required": false,
"preset": "weight_type_conv",
"default": "native"
},
{
"name": "weight_context_mb",
"type": "int",
"description": "Context or graph arena size in MiB.",
"required": false,
"min": 1,
"default": 64
},
{
"name": "flow_weight_context_mb",
"type": "int",
"description": "Flow weight context in MiB; inherits pocket_tts.weight_context_mb when omitted.",
"required": false,
"min": 1
},
{
"name": "mimi_encoder_weight_context_mb",
"type": "int",
"description": "Mimi encoder weight context in MiB; inherits pocket_tts.weight_context_mb when omitted.",
"required": false,
"min": 1
},
{
"name": "mimi_decoder_weight_context_mb",
"type": "int",
"description": "Mimi decoder weight context in MiB; inherits pocket_tts.weight_context_mb when omitted.",
"required": false,
"min": 1
},
{
"name": "flow_weights_view_context_mb",
"type": "int",
"description": "Context or graph arena size in MiB.",
"required": false,
"min": 1,
"default": 256
},
{
"name": "flow_step_graph_arena_mb",
"type": "int",
"description": "Flow-step host graph-metadata arena size in MiB, not device workspace.",
"required": false,
"min": 1,
"default": 256
},
{
"name": "mimi_encoder_graph_arena_mb",
"type": "int",
"description": "Mimi encoder host graph-metadata arena size in MiB, not device workspace.",
"required": false,
"min": 1,
"default": 512
},
{
"name": "mimi_conv_graph_arena_mb",
"type": "int",
"description": "Mimi convolution host graph-metadata arena size in MiB, not device workspace.",
"required": false,
"min": 1,
"default": 32
},
{
"name": "mimi_transformer_graph_arena_mb",
"type": "int",
"description": "Mimi transformer host graph-metadata arena size in MiB, not device workspace.",
"required": false,
"min": 1,
"default": 96
},
{
"name": "mimi_tail_graph_arena_mb",
"type": "int",
"description": "Mimi tail host graph-metadata arena size in MiB, not device workspace.",
"required": false,
"min": 1,
"default": 512
},
{
"name": "mimi_full_chunk_frames",
"type": "int",
"description": "Full-sequence decoder chunk frames.",
"required": false,
"min": 1,
"default": 90
},
{
"name": "mimi_stage2_chunk_frames",
"type": "int",
"description": "Second-stage decoder chunk frames.",
"required": false,
"min": 1,
"default": 900
},
{
"name": "use_full_mimi",
"type": "bool",
"description": "Use full-sequence Mimi decoding.",
"required": false,
"default": true
}
],
"load": [
{
"name": "language",
"type": "string",
"description": "Model language selection.",
"required": false,
"default": "english"
}
]
},
"capabilities": {
"clone": [
"speaker_reference"
]
},
"runtime": {
"tags": [
"gguf"
]
},
"ui": {
"recommended_package": "pocket_tts_english_q8_0",
"default_voice": "alba",
"builtin_voices": [
"alba"
],
"tags": [
"TTS",
"Clone",
"GGUF"
],
"docs": [
"docs/tts.md",
"docs/gguf.md"
]
},
"package_defaults": {
"download": {
"kind": "huggingface_snapshot",
"repo": "audio-cpp/audio.cpp-gguf",
"revision": "main",
"gated": false
}
},
"packages": [
{
"id": "pocket_tts_english_q8_0",
"display_name": "PocketTTS English Q8_0 GGUF",
"default": true,
"format": "gguf",
"precision": "q8_0",
"target_directory": "PocketTTS-GGUF/english",
"files": [
"PocketTTS-GGUF/english/pocket-tts-english-q8_0.gguf",
"PocketTTS-GGUF/english/embeddings/alba.safetensors"
],
"strip_prefix": "PocketTTS-GGUF/english"
},
{
"id": "pocket_tts_english_bf16",
"display_name": "PocketTTS English BF16 GGUF",
"format": "gguf",
"precision": "bf16",
"target_directory": "PocketTTS-GGUF/english",
"files": [
"PocketTTS-GGUF/english/pocket-tts-english-bf16.gguf",
"PocketTTS-GGUF/english/embeddings/alba.safetensors"
],
"strip_prefix": "PocketTTS-GGUF/english"
},
{
"id": "pocket_tts_french_q8_0",
"display_name": "PocketTTS French Q8_0 GGUF",
"format": "gguf",
"precision": "q8_0",
"target_directory": "PocketTTS-GGUF/french",
"files": [
"PocketTTS-GGUF/french/pocket-tts-french-q8_0.gguf",
"PocketTTS-GGUF/french/embeddings/cosette.safetensors"
],
"strip_prefix": "PocketTTS-GGUF/french"
},
{
"id": "pocket_tts_french_bf16",
"display_name": "PocketTTS French BF16 GGUF",
"format": "gguf",
"precision": "bf16",
"target_directory": "PocketTTS-GGUF/french",
"files": [
"PocketTTS-GGUF/french/pocket-tts-french-bf16.gguf",
"PocketTTS-GGUF/french/embeddings/cosette.safetensors"
],
"strip_prefix": "PocketTTS-GGUF/french"
},
{
"id": "pocket_tts_german_q8_0",
"display_name": "PocketTTS German Q8_0 GGUF",
"format": "gguf",
"precision": "q8_0",
"target_directory": "PocketTTS-GGUF/german",
"files": [
"PocketTTS-GGUF/german/pocket-tts-german-q8_0.gguf"
],
"strip_prefix": "PocketTTS-GGUF/german"
},
{
"id": "pocket_tts_german_bf16",
"display_name": "PocketTTS German BF16 GGUF",
"format": "gguf",
"precision": "bf16",
"target_directory": "PocketTTS-GGUF/german",
"files": [
"PocketTTS-GGUF/german/pocket-tts-german-bf16.gguf"
],
"strip_prefix": "PocketTTS-GGUF/german"
},
{
"id": "pocket_tts_italian_q8_0",
"display_name": "PocketTTS Italian Q8_0 GGUF",
"format": "gguf",
"precision": "q8_0",
"target_directory": "PocketTTS-GGUF/italian",
"files": [
"PocketTTS-GGUF/italian/pocket-tts-italian-q8_0.gguf"
],
"strip_prefix": "PocketTTS-GGUF/italian"
},
{
"id": "pocket_tts_italian_bf16",
"display_name": "PocketTTS Italian BF16 GGUF",
"format": "gguf",
"precision": "bf16",
"target_directory": "PocketTTS-GGUF/italian",
"files": [
"PocketTTS-GGUF/italian/pocket-tts-italian-bf16.gguf"
],
"strip_prefix": "PocketTTS-GGUF/italian"
},
{
"id": "pocket_tts_portuguese_q8_0",
"display_name": "PocketTTS Portuguese Q8_0 GGUF",
"format": "gguf",
"precision": "q8_0",
"target_directory": "PocketTTS-GGUF/portuguese",
"files": [
"PocketTTS-GGUF/portuguese/pocket-tts-portuguese-q8_0.gguf"
],
"strip_prefix": "PocketTTS-GGUF/portuguese"
},
{
"id": "pocket_tts_portuguese_bf16",
"display_name": "PocketTTS Portuguese BF16 GGUF",
"format": "gguf",
"precision": "bf16",
"target_directory": "PocketTTS-GGUF/portuguese",
"files": [
"PocketTTS-GGUF/portuguese/pocket-tts-portuguese-bf16.gguf"
],
"strip_prefix": "PocketTTS-GGUF/portuguese"
},
{
"id": "pocket_tts_spanish_q8_0",
"display_name": "PocketTTS Spanish Q8_0 GGUF",
"format": "gguf",
"precision": "q8_0",
"target_directory": "PocketTTS-GGUF/spanish",
"files": [
"PocketTTS-GGUF/spanish/pocket-tts-spanish-q8_0.gguf"
],
"strip_prefix": "PocketTTS-GGUF/spanish"
},
{
"id": "pocket_tts_spanish_bf16",
"display_name": "PocketTTS Spanish BF16 GGUF",
"format": "gguf",
"precision": "bf16",
"target_directory": "PocketTTS-GGUF/spanish",
"files": [
"PocketTTS-GGUF/spanish/pocket-tts-spanish-bf16.gguf"
],
"strip_prefix": "PocketTTS-GGUF/spanish"
},
{
"id": "pocket_tts_english_safetensors",
"display_name": "PocketTTS English Safetensors",
"format": "safetensors",
"precision": "native",
"target_directory": "pocket-tts",
"files": [
"languages/english/embeddings/alba.safetensors",
"languages/english/embeddings/anna.safetensors",
"languages/english/embeddings/azelma.safetensors",
"languages/english/embeddings/bill_boerst.safetensors",
"languages/english/embeddings/caro_davy.safetensors",
"languages/english/embeddings/charles.safetensors",
"languages/english/embeddings/cosette.safetensors",
"languages/english/embeddings/eponine.safetensors",
"languages/english/embeddings/estelle.safetensors",
"languages/english/embeddings/eve.safetensors",
"languages/english/embeddings/fantine.safetensors",
"languages/english/embeddings/george.safetensors",
"languages/english/embeddings/giovanni.safetensors",
"languages/english/embeddings/jane.safetensors",
"languages/english/embeddings/javert.safetensors",
"languages/english/embeddings/jean.safetensors",
"languages/english/embeddings/juergen.safetensors",
"languages/english/embeddings/lola.safetensors",
"languages/english/embeddings/marius.safetensors",
"languages/english/embeddings/mary.safetensors",
"languages/english/embeddings/michael.safetensors",
"languages/english/embeddings/paul.safetensors",
"languages/english/embeddings/peter_yearsley.safetensors",
"languages/english/embeddings/rafael.safetensors",
"languages/english/embeddings/stuart_bell.safetensors",
"languages/english/embeddings/vera.safetensors",
"languages/english/model.safetensors",
"languages/english/tokenizer.model"
],
"download": {
"kind": "huggingface_snapshot",
"repo": "kyutai/pocket-tts",
"gated": true
}
}
],
"sources": [
{
"format": "gguf",
"roots": {
"model": ".",
"weights": "$gguf"
},
"files": {
"tokenizer": "model:tokenizer.model"
},
"optional_files": {
"config": "model:config.yaml"
},
"tensors": {
"weights": "weights:"
}
},
{
"format": "safetensors",
"roots": {
"language": "languages/english"
},
"files": {
"tokenizer": "language:tokenizer.model"
},
"optional_files": {
"config": "language:config.yaml"
},
"tensors": {
"weights": "language:model.safetensors"
}
}
]
}