falText to speechComing soon

fal-ai/maya/batch

fal-ai/maya/batch 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
texts requiredlist—List of texts to synthesize into speech. You can embed emotion tags in each text using the format <emotion_name>.
prompts requiredlist—List of voice descriptions for each text. Must match the length of texts list. Each describes the voice/character attributes.
temperaturenumber
0 to 2
0.4Sampling temperature for all generations.
top_pnumber
0 to 1
0.9Nucleus sampling parameter for all generations.
max_tokensnumber (whole)
28 to 4000
2000Maximum SNAC tokens per generation.
repetition_penaltynumber
1 to 2
1.1Repetition penalty for all generations.
sample_rateone of
48 kHz, 24 kHz
48 kHzOutput audio sample rate for all generations. 48 kHz provides higher quality, 24 kHz is faster.
output_formatone of
wav, mp3
wavOutput audio format for all generated speech files

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/batch",
    "input": {
      "texts": [
        "<texts>"
      ],
      "prompts": [
        "<prompts>"
      ]
    }
  }'