GET

/v1/schemas/elevenlabs/audio/v1%2Fsound-generation

kind inputactivity audiohash 6795d0c0extracted Jul 6, 2026version currentsource upstream spec ↗

Request body

5 properties · 1 required · 0 $defs
propertytypedescriptionconstraints
text*stringThe text that will get converted into a sound effect.
loopbooleanWhether to create a sound effect that loops smoothly. Only available for the 'eleven_text_to_sound_v2 model'.default: false
duration_secondsnumberThe duration of the sound which will be generated in seconds. Must be at least 0.5 and at most 30. If set to None we will guess the optimal duration using the prompt. Defaults to None.nullable
prompt_influencenumberA higher prompt influence makes your generation follow the prompt more closely while also making generations less variable. Must be a value between 0 and 1. Defaults to 0.3.nullable
model_idstringThe model ID to use for the sound generation.default: "eleven_text_to_sound_v2"

Validate a payload

before you spend tokens
shell
$ curl -X POST https://modelschemas.com/v1/validate \
    -d '{"provider":"elevenlabs","endpointId":"v1/sound-generation","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}