Storing ephemeral files for images, audio files, and more.
Output
, which allows you to save files or directories and generate public URLs to access them.
Output
, you can write any filetype to Beam’s /tmp
directory.
Here’s what your code might look like:
Output
includes a wrapper around PIL to simplify the process of generating a public URL for the PIL image file:
Output
to generate a public URL to access the content.
expires
parameter to output.public_url
to control how long to persist the file before it is deleted.