GET
/v1/schemas/fal/audio/fal-ai/minimax/preview/speech-2.5-hd
Accept:
| field | recorded source |
|---|---|
| schema | Source linked above. upstream-spec Source trace6d990c14bb32942b67a42af43e429bf66daf65883880572ac691429392a2d389{
"fetchedAt": 1792213207,
"extractorVersion": "1",
"verifiedAt": null
} |
Request body
7 properties · 1 required · 3 $defs| property | type | description | constraints |
|---|---|---|---|
| text* | string | Text to convert to speech (max 5000 characters, minimum 1 non-whitespace character) | length ≥ 1 · length ≤ 5000 |
| voice_setting | VoiceSetting | Voice configuration settings | |
| audio_setting | AudioSetting | Audio configuration settings | |
| language_boost | enum | Enhance recognition of specified languages and dialects | Persian | Filipino | Tamil | Chinese | Chinese,Yue | English · +35 more · nullable |
| pronunciation_dict | PronunciationDict | Custom pronunciation dictionary for text replacement | nullable |
| enable_safety_checker | boolean | Authorized callers may set false to request relaxed screening. | default: true |
| output_format | enum | Format of the output content (non-streaming only) | url | hex · default: "hex" |
Types
3 $defsAudioSettingobject
| bitrate | enum | Bitrate of generated audio | 32000 | 64000 | 128000 | 256000 · default: 128000 |
| format | enum | Audio format | mp3 | pcm | flac · default: "mp3" |
| channel | enum | Number of audio channels (1=mono, 2=stereo) | 1 | 2 · default: 1 |
| sample_rate | enum | Sample rate of generated audio | 8000 | 16000 | 22050 | 24000 | 32000 | 44100 · default: 32000 |
PronunciationDictobject
| tone_list | string[] | List of pronunciation replacements in format ['text/(pronunciation)', ...]. For Chinese, tones are 1-5. Example: ['燕少飞/(yan4)(shao3)(fei1)'] |
VoiceSettingobject
| pitch | integer | Voice pitch (-12 to 12) | -12 ≤ n ≤ 12 · default: 0 |
| vol | number | Volume (0-10) | 0.01 ≤ n ≤ 10 · default: 1 |
| english_normalization | boolean | Enables English text normalization to improve number reading performance, with a slight increase in latency | default: false |
| speed | number | Speech speed (0.5-2.0) | 0.5 ≤ n ≤ 2 · default: 1 |
| emotion | enum | Emotion of the generated speech | happy | sad | angry | fearful | disgusted | surprised · +1 more · nullable |
| voice_id | string | Predefined voice ID to use for synthesis | length ≥ 1 · default: "Wise_Woman" |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"fal","endpointId":"fal-ai/minimax/preview/speech-2.5-hd","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}