Large text to speech

GRATIS CON POSSIBILITÀ DI UPGRADE
Da k_1 | Aggiornamento לפני חודש | Artificial Intelligence/Machine Learning
Popolarità

9.6 / 10

Latenza

1,046ms

Livello di servizio

100%

Health Check

N/A

Torna a tutte le discussioni

GET audio url NOT working

Rapid account: Kenenisaalemayhu 0
kenenisaalemayhu0
לפני שנתיים
Rapid account: K 1
k_1 Commented לפני שנתיים

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 לפני שנתיים

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 לפני שנתיים

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 לפני שנתיים

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 לפני שנתיים

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

Partecipa alla discussione - aggiungi un commento di seguito:

Accedi/Iscriviti per pubblicare nuovi commenti