This topic was automatically generated from Slack. You can find the original thread here.
where can I store temporal audio files that I generate with elevenlabs?
This topic was automatically generated from Slack. You can find the original thread here.
where can I store temporal audio files that I generate with elevenlabs?
When working with temporary files in Pipedream, you should store them in the /tmp
directory. This directory is writable and suitable for storing temporary files like audio files generated with ElevenLabs. Remember to clean up the files once you’re done using them to avoid unnecessary storage usage.
what’s the public URL for accessing them?
Files stored in the /tmp
directory are not publicly accessible via a URL. If you need to serve the generated audio files publicly, you can consider uploading them to a cloud storage service like Amazon S3, Google Cloud Storage, or any other storage service that provides public URLs for the stored files. Once uploaded, you can share the public URL provided by the storage service.
any recomendations for storage?
I recommend using cloud storage services like Amazon S3, Google Cloud Storage, or Microsoft Azure Blob Storage for storing and serving your temporary audio files. These services provide public URLs for the stored files and offer various features for managing access and security. You can integrate these services within your Pipedream workflows to upload and manage your audio files.
I used S3 and got this error:
no such file or directory, open ‘/tmp/DrkqvpBwtFqjo7RZOIRr.mp3’
how many time do you store tmp files?
I’m sorry for the confusion. The /tmp
directory is meant for temporary storage, and its contents are automatically cleared after each workflow run. The error you’re encountering indicates that the file you’re trying to access is not present in the /tmp
directory at the time of execution. Please ensure that the file is being generated and saved correctly to the /tmp
directory before attempting to upload it to S3. If you continue to face issues, please provide more information about your workflow, and I’ll be happy to help.