GET

/v1/schemas/fal/audio/fal-ai%2Findex-tts-2%2Ftext-to-speech

kind inputactivity audiohash 15fbce5eextracted Jul 6, 2026version currentsource upstream spec ↗

Request body

7 properties · 2 required · 1 $defs
propertytypedescriptionconstraints
audio_url*stringThe audio file to generate the speech from.
prompt*stringThe speech prompt to generate
should_use_prompt_for_emotionbooleanWhether 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_promptstringThe emotional prompt to influence the emotional style. Must be used together with should_use_prompt_for_emotion.nullable
strengthnumberThe strength of the emotional style transfer. Higher values result in stronger emotional influence.0 ≤ n ≤ 1 · default: 1
emotional_audio_urlstringThe emotional reference audio file to extract the style from.nullable
emotional_strengthsEmotionalStrengthsThe strengths of individual emotions for fine-grained control. nullable

Validate a payload

before you spend tokens
shell
$ 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", …}]}