GET
/v1/schemas/fal/audio/fal-ai%2Fmaya%2Fbatch
Accept:
Request body
8 properties · 2 required · 0 $defs| property | type | description | constraints |
|---|---|---|---|
| prompts* | string[] | List of voice descriptions for each text. Must match the length of texts list. Each describes the voice/character attributes. | items ≥ 1 · items ≤ 100 |
| texts* | string[] | List of texts to synthesize into speech. You can embed emotion tags in each text using the format <emotion_name>. | items ≥ 1 · items ≤ 100 |
| temperature | number | Sampling temperature for all generations. | 0 ≤ n ≤ 2 · default: 0.4 |
| sample_rate | enum | Output audio sample rate for all generations. 48 kHz provides higher quality, 24 kHz is faster. | 48 kHz | 24 kHz · default: "48 kHz" |
| repetition_penalty | number | Repetition penalty for all generations. | 1 ≤ n ≤ 2 · default: 1.1 |
| output_format | enum | Output audio format for all generated speech files | wav | mp3 · default: "wav" |
| max_tokens | integer | Maximum SNAC tokens per generation. | 28 ≤ n ≤ 4000 · default: 2000 |
| top_p | number | Nucleus sampling parameter for all generations. | 0 ≤ n ≤ 1 · default: 0.9 |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"fal","endpointId":"fal-ai/maya/batch","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}