GET
/v1/schemas/fal/audio/fal-ai%2Findex-tts-2%2Ftext-to-speech
Accept:
Request body
7 properties · 2 required · 1 $defs| property | type | description | constraints |
|---|---|---|---|
| audio_url* | string | The audio file to generate the speech from. | |
| prompt* | string | The speech prompt to generate | |
| should_use_prompt_for_emotion | boolean | Whether to use the `prompt` to calculate emotional strengths, if enabled it will overwrite the `emotional_strengths` values. If `emotion_prompt` is provided, it will be used to instead of `prompt` to extract the emotional style. | nullable |
| emotion_prompt | string | The emotional prompt to influence the emotional style. Must be used together with should_use_prompt_for_emotion. | nullable |
| strength | number | The strength of the emotional style transfer. Higher values result in stronger emotional influence. | 0 ≤ n ≤ 1 · default: 1 |
| emotional_audio_url | string | The emotional reference audio file to extract the style from. | nullable |
| emotional_strengths | EmotionalStrengths | The strengths of individual emotions for fine-grained control. | nullable |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"fal","endpointId":"fal-ai/index-tts-2/text-to-speech","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}