{"text":"Hello! This is a test of the text to speech system, powered by ElevenLabs. How does it sound?","voice":"Aria","stability":0.5,"similarity_boost":0.75}
Request Code Samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request POST 'https://api.302.ai/302/submit/elevenlabs/tts-flash-v2.5' \
--header'Authorization: Bearer sk-mfYQzy0XTFfz4P16vRE4gFrKK1Nly4TozsMqbbb9PSiJUvFO' \
--header'Content-Type: application/json' \
--data-raw'{
"text": "Hello! This is a test of the text to speech system, powered by ElevenLabs. How does it sound?",
"voice": "Aria",
"stability": 0.5,
"similarity_boost": 0.75
}'