Infery.ai
← All models

Maya

maya-batch

Text to Speechby maya

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.

Pricing

Price
0.250 cr / second

Prices in credits (1 credit = $0.01).

Data schema

Input

FieldTypeDescription
textsrequiredarrayList of texts to synthesize into speech. You can embed emotion tags in each text using the format <emotion_name>.
top_pnumberNucleus sampling parameter for all generations.
promptsrequiredarrayList of voice descriptions for each text. Must match the length of texts list. Each describes the voice/character attributes.
max_tokensintegerMaximum SNAC tokens per generation.
sample_ratestringenum: 48 kHz, 24 kHzOutput audio sample rate for all generations. 48 kHz provides higher quality, 24 kHz is faster.
temperaturenumberSampling temperature for all generations.
output_formatstringenum: wav, mp3Output audio format for all generated speech files
repetition_penaltynumberRepetition penalty for all generations.

Output

FieldTypeDescription
audiosarrayList of generated audio files
durationsarrayDuration of each generated audio in seconds
average_rtfnumberAverage real-time factor across all generations
sample_ratestringSample rate of all generated audio files
total_generation_timenumberTotal time taken to generate all audio files in seconds