GET
/v1/schemas/elevenlabs/audio/v1/speech-to-speech/{voice_id}
Accept:
| field | recorded source |
|---|---|
| schema | Source linked above.Source trace56793d52b38081086c43910ec1916ff4bb286322250511820c239e4f46831396{
"fetchedAt": 1783328734,
"extractorVersion": "1",
"verifiedAt": null
} |
Request body
6 properties · 1 required · 0 $defs| property | type | description | constraints |
|---|---|---|---|
| audio* | string | The audio file which holds the content and emotion that will control the generated speech. | format: binary |
| model_id | string | Identifier of the model that will be used, you can query them using GET /v1/models. The model needs to have support for speech to speech, you can check this using the can_do_voice_conversion property. | default: "eleven_english_sts_v2" |
| voice_settings | string | Voice settings overriding stored settings for the given voice. They are applied only on the given request. Needs to be send as a JSON encoded string. | nullable |
| seed | integer | If specified, our system will make a best effort to sample deterministically, such that repeated requests with the same seed and parameters should return the same result. Determinism is not guaranteed. Must be integer between 0 and 4294967295. | nullable |
| remove_background_noise | boolean | If set, will remove the background noise from your audio input using our audio isolation model. Only applies to Voice Changer. | default: false |
| file_format | enum | The format of input audio. Options are 'pcm_s16le_16' or 'other' For `pcm_s16le_16`, the input audio must be 16-bit PCM at a 16kHz sample rate, single channel (mono), and little-endian byte order. Latency will be lower than with passing an encoded waveform. | pcm_s16le_16 | other · nullable |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"elevenlabs","endpointId":"v1/speech-to-speech/{voice_id}","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}