---
title: maya1-4bit
canonical_url: "https://www.modelscope.cn/models/mlx-community/maya1-4bit"
md_url: "https://www.modelscope.cn/models/mlx-community/maya1-4bit.md"
repository: mlx-community/maya1-4bit
last_updated: 2025-12-25
license: apache-2.0
pipeline_tag: text-to-speech
tasks:
  - text-to-speech
model_type:
  - llama
architectures:
  - LlamaForCausalLM
parameters: 515.9M
tensor_type:
  - BF16
  - U32
library_name:
  - mlx
  - safetensors
  - pytorch
frameworks:
  - pytorch
language:
  - en
inference_backends:
  - "deploy_task text/emb"
  - "lmdeploy 0.9.1"
  - "lmdeploy_turbomind 0.9.1"
  - "sglang 0.5.2"
  - "vllm 0.9.2"
downloads: 38
stars: 0
tags:
  - mlx
  - text-to-speech
  - speech
  - "speech generation"
  - "voice cloning"
  - tts
---

# maya1-4bit

> maya1-4bit - mlx-community 在 ModelScope 开源的模型。mlx-community/maya1-4bit This model was converted to MLX format from maya-research/maya1 using mlx-audio version 0.2.9. Refer to the original model card for more details on the model.

mlx-community/maya1-4bit 是 ModelScope 魔搭社区上的 515.9M 参数text-to-speech模型，采用 apache-2.0 许可，可用 deploy_task text/emb、lmdeploy 0.9.1、lmdeploy_turbomind 0.9.1 部署。

- **Repository**: mlx-community/maya1-4bit
- **License**: apache-2.0
- **Tasks**: text-to-speech
- **Parameters**: 515.9M
- **Inference backends**: deploy_task text/emb, lmdeploy 0.9.1, lmdeploy_turbomind 0.9.1, sglang 0.5.2, vllm 0.9.2
- **Tags**: mlx, text-to-speech, speech, speech generation, voice cloning, tts
- **Downloads**: 38
- **Stars**: 0
- **Last updated**: 2025-12-25

Source: https://www.modelscope.cn/models/mlx-community/maya1-4bit

---

# mlx-community/maya1-4bit
This model was converted to MLX format from [`maya-research/maya1`](https://huggingface.co/maya-research/maya1) using mlx-audio version **0.2.9**.
Refer to the [original model card](https://huggingface.co/maya-research/maya1) for more details on the model.

## Use with mlx-audio

```bash
pip install -U mlx-audio
```

### CLI Example:
```bash
    python -m mlx_audio.tts.generate --model mlx-community/maya1-4bit --text "Hello, this is a test."
```
### Python Example:
```python
    from mlx_audio.tts.utils import load_model
    from mlx_audio.tts.generate import generate_audio
    model = load_model("mlx-community/maya1-4bit")
    generate_audio(
        model=model, text="Hello, this is a test.",
        ref_audio="path_to_audio.wav",
        file_prefix="test_audio",
    )

```
