Closed Eichhof closed 2 months ago
@Eichhof -- absolutely, you can use RequestOptions to do this which is the final parameter on every endpoint.
client.text_to_speech.convert(..., request_options = {
timeout_in_seconds=60,
})
Feel free to reopen the issue if that doesn't solve your problem!
Hello
I'm using the latest python library of ElevenLabs and I'm synthesizing speech as provided below. Is there a possibility to set a timeout (e.g. 5 seconds) after which the call aborts and throws an exception? In addition, what exceptions are thrown and should be caught?