I’m building a faceless YouTube video automation workflow in n8n and I’m stuck on the audio processing step.
Goal: Generate a video with audio narration using Andy No Code’s API in n8n.
Current setup:
I have a workflow that:
- Gets transcript data
- Saves audio to Google Storage
- Maps music
- Tries to create a video with the generated audio
Where I’m stuck:
When executing the node that calls the video generation API, I consistently get this error:
“Error: Failed to execute getAudioDurationInSeconds(), Received a MediaError loading [My Google Cloud Storage Link]. Consider using parseMedia() instead which supports more codecs”
What I’ve tried:
- Added “useParseMedia”: true in my JSON body:
{
"audioSettings": {
"audioUrl": "[My Google Cloud Storage Link]",
"useParseMedia": true
}
}
2. Created a Function node to ensure proper JSON formatting
3. Verified the audio file exists and loads properly
4. Included the .mp3 extension in the file URL
Has anyone successfully worked with Andy No Code's video generation API in n8n? Any suggestions on how to resolve this audio processing issue?
Thank you!