Ask a Question
Back to All

Getting a 504 Gateway Timeout on very large scripts

Hey Aflorithmic team,

I'm encountering a 504 error on the speech/tts endpoint when attempting to create a speech object for a very large script (~15,000 characters). I am using the Audiostack API to generate long-form audio files.

In version 1 of the API, there was a polling mechanism. Does that mechanism still function?

Best regards,