Large text to speech

FREEMIUM
Por k_1 | Atualizado vor einem Monat | Artificial Intelligence/Machine Learning
Popularidade

9.6 / 10

Latência

1,046ms

Nível de serviço

100%

Health Check

N/A

Voltar para todas as discussões

GET audio url NOT working

Rapid account: K 1
k_1 Commented 2 anni fa

I am glad it is working as expected, let me know if you have any questions or feedback on the API. 😃

Thank you!

Rapid account: Kenenisaalemayhu 0
kenenisaalemayhu0 Commented 2 anni fa

So https://gist.github.com/kenenisa/aa8b765f223d19261715bc921e22b7db this is what i used and it’s working perfectly now. Sorry for the inconvenience i created, i think i messed up the request id. Thank You for the help.

Rapid account: K 1
k_1 Commented 2 anni fa

Can you share the snippet of code you are using and the response “id”, which after GET request creates expired link ?
I am unable to reproduce it, for example, with this minimal code:
https://gist.github.com/kristian-io/551689b1277561354e3e35117a6bea56

Rapid account: Kenenisaalemayhu 0
kenenisaalemayhu0 Commented 2 anni fa

Yes i’ve read on the documentation that the url is only valid for 24hrs, but my issue is that the url expires right away after i get it.

Rapid account: K 1
k_1 Commented 2 anni fa

Hello,

thanks for asking!

Please note the full server message:

<Error>
<Code>AccessDenied</Code>
<Message>Request has expired</Message>
<X-Amz-Expires>86400</X-Amz-Expires>
<Expires>2022-02-10T05:56:12Z</Expires>
<ServerTime>2022-08-22T10:10:08Z</ServerTime>
<RequestId>S3RH9FKVFWD7B4EJ</RequestId>
<HostId>K+J7YtUqh8anL4oR4KFa8R3A/xXh+10D4FQs1nx3Adbklta5DswvlvS8b/5pJ8gyBNVlciNUzUg=</HostId>
</Error>

As mentioned in the About section (https://rapidapi.com/k_1/api/large-text-to-speech/details)

If the job is successful it returns URL of the audio file for download. This URL is valid for 24 hours.

So the recommendation is once you submit the request and receive the audio URL, download it and store it on your end.

Let me know if this helps or if you have any questions.

Kristian

Junte-se à discussão - adicione o comentário abaixo:

Efetue login / inscreva-se para postar novos comentários