falText to speechComing soon

fal-ai/maya

fal-ai/maya is a text to speech tool from fal that runs in the background and returns audio. Coming soon: listed with its price, not yet open to runs.

This tool is listed but not yet available to run.

Price pending

Pricing

Price pending.

Limits

Runs
In the background
Returns
audio
Longest queue wait
3600s
Run deadline
1800s
Largest inline input
1024 KB
Largest input file
500 MB
Largest output
4768 MB
Outputs per run
16

Input

FieldKindDefaultDescription
text requiredtext—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! <excited> This is amazing!' or 'I can't believe this <sigh> happened again.'
prompt requiredtext—Description of the voice/character. Includes attributes like age, accent, pitch, timbre, pacing, tone, and intensity. See examples for format.
temperaturenumber
0 to 2
0.4Sampling temperature. Lower values (0.2-0.5) produce more stable/consistent audio. Higher values add variation.
top_pnumber
0 to 1
0.9Nucleus sampling parameter. Controls diversity of token selection.
max_tokensnumber (whole)
28 to 4000
2000Maximum number of SNAC tokens to generate (7 tokens per frame). Controls maximum audio length.
repetition_penaltynumber
1 to 2
1.1Penalty for repeating tokens. Higher values reduce repetition artifacts.
sample_rateone of
48 kHz, 24 kHz
48 kHzOutput audio sample rate. 48 kHz provides higher quality audio, 24 kHz is faster.
output_formatone of
wav, mp3
wavOutput audio format for the generated speech

Same request in code

curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "fal",
    "model": "fal-ai/maya",
    "input": {
      "text": "Hello world! This is a test of the Maya-1-Voice text-to-speech system.",
      "prompt": "Realistic male voice in the 30s age with american accent. Normal pitch, warm timbre, conversational pacing, neutral tone delivery at med intensity."
    }
  }'