← All models
Maya1 is a state-of-the-art speech model by Maya Research for expressive voice generation, built to capture real human emotion and precise voice design.
Details
- Accepts
- text
Pricing
- Price
- 0.250 cr / second
Prices in credits (1 credit = $0.01).
Data schema
Input
| Field | Type | Description |
|---|---|---|
| textrequired | string | The text to synthesize into speech. You can embed emotion tags anywhere in the text using the format <emotion_name>. Available emotions: laugh, laugh_harder, sigh, chuckle, gasp, angry, excited, whisper, cry, scream, sing, snort, exhale, gulp, giggle, sarcastic, curious. Example: 'Hello world! <exci… |
| top_p | number | Nucleus sampling parameter. Controls diversity of token selection. |
| promptrequired | string | Description of the voice/character. Includes attributes like age, accent, pitch, timbre, pacing, tone, and intensity. See examples for format. |
| max_tokens | integer | Maximum number of SNAC tokens to generate (7 tokens per frame). Controls maximum audio length. |
| sample_rate | stringenum: 48 kHz, 24 kHz | Output audio sample rate. 48 kHz provides higher quality audio, 24 kHz is faster. |
| temperature | number | Sampling temperature. Lower values (0.2-0.5) produce more stable/consistent audio. Higher values add variation. |
| output_format | stringenum: wav, mp3 | Output audio format for the generated speech |
| repetition_penalty | number | Penalty for repeating tokens. Higher values reduce repetition artifacts. |
Output
| Field | Type | Description |
|---|---|---|
| rtf | number | Real-time factor (generation_time / audio_duration). Lower is better. |
| audio | — | The generated audio file containing the speech (WAV or MP3 format, 24kHz or 48kHz mono depending on upsampler) |
| duration | number | Duration of the generated audio in seconds |
| sample_rate | string | Sample rate of the generated audio |
| generation_time | number | Time taken to generate the audio in seconds |