Ask a Question

Mixing not working in javascript SDK

// Create a mix with our speech asset and add the sound template "3am" const mix = await AS.Production.Mix.create({ speechId: tts.speechId, soundTemplate: "3am", }); Mixing not working in javascript SDK Example given here <https://www.npmjs.com/package/@aflr/audiostack> does not mixing audio Is there detail documentation of JS available?

where is video voice over functionality in API docs ?

i could not find it, could you please help me to find that.

How do I upload media for Sound Template using NodeJS or JavaScript?

Hi, I did find a method to upload Sound Template media for Python but didn't find any method for JavaScript or NodeJS.

Javascript Link Invalid

Your link to Javascript SDK doesn't work from this page. <https://docs.audiostack.ai/docs/sdks#javascript-sdk>

Python Error

Hi, I am getting errors when running your sample Python script. My API key is correct. Any idea? Thanks Phil > python3 audio.py > In Content you can create scripts and manage your production assets. > Traceback (most recent call last): > File "/Volumes/smallRed/Dropbox/Current_Projects/AI_Testing/Audio/audio.py", line 16, in <module> > script = audiostack.Content.Script.create( > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/audiostack/content/script.py", line 53, in create > r = Script.interface.send_request( > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/audiostack/helpers/request_interface.py", line 112, in send_request > return self.resolve_response( > ^^^^^^^^^^^^^^^^^^^^^^ > File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/audiostack/helpers/request_interface.py", line 63, in resolve_response > raise Exception(msg) > Exception: Failed to create script. Errors listed as follows: > Invalid char detected: ". Invalid chars are "\[]^%\`{>}~#|\<\&{}. Check this text: Welcome to AudioStack, the world's most powerful AI audio creation infrastructure.The unlimited possibilities of generative AI at your fingertips. In one single API."

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, Simon