GET
/v1/schemas/fal/audio/fal-ai/maya
Accept:
| field | recorded source |
|---|---|
| schema | Source linked above. upstream-spec Source trace6e49924683e52de25f4d4ae0a940d1c278a7c111b74c9b8e72aa55de7a94d681{
"fetchedAt": 1791522002,
"extractorVersion": "1",
"verifiedAt": null
} |
Request body
9 properties · 2 required · 0 $defs| property | type | description | constraints |
|---|---|---|---|
| prompt* | string | Description of the voice/character. Includes attributes like age, accent, pitch, timbre, pacing, tone, and intensity. See examples for format. | length ≤ 500 |
| text* | 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, sarcasti… | length ≤ 5000 |
| output_format | enum | Output audio format for the generated speech | wav | mp3 · default: "wav" |
| sample_rate | enum | Output audio sample rate. 48 kHz provides higher quality audio, 24 kHz is faster. | 48 kHz | 24 kHz · default: "48 kHz" |
| max_tokens | integer | Maximum number of SNAC tokens to generate (7 tokens per frame). Controls maximum audio length. | 28 ≤ n ≤ 4000 · default: 2000 |
| repetition_penalty | number | Penalty for repeating tokens. Higher values reduce repetition artifacts. | 1 ≤ n ≤ 2 · default: 1.1 |
| top_p | number | Nucleus sampling parameter. Controls diversity of token selection. | 0 ≤ n ≤ 1 · default: 0.9 |
| temperature | number | Sampling temperature. Lower values (0.2-0.5) produce more stable/consistent audio. Higher values add variation. | 0 ≤ n ≤ 2 · default: 0.4 |
| enable_safety_checker | boolean | Authorized callers may set false to request relaxed screening. | default: true |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"fal","endpointId":"fal-ai/maya","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}